MCP Dart Client
leehack/mcp_dart
A skill your agent uses when connecting a Dart or Flutter app to a Model Context Protocol (MCP) server with mcpdart: creating an McpClient, launching a local server over stdio or reaching a remote…
Instructions for adding new features (tools, prompts, etc.) to the dartmcpserver package.
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dart-lang/ai add-dart-mcp-server-feature --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .claude/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .claude/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-featureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dart-lang/ai add-dart-mcp-server-feature --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .agents/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .agents/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dart-lang/ai add-dart-mcp-server-feature --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .cursor/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .cursor/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dart-lang/ai.git --path .agents/skills/add-dart-mcp-server-feature--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dart-lang/ai add-dart-mcp-server-feature --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .gemini/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .gemini/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dart-lang/ai add-dart-mcp-server-featureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .github/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .github/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dart-lang/ai add-dart-mcp-server-feature --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-dart-mcp-server-feature .opencode/skills/add-dart-mcp-server-feature && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-dart-mcp-server-feature" agent skill from https://github.com/dart-lang/ai/tree/main/.agents/skills/add-dart-mcp-server-feature into .opencode/skills/add-dart-mcp-server-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-dart-mcp-server-feature", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-dart-mcp-server-featureInstructions for adding new features (tools, prompts, etc.) to the dartmcpserver package.
Add Dart MCP Server Feature is an agent skill from dart-lang/ai. Instructions for adding new features (tools, prompts, etc.) to the dartmcpserver package.
Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol and Dart. The repository describes itself as: A general repository for AI / GenAI packages and explorations. The licence is BSD-3-Clause.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 60a4b18. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Dart MCP Server Feature loads about 687 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 336 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dart-lang/ai at commit 60a4b18, republished under its BSD-3-Clause licence (© dart-lang). 336 words, ~687 tokens.
.claude/skills/add-dart-mcp-server-feature/SKILL.md (or your agent's skills folder).Follow these instructions when adding new tools, prompts, or other capabilities
to the dart_mcp_server.
All server features are implemented as mixins on the DartMCPServer at
pkgs/dart_mcp_server/lib/src/server.dart.
pkgs/dart_mcp_server/lib/src/mixins/
to see if your feature fits into an existing category (e.g., analyzer.dart,
pub.dart).initialize
method of the mixin, which is an override and must call super.initialize().ParameterNames extension in
pkgs/dart_mcp_server/lib/src/utils/names.dart and use that constant
instead of hardcoding string literals in your tool parsing and schema.command parameter must declare its values with an enum (for
example EnumSchema.untitledSingleSelect), because only those values are
included in the logged tool name. Similarly, new prompts must be added to the
PromptNames enum, because only those prompt names are logged. Create
analytics events with createDartMCPEvent from
pkgs/dart_mcp_server/lib/src/utils/analytics.dart, which sanitizes the
client info.Always add tests for any new features.
TestHarness class located in
pkgs/dart_mcp_server/test/test_harness.dart.pkgs/dart_mcp_server/test/tools/ for examples of
how to test specific tools.TestHarness lacks functionality needed
for your test, feel free to add it.pkgs/dart_mcp_server/tool/update_readme.dart script to update the
README.md file with any new features, it must be ran from the
pkgs/dart_mcp_server directory.README.md file as needed.CHANGELOG.md file to include any user facing updates.SKILL.md file if that would be helpful for future features.© dart-lang, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/add-dart-mcp-server-feature of dart-lang/ai.
Open the folder on GitHubat commit 60a4b18
Add Dart MCP Server Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Dart MCP Server Feature this skilldart-lang/ai | 286 | — | ~687 | Automated safety check: Pass | BSD-3-Clause | |
| MCP Dart Clientleehack/mcp_dart | 116 | — | ~1.8k | Automated safety check: Pass | MIT | |
| MCP Dart Serverleehack/mcp_dart | 116 | — | ~4.1k | Automated safety check: Pass | MIT | |
| MCP Developerleehack/mcp_dart | 116 | — | ~770 | Automated safety check: Pass | MIT | |
| MCP Debuggerdebugmcp/mcp-debugger | 174 | — | ~4.2k | Automated safety check: Pass | MIT | |
| MCP Dart Streamable HTTPleehack/mcp_dart | 116 | — | ~2k | Automated safety check: Pass | MIT |
leehack/mcp_dart
A skill your agent uses when connecting a Dart or Flutter app to a Model Context Protocol (MCP) server with mcpdart: creating an McpClient, launching a local server over stdio or reaching a remote…
leehack/mcp_dart
A skill your agent uses when building or extending a Model Context Protocol (MCP) server in Dart with mcpdart: structuring the project, creating an McpServer, adding tools, resources, resource…
leehack/mcp_dart
A skill your agent uses when building, testing, debugging, or reviewing Model Context Protocol servers, clients, transports, tools, resources, prompts, and agent host configuration.
debugmcp/mcp-debugger
A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…
leehack/mcp_dart
A skill your agent uses when serving an MCP server over HTTP with mcpdart or connecting to a remote one: StreamableMcpServer setup, Host and Origin allowlists (DNS rebinding protection), CORS for…
Arenukvern/mcp_flutter
A skill your agent uses when writing or running repeatable E2E scenarios for Flutter apps as checked-in Dart with the fluttermcpharness package (packages/harness) — build/launch the app, attach to…
dart-lang/ai
Find and close obsolete, stale, or not reproducible issues in the dart-lang/ai repository.
dart-lang/ai
Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package.
Works with
Categories
Instructions for adding new features (tools, prompts, etc.) to the dartmcpserver package. Add Dart MCP Server Feature is an agent skill from dart-lang/ai.) to the dartmcpserver package.
Add Dart MCP Server Feature fits situations like: tasks that involve MCP servers.
Run `npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a claude-code`. Or copy the skill folder (.agents/skills/add-dart-mcp-server-feature in dart-lang/ai) into .claude/skills/add-dart-mcp-server-feature in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a codex`. Or copy the skill folder (.agents/skills/add-dart-mcp-server-feature in dart-lang/ai) into .agents/skills/add-dart-mcp-server-feature in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dart-lang/ai --skill add-dart-mcp-server-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-dart-mcp-server-feature, .gemini/skills/add-dart-mcp-server-feature, .github/skills/add-dart-mcp-server-feature and .opencode/skills/add-dart-mcp-server-feature in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Dart MCP Server Feature is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Dart MCP Server Feature is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 687 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Dart MCP Server Feature: MCP Dart Client (leehack/mcp_dart, 116 stars), MCP Dart Server (leehack/mcp_dart, 116 stars), MCP Developer (leehack/mcp_dart, 116 stars) and MCP Debugger (debugmcp/mcp-debugger, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dart-lang (a GitHub organization) maintains it in dart-lang/ai, which has 286 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: dart-lang/ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.