Agent skill

Update MCP Spec Version

by dart-lang in dart-lang/ai

Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package.

BSD-3-ClauseAuto-check passedAgent Workflows

Install Update MCP Spec Version

skills CLI
$ npx skills add dart-lang/ai --skill update-mcp-spec-version -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dart-lang/ai update-mcp-spec-version --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dart-lang/ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-mcp-spec-version .claude/skills/update-mcp-spec-version && rm -rf skills-src

Use ~/.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/

Facts

Skill name
update-mcp-spec-version
GitHub stars
286
Token cost
~1.1k tokens
SKILL.md length
565 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package.

  • Works in 10 steps: Review the New Specification → Update the Protocol Version → Update Documentation URLs → …
  • Tasks that involve MCP servers
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Update MCP Spec Version is an agent skill from dart-lang/ai. Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package.

Its SKILL.md is about 1.1k 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. The repository describes itself as: A general repository for AI / GenAI packages and explorations. The licence is BSD-3-Clause.

When your agent uses it

  • Tasks that involve MCP servers

Example prompts

  • “Use the update-mcp-spec-version skill to instruction for updating the supported Model Context Protocol (MCP) specification version in the dartmcp…”
  • “/update-mcp-spec-version”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Review the New Specification
  2. Update the Protocol Version
  3. Update Documentation URLs
  4. Implement Schema Changes
  5. Update Client/Server Implementations
  6. Update Examples
  7. Write and Update Tests
  8. Verify
  9. Update Version and CHANGELOG.md
  10. Update This Skill

What it can do on your machine

Read from SKILL.md and the folder at commit 60a4b18. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    Links to these hosts (documentation or services it may open):

    • modelcontextprotocol.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Update MCP Spec Version loads about 1.1k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 565 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from dart-lang/ai at commit 60a4b18, republished under its BSD-3-Clause licence (© dart-lang). 565 words, ~1,118 tokens.

