agentleFS
hewimetallhewimetall/vmcp/.cursor/skills/mcp-2026-07-28/SKILL.md

mcp-2026-07-28

Skill13 starsChanged 3 months agoMITView on GitHub

MUST use MCP protocol 2026-07-28 when creating or migrating MCP servers, clients, or this vmcp gateway. Use when the user asks to build an MCP server, wrap an API for MCP, or upgrade vmcp/rmcp to the 2026-07-28 spec.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not scaffold initialize + notifications/initialized as the modern lifecycle.

    line 20
  2. Very specific:

    Every request _meta must carry protocol version + client capabilities.

    line 55
  3. Very specific:

    Every result includes resultType.

    line 56
  4. Very specific:

    Do not delete LocalSessionManager or Last-Event-ID resume until the legacy path is explicitly retired.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MCP 2026-07-28 (MUST)

This overlay overrides the vendored Anthropic plugin at third_party/mcp-server-dev/. That plugin is what https://modelcontextprotocol.io/docs/2026-07-28/develop/build-with-agent-skills points to, but its internals still describe 2025-11-25.

Protocol version string: 2026-07-28
Spec: https://modelcontextprotocol.io/specification/2026-07-28
Changelog vs 2025-11-25: https://modelcontextprotocol.io/specification/2026-07-28/changelog
Rust SDK in this repo: vendored rmcp 3.1.0 (third_party/rmcp) already knows ProtocolVersion::V_2026_07_28, but ProtocolVersion::LATEST is still 2025-11-25.

Do not scaffold initialize + notifications/initialized as the modern lifecycle. Do not tell agents to send server-initiated roots/list, sampling/createMessage, or elicitation/create on 2026-07-28 sessions.

MUST / MUST NOT (modern path)

Topic2025-11-25 (legacy)2026-07-28 MUST
Handshakeinitialize + initializedOptional server/discover; every RPC is self-contained
Versionparams.protocolVersion once_meta["io.modelcontextprotocol/protocolVersion"] on every request
Client identityclientInfo at initialize_meta["io.modelcontextprotocol/clientInfo"] + clientCapabilities per request
Server identityinitialize result_meta["io.modelcontextprotocol/serverInfo"] on results
How a session is openedinitialize mints Mcp-Session-IdPer-request _meta.clientInfo; push session = subscriptions/listen (subscriptionId = that request id). App state = explicit handles in tool args (SEP-2567). No transport cookie.
SSE resumeLast-Event-IDRemoved. Broken stream → new request id (SEP-2575)
GET /mcpstandalone SSEReplaced by subscriptions/listen POST
Subscriberesources/subscribesubscriptions/listen opt-in types + subscriptionId
Ping / setLevelping, logging/setLevelRemoved. Log level = _meta["io.modelcontextprotocol/logLevel"]
Server→client RPCserver sends requests on SSEMRTR: resultType: "input_required" + retry with inputResponses (SEP-2322)
Resultsno discriminatorresultType: "complete" required (legacy omit = complete)
HTTP POST headersoptionalMcp-Method + Mcp-Name required (SEP-2243)
List/read cachenonettlMs + cacheScope on list/read results (SEP-2549)
Taskscore SEP-1686 (tasks/result, tasks/list)Extension io.modelcontextprotocol/tasks; poll tasks/get; tasks/update; no tasks/list (SEP-2663)
Roots / sampling / loggingactiveDeprecated (SEP-2577). Do not add new uses
DCRcommonDeprecated. Prefer CIMD (SEP-991). Keep DCR only as fallback
Resource not found-32002-32602
Header mismatch-32001-32020

Creating a new MCP server (2026-07-28)

Still use the vendored plugin for product questions (remote HTTP vs MCPB, tool-design patterns, CIMD). Then apply this overlay before writing code:

  1. Transport: Streamable HTTP. No Mcp-Session-Id cookie. Open push with subscriptions/listen; thread app state as tool-arg handles.
  2. Implement server/discover (supportedVersions includes "2026-07-28").
  3. Every request _meta must carry protocol version + client capabilities.
  4. Every result includes resultType. List endpoints include ttlMs/cacheScope.
  5. Need user input mid-tool → MRTR InputRequiredResult, not elicitInput().
  6. Long work → tasks extension, poll tasks/get. Do not implement tasks/result.
  7. Auth: CIMD first; DCR only if the host cannot do CIMD.
  8. Language for this repo: Rust + rmcp, not the TS/Python scaffolds in the plugin.

Scaffolds live in:

  • third_party/mcp-server-dev/skills/build-mcp-server/references/remote-http-scaffold.md
  • third_party/mcp-server-dev/skills/build-mcp-server/references/auth.md (treat CIMD as required, DCR as fallback)

Migrating vmcp (this gateway)

vmcp is both an MCP server (/mcp, /mcp-proxy) and an MCP client (upstream pool). Dual-protocol is mandatory: keep 2025-11-25 for existing hosts (Cursor, tests) while serving 2026-07-28 for modern clients.

See docs/mcp-2026-07-28.md for the complexity assessment and work breakdown.

Do not delete LocalSessionManager or Last-Event-ID resume until the legacy path is explicitly retired. rmcp already dual-stacks when legacy_session_mode is true (default).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.