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.

Understanding MCP clients Model Context Protocol · in the page docs/2024-11-05/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/2024-11-05/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/2024-11-05/tools/debugging …"@modelcontextprotocol/server-filesystem", "/Users/username/data" ] } } } ``` Instead of relative paths like `./data` ### Environment variables MCP servers launched over… MCP Inspector Model Context Protocol · in the page docs/2024-11-05/tools/inspector …theme={null} npx -y @modelcontextprotocol/inspector npx <package-name> <args> # For example npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/usern… Understanding Authorization in MCP Model Context Protocol · in the page docs/2024-11-05/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/2024-11-05/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/2025-03-26/develop/build-client …sponse.tools print("\nConnected to server with tools:", [tool.name for tool in tools]) ``` ### Query Processing Logic Now let's add the core functionality for processing queries… Build an MCP server Model Context Protocol · in the page docs/2025-03-26/develop/build-server …# Only show next 5 periods forecast = f""" {period["name"]}: Temperature: {period["temperature"]}°{period["temperatureUnit"]} Wind: {period["windSpeed"]} {period["windDirecti… Client Best Practices Model Context Protocol · in the page docs/2025-03-26/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/2025-03-26/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/2025-03-26/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/2025-03-26/learn/architecture …"sampling": {} }, "clientInfo": { "name": "example-client", "version": "1.0.0" } } } ``` ```json Initialize Response… Understanding MCP clients Model Context Protocol · in the page docs/2025-03-26/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/2025-03-26/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/2025-03-26/tools/debugging …"@modelcontextprotocol/server-filesystem", "/Users/username/data" ] } } } ``` Instead of relative paths like `./data` ### Environment variables MCP servers launched over… MCP Inspector Model Context Protocol · in the page docs/2025-03-26/tools/inspector …theme={null} npx -y @modelcontextprotocol/inspector npx <package-name> <args> # For example npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/usern… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-03-26/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/2025-03-26/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/2025-06-18/develop/build-client …sponse.tools print("\nConnected to server with tools:", [tool.name for tool in tools]) ``` ### Query Processing Logic Now let's add the core functionality for processing queries… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …# Only show next 5 periods forecast = f""" {period["name"]}: Temperature: {period["temperature"]}°{period["temperatureUnit"]} Wind: {period["windSpeed"]} {period["windDirecti… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/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/2025-06-18/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/2025-06-18/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/2025-06-18/learn/architecture …"elicitation": {} }, "clientInfo": { "name": "example-client", "version": "1.0.0" } } } ``` ```json Initialize Response… Understanding MCP clients Model Context Protocol · in the page docs/2025-06-18/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/2025-06-18/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/2025-06-18/tools/debugging …"@modelcontextprotocol/server-filesystem", "/Users/username/data" ] } } } ``` Instead of relative paths like `./data` ### Environment variables MCP servers launched over… MCP Inspector Model Context Protocol · in the page docs/2025-06-18/tools/inspector …theme={null} npx -y @modelcontextprotocol/inspector npx <package-name> <args> # For example npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/usern… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/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/2025-06-18/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/2025-11-25/develop/build-client …sponse.tools print("\nConnected to server with tools:", [tool.name for tool in tools]) ``` ### Query Processing Logic Now let's add the core functionality for processing queries… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …# Only show next 5 periods forecast = f""" {period["name"]}: Temperature: {period["temperature"]}°{period["temperatureUnit"]} Wind: {period["windSpeed"]} {period["windDirecti… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/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/2025-11-25/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/2025-11-25/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/2025-11-25/learn/architecture …"elicitation": {} }, "clientInfo": { "name": "example-client", "version": "1.0.0" } } } ``` ```json Initialize Response… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/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/2025-11-25/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/2025-11-25/tools/debugging …"@modelcontextprotocol/server-filesystem", "/Users/username/data" ] } } } ``` Instead of relative paths like `./data` ### Environment variables MCP servers launched over… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …theme={null} npx -y @modelcontextprotocol/inspector npx <package-name> <args> # For example npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/usern… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/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/2025-11-25/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/learn/server-concepts …esult | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", properties: {…
Feedback