Download SKILL.mdSave it as .claude/skills/update-mcp-spec-version/SKILL.md (or your agent's skills folder).
name
update-mcp-spec-version
description
Instructions for updating the supported Model Context Protocol (MCP) specification version in the `dart_mcp` package.
internal
true

Update MCP Spec Version

This skill guides you through the process of updating the dart_mcp package to support a new version of the Model Context Protocol (MCP) specification.

Steps

  1. Review the New Specification:

    • Read Model Context Protocol LLM Resources to find relevant documentation links for the new version.
    • Use your tools fetch the content of the linked changelogs, schemas, and specification documents.
    • Identify all changes introduced in the new version (new types, fields, deprecated items, new features, etc).
    • CRITICAL: Do NOT invent APIs or assume changes based on partial information. Every change MUST be backed by the actual schema or specification text. If you cannot find the schema, pause and ask the user for guidance.
    • Pay special attention to the schema changes as these are the source of truth.
  2. Update the Protocol Version:

    • Open pkgs/dart_mcp/lib/src/api/api.dart.
    • Add the new version to the ProtocolVersion enum.
      dart
      enum ProtocolVersion {
        // ...
        vYYYY_MM_DD('YYYY-MM-DD'),
      }
    • Update ProtocolVersion.latestSupported to the new version.
      dart
      static const latestSupported = ProtocolVersion.vYYYY_MM_DD;
  3. Update Documentation URLs:

    • Search the codebase for the previous spec version string (e.g., 2024-11-05) or the regex specification/\d{4}-\d{2}-\d{2}.
    • Update URLs in comments to point to the new spec version.
    • Key files to check:
      • pkgs/dart_mcp/lib/src/client/sampling_support.dart
      • pkgs/dart_mcp/lib/src/server/server.dart
      • pkgs/dart_mcp/README.md
  4. Implement Schema Changes:

    • Review the schema for new types or fields by comparing the various part files included by lib/src/api/api.dart against the schema. If you cannot find the schema, pause and ask the user for guidance. All changes must be backed by the real schema.
    • Update lib/src/api/api.dart as needed, for new features typically you should add a new part file to keep the codebase organized.
    • Whenever referencing map keys, use constant values from lib/src/utils/names.dart, adding any new constants that you need. Do not use string literals for map keys.
    • Important: When implementing numeric fields from the schema, use num (or num? for optional fields) instead of int or double, unless the schema explicitly constraints the value to be an integer. The JSON schema number type can be either an integer or floating-point value.
  5. Update Client/Server Implementations:

    • See the support files under pkgs/dart_mcp/lib/src/client/ and pkgs/dart_mcp_server/lib/src/server/ for examples of how to implement features.
    • Ensure that you update the capabilities inside of initialize when implementing new features.
  6. Update Examples:

    • See the existing examples under pkgs/dart_mcp/example/, and either update the existing ones or add new ones as appropriate.
  7. Write and Update Tests:

    • Write tests for the new features. See the existing tests as an example and follow the same style.
    • Update any existing tests as needed, make sure to have good coverage of all features.
    • If you notice missing tests for existing features, feel free to add those as well.
  8. Verify:

    • Run tests in pkgs/dart_mcp and pkgs/dart_mcp_server to ensure no regressions.
    • Run the updated examples and ensure they work as expected.
    • Run the dart formatter and analyzer, to ensure the code is well-formatted and free of lint errors.
    • Walk the user through all the changes you made and describe your reasoning.
  9. Update Version and CHANGELOG.md:

    • Open pkgs/dart_mcp/pubspec.yaml and update the version according to whether this was a breaking change
    • Open pkgs/dart_mcp/CHANGELOG.md and add a version entry for the new version if one doesn't already exist, mentioning the update to the new MCP spec version and any relevant changes. For breaking changes preface them with Breaking:.
  10. Update This Skill:

    • Update this skill with any additional steps you performed or insights you gained during the update process.

© 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

Files

Just SKILL.md in .agents/skills/update-mcp-spec-version of dart-lang/ai.

Open the folder on GitHubat commit 60a4b18

Compare with similar skills

Update MCP Spec Version 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.

Update MCP Spec Version compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update MCP Spec Version this skilldart-lang/ai286—~1.1kAutomated safety check: PassBSD-3-Clause
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from dart-lang/ai

  • Find and close obsolete, stale, or not reproducible issues in the dart-lang/ai repository.

    286 GitHub stars~794 tokensUpdated 2 days ago
    Auto-check passed
  • Instructions for adding new features (tools, prompts, etc.) to the dartmcpserver package.

    286 GitHub stars~687 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Update MCP Spec Version

What does Update MCP Spec Version do?

Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package. Update MCP Spec Version is an agent skill from dart-lang/ai. Instructions for updating the supported Model Context Protocol (MCP) specification version in the dartmcp package.

When should I use Update MCP Spec Version?

Update MCP Spec Version fits situations like: tasks that involve MCP servers.

How do I install Update MCP Spec Version in Claude Code?

Run `npx skills add dart-lang/ai --skill update-mcp-spec-version -a claude-code`. Or copy the skill folder (.agents/skills/update-mcp-spec-version in dart-lang/ai) into .claude/skills/update-mcp-spec-version in your project. Claude Code loads it when a task matches its description.

How do I install Update MCP Spec Version in Codex?

Run `npx skills add dart-lang/ai --skill update-mcp-spec-version -a codex`. Or copy the skill folder (.agents/skills/update-mcp-spec-version in dart-lang/ai) into .agents/skills/update-mcp-spec-version in your project. Codex loads it when a task matches its description.

Can I use Update MCP Spec Version in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dart-lang/ai --skill update-mcp-spec-version -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-mcp-spec-version, .gemini/skills/update-mcp-spec-version, .github/skills/update-mcp-spec-version and .opencode/skills/update-mcp-spec-version in your project.

What does Update MCP Spec Version need to run?

SKILL.md names no scripts, command-line tools or credentials: Update MCP Spec Version is instructions for the agent only.

Does Update MCP Spec Version access the network?

SKILL.md names 1 domain. As links in the text: modelcontextprotocol.io. This is read from the text; nothing was executed.

Is Update MCP Spec Version safe to install?

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.

What licence does Update MCP Spec Version use?

Update MCP Spec Version 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.

How many tokens does Update MCP Spec Version use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update MCP Spec Version?

Skills that share tags, products or a category with Update MCP Spec Version: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update MCP Spec Version?

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.