Follow Discord
Sweep 29 Sep 2026 · 18:10Z Build v2.1.285 506 read Stable v2.1.280 Latest v2.1.285 Next v2.1.285 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,123 pages for name.

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

Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …g from mcp.server import MCPServer logger = logging.getLogger(__name__) mcp = MCPServer("reports") @mcp.tool() async def fetch_report(report_id: str) -> str: """Fetch a report by… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …i.example.com/mcp --transport http \ --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result ``` See [CLI client](/docs/2026-07-28/tools/inspector/… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …es Each CLI run connects to a server, invokes the single request you name with `--method`, prints the result, and exits. That makes it a good fit for CI pipelines, shell one-liners, and coding agents… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …ouch the file. </Note> ### Ad-hoc targets Instead of a file you can name one server directly, either as a positional command (stdio) or a URL: ```bash theme={null} mcp-inspector node build/index.js… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …`), `instructions`, and the list of `supportedVersions`. The server's name and version arrive in the result `_meta` under `io.modelcontextprotocol/serverInfo`. <Frame caption="Server Settings: the Pr… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …server-url https://example.com/mcp \ --method tools/call --tool-name <tool> --app-info ``` One JSON line on stdout; exit `0` if the tool has an app, `2` if not, so an `&&` chain short-c… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …rame> ## Choosing servers Unlike the CLI, the TUI has no `--server <name>` flag for picking one entry: it reads its servers from a catalog or config file, loads every server in it, and lets you pick… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …st-source, so browse the Inspector at `localhost`, `127.0.0.1`, a hostname, or a LAN IPv4, **not** at a bare `http://[::1]:...`. * The sandbox URL is always plain `http`, so an `https://` Inspector pa… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …[RFC 9728 Section 3.2](https://datatracker.ietf.org/doc/html/rfc9728#name-protected-resource-metadata-r). </Step> <Step title="Authorization Server Discovery"> Next, the client discovers wha… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …w MCP server-owned consent page Note over Browser: "Allow [Client Name] to access [Third-Party API]?" Browser->>MCP: POST /consent (approve) MCP->>MCP: Store consent decision for client_id… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …= await client.list_tools() available_tools = [{ "name": tool.name, "description": tool.description, "input_schema": tool.input_schema } for tool in… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …stderr. * Create one logger per module with `logging.getLogger(__name__)` and call it from your tools. ### Quick Examples ```python theme={null} import logging logger = logging… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity retrieval over tool descriptions. Handles synonyms and semantic m… Connect to local MCP servers Model Context Protocol · in the page docs/draft/develop/connect-local-servers …and directories * Moving and renaming files * Searching for files by name or content All actions require your explicit approval before execution, ensuring you maintain full control over what Claude… Connect to remote MCP Servers Model Context Protocol · in the page docs/draft/develop/connect-remote-servers …e server implementation but commonly involves OAuth, API keys, or username/password combinations. <Frame> <img src="https://mintcdn.com/mcp/4ZXF1PrDkEaJvXpn/images/quickstart-remote/3-auth.… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …", "io.modelcontextprotocol/clientInfo": { "name": "example-client", "version": "1.0.0" }, "io.modelcontextprotocol/clientCapabilities":… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …son theme={null} { "uri": "file:///Users/agent/travel-planning", "name": "Travel Planning Workspace" } ``` Roots are exclusively filesystem paths and always use the `file://` URI scheme. They hel… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …esult | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", properties: {… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …g from mcp.server import MCPServer logger = logging.getLogger(__name__) mcp = MCPServer("reports") @mcp.tool() async def fetch_report(report_id: str) -> str: """Fetch a report by… MCP Inspector Model Context Protocol · in the page docs/draft/tools/inspector …i.example.com/mcp --transport http \ --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result ``` See [CLI client](/docs/draft/tools/inspector/cli).… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …es Each CLI run connects to a server, invokes the single request you name with `--method`, prints the result, and exits. That makes it a good fit for CI pipelines, shell one-liners, and coding agents… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration …ouch the file. </Note> ### Ad-hoc targets Instead of a file you can name one server directly, either as a positional command (stdio) or a URL: ```bash theme={null} mcp-inspector node build/index.js… Protocol eras Model Context Protocol · in the page docs/draft/tools/inspector/protocol-eras …`), `instructions`, and the list of `supportedVersions`. The server's name and version arrive in the result `_meta` under `io.modelcontextprotocol/serverInfo`. <Frame caption="Server Settings: the Pr… Recipes Model Context Protocol · in the page docs/draft/tools/inspector/recipes …server-url https://example.com/mcp \ --method tools/call --tool-name <tool> --app-info ``` One JSON line on stdout; exit `0` if the tool has an app, `2` if not, so an `&&` chain short-c… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …rame> ## Choosing servers Unlike the CLI, the TUI has no `--server <name>` flag for picking one entry: it reads its servers from a catalog or config file, loads every server in it, and lets you pick… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …st-source, so browse the Inspector at `localhost`, `127.0.0.1`, a hostname, or a LAN IPv4, **not** at a bare `http://[::1]:...`. * The sandbox URL is always plain `http`, so an `https://` Inspector pa… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …[RFC 9728 Section 3.2](https://datatracker.ietf.org/doc/html/rfc9728#name-protected-resource-metadata-r). </Step> <Step title="Authorization Server Discovery"> Next, the client discovers wha… Security Best Practices Model Context Protocol · in the page docs/draft/tutorials/security/security_best_practices …w MCP server-owned consent page Note over Browser: "Allow [Client Name] to access [Third-Party API]?" Browser->>MCP: POST /consent (approve) MCP->>MCP: Store consent decision for client_id… Build an MCP App Model Context Protocol · in the page extensions/apps/build …ates the server code from the UI code: <Tree> <Tree.Folder name="my-mcp-app" defaultOpen> <Tree.File name="package.json" /> <Tree.File name="tsconfig.json" /> <Tre… MCP Apps Model Context Protocol · in the page extensions/apps/overview …similar (e.g., `ui/initialize`), and most are new with a `ui/` method name prefix. The app can request tool calls, send messages, update the model's context, and receive data from the host. ```… OAuth Client Credentials Model Context Protocol · in the page extensions/auth/oauth-client-credentials …"s3cr3t", }); const client = new Client( { name: "my-service", version: "1.0.0" }, { capabilities: {} }, ); const transport = new StreamableHTTPCl… Extension Support Matrix Model Context Protocol · in the page extensions/client-matrix …ment which official extensions export const CHECK = () => <span className="flex justify-center"> <Icon icon="check" iconType="solid" size={18} className="text-green-500" /> </span>; This matri… Extensions Overview Model Context Protocol · in the page extensions/overview …e *extension identifier* with the format: `{vendor-prefix}/{extension-name}`, e.g. `io.modelcontextprotocol/oauth-client-credentials`. Identifiers follow the same rules as [`_meta` keys](/specificatio… Skills Model Context Protocol · in the page extensions/skills/overview …he model and user. Skills can be selected by the model based on their names and descriptions, or explicitly by the user. The extension does not mandate a specific user interaction model. Reading `SKI… The MCP Registry Model Context Protocol · in the page registry/about …e place for server creators to publish metadata about their servers * Namespace management through DNS verification * A REST API for MCP clients and aggregators to discover available servers * Standar… How to Authenticate When Publishing to the Official MCP Registry Model Context Protocol · in the page registry/authentication …cation methods. Which authentication method you choose determines the namespace of your server's name. If you choose GitHub-based authentication, your server's name in `server.json` **MUST** be of th… How to Automate Publishing with GitHub Actions Model Context Protocol · in the page registry/github-actions …CodeGroup> ```yaml OIDC authentication (recommended) theme={null} name: Publish to MCP Registry on: push: tags: ["v*"] # Triggers on version tags like v1.0.0 jobs: publish:… The MCP Registry Moderation Policy Model Context Protocol · in the page registry/moderation-policy …s: * The same server being submitted multiple times under different names * A server that doesn't do anything but provide a fixed response with some marketing copy * A server with a description… MCP Registry Supported Package Types Model Context Protocol · in the page registry/package-types …ic.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.username/email-integration-mcp", "title": "Email Integration", "description": "Send emails and manage email… Quickstart: Publish an MCP Server to the MCP Registry Model Context Protocol · in the page registry/quickstart …o reflect your information: ```diff package.json theme={null} { - "name": "mcp-quickstart-ts", - "version": "1.0.0", + "name": "@my-username/mcp-weather-server", + "version": "1.0.1", "main":… MCP Registry Aggregators Model Context Protocol · in the page registry/registry-aggregators …s/list-servers-v0.1) — List all servers. * [`GET /v0.1/servers/{serverName}/versions`](https://registry.modelcontextprotocol.io/docs#/operations/get-server-versions-v0.1) — List all versions of a serv… Publishing Remote Servers Model Context Protocol · in the page registry/remote-servers …ic.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "com.example/acme-analytics", "title": "ACME Analytics", "description": "Real-time business intelligence and reporting… Official MCP Registry Terms of Service Model Context Protocol · in the page registry/terms-of-service …or repeatedly posting the same or similar MCP servers under different names; 5. Promote or facilitate unlawful online gambling or disruptive commercial messages or advertisements; 6. Use the Reg… Versioning Published MCP Servers Model Context Protocol · in the page registry/versioning …ic.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.username/email-integration-mcp", "title": "Email Integration", "description": "Send emails and manage email… SEP-1024: MCP Client Security Requirements for Local Server Installation Model Context Protocol · in the page seps/1024-mcp-client-security-requirements-for-local-server- …Client Security Requirements for Local Server Installation <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"… SEP-1034: Support default values for all primitive types in elicitation schemas Model Context Protocol · in the page seps/1034--support-default-values-for-all-primitive-types-in …ault values for all primitive types in elicitation schemas <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"… 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 …> URL Mode Elicitation for secure out-of-band interactions <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"… SEP-1046: Support OAuth client credentials flow in authorization Model Context Protocol · in the page seps/1046-support-oauth-client-credentials-flow-in-authoriza …> Support OAuth client credentials flow in authorization <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"… 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 …alize Working Groups and Interest Groups in MCP Governance <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"… SEP-1303: Input Validation Errors as Tool Execution Errors Model Context Protocol · in the page seps/1303-input-validation-errors-as-tool-execution-errors …Errors > Input Validation Errors as Tool Execution Errors <div className="flex items-center gap-2 mb-4"> <Badge color="green" shape="pill"> Final </Badge> <Badge color="gray" shape="pill"…
Feedback