MCP 2026-07-28
A²D speaks MCP 2026-07-28, the newest version of the Model Context Protocol, on every mock MCP server, on the Platform MCP and in the Protocol Tester. The older versions (2025-11-25 and earlier) keep working exactly as before. One endpoint serves both, so you don’t need a second URL.
New MCP servers default to 2026-07-28. Change it any time with Protocol Version on the server’s Overview tab. Clients that only know an older version still connect through initialize.
What changes in 2026-07-28
| Area | Up to 2025-11-25 | 2026-07-28 |
|---|---|---|
| Connection | initialize handshake and an Mcp-Session-Id | Stateless: no handshake. The client calls server/discover and sends the version on every request |
| Version on requests | Once, at initialize | _meta["io.modelcontextprotocol/protocolVersion"] plus the MCP-Protocol-Version header |
| Routing headers | None | Mcp-Method and Mcp-Name (for example tools/call and the tool name) |
| Asking the user | Server-to-client elicitation/create over a stream | In-request input: the server answers input_required, and the client retries with inputResponses |
| Long-running work | Synchronous only | Tasks extension: the call returns a task, and the client polls tasks/get |
| Skills | None | Skills extension: skills/list, skills/get, and skill:// resources |
A request counts as 2026-07-28 when it carries the version in _meta or in the MCP-Protocol-Version header, or when it uses a method that only exists in 2026-07-28. initialize always takes the older path.
Discover a server
curl -s https://www.a2d-ai.com/api/platform/SERVER_ID/mcp \
-H 'Content-Type: application/json' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: server/discover' \
-d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}'The result lists the supported versions, the server’s capabilities and extensions, serverInfo and optional instructions. List responses include ttlMs and a cache scope, so clients know how long to reuse them.
Errors are plain JSON-RPC errors with an HTTP status:
| Code | HTTP | Meaning |
|---|---|---|
-32020 | 400 | The header and the _meta version (or Mcp-Method/Mcp-Name) disagree |
-32021 | 400 | The request needs a client capability the client did not declare |
-32022 | 400 | Unsupported protocol version. data.supported lists the accepted versions |
-32601 | 404 | Unknown method |
Run a tool as a task
Some mock tools should behave like slow back ends. Open the tool on the MCP Spec tab and switch on Run as task:
- Simulated duration (ms): how long the task stays
working(at most 10 minutes). - Suggested poll interval (ms): sent to the client as
pollIntervalMs.
A 2026-07-28 client that declares the io.modelcontextprotocol/tasks extension gets this back:
{ "resultType": "task", "taskId": "…", "status": "working", "pollIntervalMs": 1000 }It then polls tasks/get until the status is completed, at which point the task carries the tool result. tasks/cancel stops the task. Clients that don’t declare the extension, and all older clients, get the result straight away.
Mock-server tasks are stateless: the task id is signed and holds everything needed to answer tasks/get, so no database row is created. Test Lab polls tasks automatically and asserts on the final result.
Ask the user mid-call
A mock tool scenario can ask the caller a question before it answers. On the MCP Mocking Service tab, open the scenario, switch on Ask the user first, and set a message and form fields (string, number, integer or boolean, with optional options). When a 2026-07-28 client that supports form elicitation calls the tool, the server answers like this:
{
"resultType": "input_required",
"inputRequests": {
"confirm": {
"method": "elicitation/create",
"params": { "mode": "form", "message": "Proceed?", "requestedSchema": { "type": "object", "properties": { "ok": { "type": "boolean" } } } }
}
},
"requestState": "…"
}The client shows the form and calls the same tool again with inputResponses and the unchanged requestState. The answers are added to the tool arguments, so later scenarios can match on them. If the user declines, the tool returns the decline message as an error result. Older clients get the scenario response straight away. That state is signed and expires after 10 minutes. It is tied to the caller, tool and arguments, so it can’t be replayed for another call.
Serve skills
The Skills sub-tab on the MCP Spec tab holds Agent Skills that the server publishes:
- Name: lowercase letters, digits and single hyphens (for example
code-review). - Description: tells the agent when to use the skill.
- SKILL.md body: Markdown. A²D generates the frontmatter from the name and description.
- Supporting files: optional files such as
references/checklist.md.
Each skill is served as skill://<name>/SKILL.md. Clients find skills with skills/list and read them with resources/read. Only 2026-07-28 clients that declare the io.modelcontextprotocol/skills extension see skills.
Export, import and copies
Export/import, Duplicate, Copy from Library, and a server’s Download followed by Upload spec file keep a server’s protocol version, each tool’s task settings, scenario elicitation steps and skills. The same is true of the Platform MCP tools import_mcp_server, duplicate_mcp_server and copy_from_library. get_mcp_server returns the server’s skills, and get_mcp_server_spec lists them (name, description, skill:// URI) for 2026-07-28 servers. See Import / Export.
Platform MCP
The Platform MCP (/api/platform-mcp/mcp) uses the same 2026-07-28 features:
- Delete confirmation: every
delete_*tool asks “Delete … ? This cannot be undone.” through in-request input when the client supports form elicitation. Declining cancels the delete. - Durable tasks:
run_suite,run_test, theai_generate_full_*tools, and the bulk publish and IDMC publish tools run as tasks for clients that declare the tasks extension. Tasks are stored for 24 hours and can only be read by the API key that started them. - Built-in skills:
design-mock-mcp-server,run-a2d-testsandpublish-a2d-assetsteach an agent how to use A²D. The Platform MCP also serves every skill from Organization Settings → AI Configuration → Skills, such asskill://a2d-platform-mcp-overview/SKILL.md. Thea2d-mcp-2026-07-28skill in that bundle teaches outside agents how to set up tasks, elicitation and skills through the Platform MCP.
Test with the Protocol Tester
The Protocol Tester has an MCP version selector:
- Auto tries 2026-07-28 first and falls back to
initializewhen the server only speaks an older version. - A specific version forces that version.
After discovery, a badge shows which version answered. The tester shows skills, input forms for input_required results and a live task panel with Poll and Cancel.
Next Steps
One endpoint, both eras: A²D mocks serve MCP 2026-07-28 to new clients and the classic handshake to everyone else.