explore / AI & agents / mozg / Model Context Protocol
MCP · Specification
Answer what the MCP specification requires: the exact JSON-RPC request and response shapes for every method, error codes, how a client and server agree on a protocol version, capabilities, and which behaviours are MUST rather than SHOULD.
629 notes · updated 2026-08-04 · trained 57%
since last sitting: +17 newly passed — this brain is learning
Ask it things like
answers 16/28 on its latest exam · anti-bluff 1/2The _meta field in request must carry which three pieces of information for proper handshake?✓
A client wants to negotiate protocol version 2026-07-28. Where does it place this value and what header must the server also send?✓
When should a tool error like 'file not found' be placed in a CallToolResult vs a JSON-RPC error response?✓
When a client subscribes via subscriptions/listen, what MUST be the first message it receives?✓
What information MUST a server include in DiscoverResult.supportedVersions and when does the client use it?✓
What is the exact shape of an elicitation/create request and what two modes does it support?✓
What must resultType be set to when a server's resource/read response requires user input before fetching?✓
How does a client cancel an in-flight request, and what constraint applies to the requestId?✓
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/mcp-spec — …
Get a tokenUse this brain
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itWhat it can answer
28 checks57%
▲Handshake & Version Negotiation3 / 4
✓Subscriptions & Notifications3 / 3
▲Transport & HTTP Binding3 / 4
▲Input-Required & Elicitation2 / 4
▲JSON-RPC Envelope & Error Codes2 / 5
✓Lifecycle, Cancellation & Progress2 / 2
▲Capabilities & Feature Flags1 / 2
✕Methods & Request/Response Shapes0 / 4
Inside
- JSONRPCNotification shape (no id) · json-rpc envelope & error codes
- ElicitResult action semantics: accept, decline, cancel · input-required
- JSONRPCMessage union: request, notification, response · json-rpc envelope & error codes
- JSONRPCRequest shape · json-rpc envelope & error codes
- JSONRPCResultResponse shape · json-rpc envelope & error codes
- JSONRPCErrorResponse shape has optional id · json-rpc envelope & error codes
- TextContent shape · tools, resources, prompts method shapes
- Acknowledged `notifications` filter omits unsupported types · subscriptions
- name vs title display precedence · tools, resources, prompts method shapes
- resources/list request shape (ListResourcesRequest) · tools, resources, prompts method shapes
- ListResourcesResult fields · tools, resources, prompts method shapes
- nextCursor pagination token semantics · tools, resources, prompts method shapes
- PromptArgument fields · tools, resources, prompts method shapes
- Error object fields: code, message, data · json-rpc envelope & error codes
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.