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

1,296 pages for type.

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/2025-06-18/learn/client-concepts …ing travel may ask for the user's preferences on airplane seats, room type or their contact number to finalise a booking. | | **Roots** | Roots allow clients to specify which directories servers shoul… Understanding MCP servers Model Context Protocol · in the page docs/2025-06-18/learn/server-concepts …odels to perform actions. Each tool defines a specific operation with typed inputs and outputs. The model requests tool execution based on context. #### How Tools Work Tools are schema-defined inter… SDKs Model Context Protocol · in the page docs/2025-06-18/sdk …## Available SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotoco… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …data="Server started successfully", ) return "done" ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); `… MCP Inspector Model Context Protocol · in the page docs/2025-06-18/tools/inspector …y developed or downloaded as a repository, the most common way is: **TypeScript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```ba… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/tutorials/security/authorization …ent", "redirect_uris": ["http://localhost:3000/callback"], "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"] } ``` If the registration succeeds, the authorizati… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …_content = [] for content in response.content: if content.type == 'text': final_text.append(content.text) assistant_message_content.append(content) elif con… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …lient.md). ### Core MCP Concepts MCP servers can provide three main types of capabilities: 1. **[Resources](/docs/2025-11-25/learn/server-concepts.md#resources)**: File-like data that can be read b… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …ge query and returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Retur… Connect to local MCP servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-local-servers …y/Logs/Claude/mcp*.log > ``` > > ```powershell Windows theme={null} > type "%APPDATA%\Claude\logs\mcp*.log" > ``` > **Tool calls failing silently** > > If Claude attempts to use the tools but they fa… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …lients and servers can offer each other. These primitives specify the types of contextual information that can be shared with AI applications and the range of actions that can be performed. MCP defin… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …ing travel may ask for the user's preferences on airplane seats, room type or their contact number to finalise a booking. | | **Roots** | Roots allow clients to specify which directories servers shoul… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …odels to perform actions. Each tool defines a specific operation with typed inputs and outputs. The model requests tool execution based on context. #### How Tools Work Tools are schema-defined inter… SDKs Model Context Protocol · in the page docs/2025-11-25/sdk …## Available SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotoco… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …data="Server started successfully", ) return "done" ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); `… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …y developed or downloaded as a repository, the most common way is: **TypeScript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```ba… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …ent", "redirect_uris": ["http://localhost:3000/callback"], "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"] } ``` If the registration succeeds, the authorizati… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …ioServerParameters from mcp.client.stdio import stdio_client from mcp_types import TextContent from anthropic import Anthropic from dotenv import load_dotenv load_dotenv() # load environment variab… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …lient.md). ### Core MCP Concepts MCP servers can provide three main types of capabilities: 1. **[Resources](/docs/2026-07-28/learn/server-concepts.md#resources)**: File-like data that can be read b… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …ge query and returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Retur… Connect to local MCP servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-local-servers …y/Logs/Claude/mcp*.log > ``` > > ```powershell Windows theme={null} > type "%APPDATA%\Claude\logs\mcp*.log" > ``` > **Tool calls failing silently** > > If Claude attempts to use the tools but they fa… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …lients and servers can offer each other. These primitives specify the types of contextual information that can be shared with AI applications and the range of actions that can be performed. MCP defin… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …ing travel may ask for the user's preferences on airplane seats, room type or their contact number to finalize a booking. | | **Roots** | Roots allow clients to specify which directories servers shoul… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …odels to perform actions. Each tool defines a specific operation with typed inputs and outputs. The model requests tool execution based on context. #### How Tools Work Tools are schema-defined inter… SDKs Model Context Protocol · in the page docs/2026-07-28/sdk …## Available SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotoco… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …rt %s", report_id) return f"Report {report_id} is ready." ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); `… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …on Info panel shows the authorization status, the client registration type, the client ID, granted scopes, and the access token, and offers **Clear OAuth state and disconnect** for the active server.… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …bare word) is sent as a string, and a string is then converted to the type the tool's input schema declares for that property, so `zip=012` against a numeric `zip` still sends `12`: ```bash theme={nu… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …> { > "mcpServers": { > "filesystem-server-default": { > "type": "stdio", > "command": "npx", > "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"] > }, >… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …tool as a task and `tools/call` returns a `CreateTaskResult` (`resultType: "task"`, visible in the Protocol and Network tabs). The Inspector polls **`tasks/get`** only; there is no `tasks/list`, so *… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …ons": { "clipboard": false }, "prefersBorder": true, "resourceMimeType": "text/html" } ``` `csp` and `permissions` (and `domain`, when the resource declares one) live on the UI **resource** rathe… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …cher prints a URL containing that token: **open that URL**, and don't type `localhost:6274` from memory. The browser recovers the token from three places, in priority order: 1. `window.__INSPECTOR_A… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …ent", "redirect_uris": ["http://localhost:3000/callback"], "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"] } ``` If the registration succeeds, the authorizati… Local Server Security Model Context Protocol · in the page docs/2026-07-28/tutorials/security/local-server-security …ware governance — your existing responsibility, with a new package type. 2. **You will not be asked first.** Assume users install servers the same way they install editor extensions. A workable… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …ioServerParameters from mcp.client.stdio import stdio_client from mcp_types import TextContent from anthropic import Anthropic from dotenv import load_dotenv load_dotenv() # load environment variab… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …lient.md). ### Core MCP Concepts MCP servers can provide three main types of capabilities: 1. **[Resources](/docs/draft/learn/server-concepts.md#resources)**: File-like data that can be read by cli… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …ge query and returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Retur… Connect to local MCP servers Model Context Protocol · in the page docs/draft/develop/connect-local-servers …y/Logs/Claude/mcp*.log > ``` > > ```powershell Windows theme={null} > type "%APPDATA%\Claude\logs\mcp*.log" > ``` > **Tool calls failing silently** > > If Claude attempts to use the tools but they fa… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …lients and servers can offer each other. These primitives specify the types of contextual information that can be shared with AI applications and the range of actions that can be performed. MCP defin… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …ing travel may ask for the user's preferences on airplane seats, room type or their contact number to finalize a booking. | | **Roots** | Roots allow clients to specify which directories servers shoul… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …odels to perform actions. Each tool defines a specific operation with typed inputs and outputs. The model requests tool execution based on context. #### How Tools Work Tools are schema-defined inter… SDKs Model Context Protocol · in the page docs/draft/sdk …## Available SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotoco… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …rt %s", report_id) return f"Report {report_id} is ready." ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); `… Authorization Model Context Protocol · in the page docs/draft/tools/inspector/authorization …on Info panel shows the authorization status, the client registration type, the client ID, granted scopes, and the access token, and offers **Clear OAuth state and disconnect** for the active server.… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …bare word) is sent as a string, and a string is then converted to the type the tool's input schema declares for that property, so `zip=012` against a numeric `zip` still sends `12`: ```bash theme={nu… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration …> { > "mcpServers": { > "filesystem-server-default": { > "type": "stdio", > "command": "npx", > "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"] > }, >… Protocol eras Model Context Protocol · in the page docs/draft/tools/inspector/protocol-eras …tool as a task and `tools/call` returns a `CreateTaskResult` (`resultType: "task"`, visible in the Protocol and Network tabs). The Inspector polls **`tasks/get`** only; there is no `tasks/list`, so *… Recipes Model Context Protocol · in the page docs/draft/tools/inspector/recipes …ons": { "clipboard": false }, "prefersBorder": true, "resourceMimeType": "text/html" } ``` `csp` and `permissions` (and `domain`, when the resource declares one) live on the UI **resource** rathe… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …cher prints a URL containing that token: **open that URL**, and don't type `localhost:6274` from memory. The browser recovers the token from three places, in priority order: 1. `window.__INSPECTOR_A… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …ent", "redirect_uris": ["http://localhost:3000/callback"], "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"] } ``` If the registration succeeds, the authorizati…
Feedback