Update MCP Spec Version

Installation
SKILL.md

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.
      enum ProtocolVersion {
        // ...
      
Related skills
Installs
Repository
dart-lang/ai
GitHub Stars
257
First Seen