Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

409 pages for schema.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …e model identifies a candidate, it fetches the full definition (input schema, output schema, documentation) for that tool only. ```typescript theme={null} // The model inspects only the tool it needs… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …hanisms. ### Data Layer Protocol A core part of MCP is defining the schema and semantics between MCP clients and MCP servers. Developers will likely find the data layer — in particular, the set of [… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …lease confirm your Barcelona vacation booking details:", requestedSchema: { type: "object", properties: { confirmBooking: { type: "boolean", description: "C… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …ly access to information for context, such as file contents, database schemas, or API documentation. | Retrieve documents Access knowledge bases Read calendars | Application | | **Prompts** | Pre-buil… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …nerated messages ### Tools tab * Lists available tools * Shows tool schemas and descriptions * Enables tool testing with custom inputs * Displays tool execution results ### Notifications pane * Pr… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …tion Tool", description: "Add two numbers together", inputSchema: { a: z.number().describe("First number to add"), b: z.number().describe("Second number to add"), },… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …": tool.name, "description": tool.description, "input_schema": tool.input_schema } for tool in tool_list.tools] # Initial Claude API call response = anthropic.messages.cre… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …{ description: "Get weather alerts for a state", inputSchema: z.object({ state: z .string() .length(2) .describe("Two-letter state code (e.g. CA,… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …aterial (auth flows, tool-design patterns, widget templates, manifest schemas) that the agent reads on demand. The files follow the open format and work with any agent that implements the standard. Fo… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …e model identifies a candidate, it fetches the full definition (input schema, output schema, documentation) for that tool only. ```typescript theme={null} // The model inspects only the tool it needs… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …hanisms. ### Data Layer Protocol A core part of MCP is defining the schema and semantics between MCP clients and MCP servers. Developers will likely find the data layer — in particular, the set of [… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …ient to collect structured data from the user. The request includes a schema that the client uses to build an input form and validate the response. * **URL mode**: The server provides a URL for the us… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …ly access to information for context, such as file contents, database schemas, or API documentation. | Retrieve documents Access knowledge bases Read calendars | Application | | **Prompts** | Pre-buil… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …ities, instructions}`. | | `tools/list` | None | `--strict` turns its schema portability check into a gate (see [CI gates](#ci-gates)). | | `tools/call` | `--tool-name`, plus optional `--tool-arg` / `… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …turns out to be here. **2. Move to the web client for exploration** Schema-driven forms, rendered results, and the Protocol tab beside them make it fast to find the case where a tool misbehaves. **… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …e TUI connected to a server, on the Tools tab, showing a tool's input schema. ## Choosing servers Unlike the CLI, the TUI has no `--server <name>` flag for picking one entry: it reads its servers fr… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …UI in a sandboxed frame. | | **Tools** | `tools` capability | Browse schemas, fill arguments, call, inspect results. | | **Prompts** | `prompts` capability | List prompts, supply arguments, preview g… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …tion Tool", description: "Add two numbers together", inputSchema: { a: z.number().describe("First number to add"), b: z.number().describe("Second number to add"), },… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …": tool.name, "description": tool.description, "input_schema": tool.input_schema } for tool in tool_list.tools] # Initial Claude API call response = anthropic.messages.cre… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …{ description: "Get weather alerts for a state", inputSchema: z.object({ state: z .string() .length(2) .describe("Two-letter state code (e.g. CA,… Build with Agent Skills Model Context Protocol · in the page docs/draft/develop/build-with-agent-skills …aterial (auth flows, tool-design patterns, widget templates, manifest schemas) that the agent reads on demand. The files follow the open format and work with any agent that implements the standard. Fo… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …e model identifies a candidate, it fetches the full definition (input schema, output schema, documentation) for that tool only. ```typescript theme={null} // The model inspects only the tool it needs… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …hanisms. ### Data Layer Protocol A core part of MCP is defining the schema and semantics between MCP clients and MCP servers. Developers will likely find the data layer — in particular, the set of [… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …ient to collect structured data from the user. The request includes a schema that the client uses to build an input form and validate the response. * **URL mode**: The server provides a URL for the us… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …ly access to information for context, such as file contents, database schemas, or API documentation. | Retrieve documents Access knowledge bases Read calendars | Application | | **Prompts** | Pre-buil… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …ities, instructions}`. | | `tools/list` | None | `--strict` turns its schema portability check into a gate (see [CI gates](#ci-gates)). | | `tools/call` | `--tool-name`, plus optional `--tool-arg` / `… Recipes Model Context Protocol · in the page docs/draft/tools/inspector/recipes …turns out to be here. **2. Move to the web client for exploration** Schema-driven forms, rendered results, and the Protocol tab beside them make it fast to find the case where a tool misbehaves. **… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …e TUI connected to a server, on the Tools tab, showing a tool's input schema. ## Choosing servers Unlike the CLI, the TUI has no `--server <name>` flag for picking one entry: it reads its servers fr… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …UI in a sandboxed frame. | | **Tools** | `tools` capability | Browse schemas, fill arguments, call, inspect results. | | **Prompts** | `prompts` capability | List prompts, supply arguments, preview g… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …tion Tool", description: "Add two numbers together", inputSchema: { a: z.number().describe("First number to add"), b: z.number().describe("Second number to add"), },… Build an MCP App Model Context Protocol · in the page extensions/apps/build …Time", description: "Returns the current server time.", inputSchema: {}, _meta: { ui: { resourceUri } }, }, async () => { const time = new Date().toISOString(); return {… Extensions Overview Model Context Protocol · in the page extensions/overview …0, "cacheScope": "public" } } ``` Each extension specifies the schema of its settings object; an empty object indicates no settings. ### Graceful Degradation If one side supports an extension… The MCP Registry Model Context Protocol · in the page registry/about …xtprotocol/registry/blob/main/docs/reference/server-json/draft/server.schema.json), which contains: * The server's unique name (e.g., `io.github.user/server-name`) * Where to locate the server (e.g.,… MCP Registry Supported Package Types Model Context Protocol · in the page registry/package-types …`. For example: ```json server.json highlight={9} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.username/email-integ… Quickstart: Publish an MCP Server to the MCP Registry Model Context Protocol · in the page registry/quickstart …you should see contents like: ```json server.json theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.my-username/weather"… MCP Registry Aggregators Model Context Protocol · in the page registry/registry-aggregators …an results: ```json server.json highlight={17-26} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.username/email-integ… Publishing Remote Servers Model Context Protocol · in the page registry/remote-servers …erver.json`: ```json server.json highlight={7-12} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "com.example/acme-analytics",… Official MCP Registry Terms of Service Model Context Protocol · in the page registry/terms-of-service …License. You agree that metadata about MCP servers you submit (e.g., schema name and description, URLs, identifiers) and other Registry Data is intended to be public, and will be dedicated to the pub… Versioning Published MCP Servers Model Context Protocol · in the page registry/versioning …`. For example: ```json server.json highlight={6} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.username/email-integ… SEP-1036: URL Mode Elicitation for secure out-of-band interactions Model Context Protocol · in the page seps/1036-url-mode-elicitation-for-secure-out-of-band-intera …d): Servers can request structured data from users with optional JSON schemas to validate responses (no change here, other than adding a name to the existing capability) * **URL mode** (out-of-band):… SEP-1302: Formalize Working Groups and Interest Groups in MCP Governance Model Context Protocol · in the page seps/1302-formalize-working-groups-and-interest-groups-in-mc …ing equivalent * tool-interfaces --> Retire * ui --> Interest Group * schema-validation --> Retire (same as Steering equivalent) SEP-1303: Input Validation Errors as Tool Execution Errors Model Context Protocol · in the page seps/1303-input-validation-errors-as-tool-execution-errors …l that validates departure dates using the following `zod` validation schema: ```typescript theme={null} departureDate: z.string() .regex(/^\d{2}\/\d{2}\/\d{4}$/, "date must be in dd/mm/yyyy format… SEP-1319: Decouple Request Payload from RPC Methods Definition Model Context Protocol · in the page seps/1319-decouple-request-payload-from-rpc-methods-definiti …sults (result) for RPC methods should be defined as standalone, named schemas. The RPC method definitions will then use references to these schemas. ### Current Approach (Inline Definition): The RPC… SEP-1577: Sampling With Tools Model Context Protocol · in the page seps/1577--sampling-with-tools …sageRequest](https://modelcontextprotocol.io/specification/2025-06-18/schema.md#createmessagerequest) w/ `tools` (w/ JSON schemas) & `toolChoice` params, requiring a server-side tool loop * Sampling… SEP-1686: Tasks Model Context Protocol · in the page seps/1686-tasks …c callTool<TResult>( params: CallToolRequest['params'], resultSchema: Schema<TResult>, ) { // Existing request methods can be changed to reuse new methods exposed for // separating r… SEP-2127: MCP Server Cards - HTTP Server Discovery Model Context Protocol · in the page seps/2127-mcp-server-cards …nd maintainers. The detailed, normative wire format — the Server Card schema, field definitions, the discovery mechanics, and the full security analysis — is maintained in the [experimental-ext-server… SEP-2133: Extensions Model Context Protocol · in the page seps/2133-extensions …apabilities](https://modelcontextprotocol.io/specification/2025-06-18/schema.md#clientcapabilities) and [ServerCapabilities](https://modelcontextprotocol.io/specification/2025-06-18/schema.md#serverca… SEP-2164: Standardize Resource Not Found Error Code Model Context Protocol · in the page seps/2164-resource-not-found-error …hp#L37](https://github.com/modelcontextprotocol/php-sdk/blob/main/src/Schema/JsonRpc/Error.php#L37) | | Ruby | N/A (left to implementor) | [server.rb#L375-L379](https://github.com/modelcontextprotocol… SEP-2243: HTTP Header Standardization for Streamable HTTP Transport Model Context Protocol · in the page seps/2243-http-standardization …headers using an `x-mcp-header` extension property in the parameter's schema within the tool's `inputSchema`. **Client Requirement**: While the use of `x-mcp-header` is optional for servers, clients… SEP-2322: Multi Round-Trip Requests Model Context Protocol · in the page seps/2322-MRTR …asks. However, both workflows will use the same data structures. ### Schema Changes First, we introduce the notion of `InputRequests`, which represents a set of one or more server-initiated request…
Feedback