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,258 pages for port.

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

Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …tes to stderr or files. ### Quick Examples ```python theme={null} import sys import logging # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) print("Processing request", file=sys.stderr… Build with Agent Skills Model Context Protocol · in the page docs/2025-06-18/develop/build-with-agent-skills …n and implementation [Agent skills](https://agentskills.io/home) are portable instruction sets that give AI coding assistants domain knowledge for a task. For MCP development, they encode the design… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices …orm.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) support this natively; check your provider's documentation for an equivalent. When available, you may prefer the platform's tool sear… Connect to local MCP servers Model Context Protocol · in the page docs/2025-06-18/develop/connect-local-servers …cure, controlled access to local resources and tools. Many clients support MCP, enabling diverse integration possibilities across different platforms and applications. This guide demonstrates how to… Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-06-18/develop/connect-remote-servers …cts with real-time access to external resources. Many clients now support remote MCP servers, enabling a wide range of integration possibilities. This guide demonstrates how to connect to remote MCP… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/2025-06-18/getting-started/intro …access key information and perform tasks. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic devices, MCP provides a standardized way… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …corresponding MCP server. Local MCP servers that use the STDIO transport typically serve a single MCP client, whereas remote MCP servers that use the Streamable HTTP transport will typically serve m… Understanding MCP clients Model Context Protocol · in the page docs/2025-06-18/learn/client-concepts …ct communication with one server. Understanding the distinction is important: the *host* is the application users interact with, while *clients* are the protocol-level components that enable server c… Understanding MCP servers Model Context Protocol · in the page docs/2025-06-18/learn/server-concepts …directly and decide how to use it - whether that's selecting relevant portions, searching with embeddings, or passing it all to the model. Each resource has a unique URI (e.g., `file:///path/to/docum… Versioning Model Context Protocol · in the page docs/2025-06-18/learn/versioning …18/basic/lifecycle.md#initialization). Clients and servers **MAY** support multiple protocol versions simultaneously, but they **MUST** agree on a single version to use for the session. The protocol… SDKs Model Context Protocol · in the page docs/2025-06-18/sdk …are classified into tiers based on feature completeness, protocol support, and maintenance commitment. Learn more about [SDK tiers](/community/sdk-tiers.md). ## Available SDKs | SDK | Repository |… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …Inspector](/docs/2025-06-18/tools/inspector.md)**: interactive, transport-agnostic testing UI. Connect to stdio or Streamable HTTP servers, invoke [tools](/specification/2025-06-18/server/tools… MCP Inspector Model Context Protocol · in the page docs/2025-06-18/tools/inspector …MCP server: ### Server connection pane * Allows selecting the [transport](/specification/2025-06-18/basic/transports.md) for connecting to the server * For local servers, supports customizing the co… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/tutorials/security/authorization …ion for Local MCP Servers** > > For MCP servers using the [STDIO transport](/specification/2025-06-18/basic/transports.md#stdio), you can use environment-based credentials or credentials provided by t… Security Best Practices Model Context Protocol · in the page docs/2025-06-18/tutorials/security/security_best_practices …tects the third-party API. It may lack dynamic client registration support, requiring the MCP proxy to use a static client ID for all requests. **Third-Party API** : The protected resource server tha… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …ing the Client ### Basic Client Structure First, let's set up our imports and create the basic client class: ```python theme={null} import asyncio from typing import Optional from contextlib import… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …tes to stderr or files. ### Quick Examples ```python theme={null} import sys import logging # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) print("Processing request", file=sys.stderr… Build with Agent Skills Model Context Protocol · in the page docs/2025-11-25/develop/build-with-agent-skills …n and implementation [Agent skills](https://agentskills.io/home) are portable instruction sets that give AI coding assistants domain knowledge for a task. For MCP development, they encode the design… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …orm.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) support this natively; check your provider's documentation for an equivalent. When available, you may prefer the platform's tool sear… Connect to local MCP servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-local-servers …cure, controlled access to local resources and tools. Many clients support MCP, enabling diverse integration possibilities across different platforms and applications. This guide demonstrates how to… Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-remote-servers …cts with real-time access to external resources. Many clients now support remote MCP servers, enabling a wide range of integration possibilities. This guide demonstrates how to connect to remote MCP… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/2025-11-25/getting-started/intro …access key information and perform tasks. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic devices, MCP provides a standardized way… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …corresponding MCP server. Local MCP servers that use the STDIO transport typically serve a single MCP client, whereas remote MCP servers that use the Streamable HTTP transport will typically serve m… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …ct communication with one server. Understanding the distinction is important: the *host* is the application users interact with, while *clients* are the protocol-level components that enable server c… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …directly and decide how to use it - whether that's selecting relevant portions, searching with embeddings, or passing it all to the model. Each resource has a unique URI (e.g., `file:///path/to/docum… Versioning Model Context Protocol · in the page docs/2025-11-25/learn/versioning …25/basic/lifecycle.md#initialization). Clients and servers **MAY** support multiple protocol versions simultaneously, but they **MUST** agree on a single version to use for the session. The protocol… SDKs Model Context Protocol · in the page docs/2025-11-25/sdk …are classified into tiers based on feature completeness, protocol support, and maintenance commitment. Learn more about [SDK tiers](/community/sdk-tiers.md). ## Available SDKs | SDK | Repository |… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …Inspector](/docs/2025-11-25/tools/inspector.md)**: interactive, transport-agnostic testing UI. Connect to stdio or Streamable HTTP servers, invoke [tools](/specification/2025-11-25/server/tools… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …MCP server: ### Server connection pane * Allows selecting the [transport](/specification/2025-11-25/basic/transports.md) for connecting to the server * For local servers, supports customizing the co… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …ion for Local MCP Servers** > > For MCP servers using the [STDIO transport](/specification/2025-11-25/basic/transports.md#stdio), you can use environment-based credentials or credentials provided by t… Security Best Practices Model Context Protocol · in the page docs/2025-11-25/tutorials/security/security_best_practices …tects the third-party API. It may lack dynamic client registration support, requiring the MCP proxy to use a static client ID for all requests. **Third-Party API** : The protected resource server tha… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …keep your `ANTHROPIC_API_KEY` secure! ## Creating the Client ### Imports and Setup First, let's set up our imports and the pieces the rest of the file shares: ```python theme={null} import asynci… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …all it from your tools. ### Quick Examples ```python theme={null} import logging logger = logging.getLogger(__name__) # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) logger.info("Pro… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …n and implementation [Agent skills](https://agentskills.io/home) are portable instruction sets that give AI coding assistants domain knowledge for a task. For MCP development, they encode the design… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …orm.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) support this natively; check your provider's documentation for an equivalent. When available, you may prefer the platform's tool sear… Connect to local MCP servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-local-servers …cure, controlled access to local resources and tools. Many clients support MCP, enabling diverse integration possibilities across different platforms and applications. This guide demonstrates how to… Connect to remote MCP Servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-remote-servers …cts with real-time access to external resources. Many clients now support remote MCP servers, enabling a wide range of integration possibilities. This guide demonstrates how to connect to remote MCP… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/2026-07-28/getting-started/intro …access key information and perform tasks. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic devices, MCP provides a standardized way… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …corresponding MCP server. Local MCP servers that use the STDIO transport typically serve a single MCP client, whereas remote MCP servers that use the Streamable HTTP transport will typically serve m… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …ct communication with one server. Understanding the distinction is important: the *host* is the application users interact with, while *clients* are the protocol-level components that enable server c… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …directly and decide how to use it - whether that's selecting relevant portions, searching with embeddings, or passing it all to the model. Each resource has a unique URI (e.g., `file:///path/to/docum… Versioning Model Context Protocol · in the page docs/2026-07-28/learn/versioning …[`MCP-Protocol-Version` header](/specification/2026-07-28/basic/transports/streamable-http#protocol-version-header). Clients and servers **MAY** support multiple protocol versions simultaneously. If… SDKs Model Context Protocol · in the page docs/2026-07-28/sdk …are classified into tiers based on feature completeness, protocol support, and maintenance commitment. Learn more about [SDK tiers](/community/sdk-tiers.md). ## Available SDKs | SDK | Repository |… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …Inspector](/docs/2026-07-28/tools/inspector.md)**: interactive, transport-agnostic testing UI. Connect to stdio or Streamable HTTP servers, invoke [tools](/specification/latest/server/tools.md)… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …core, so a connection behaves identically across them: the same transports, the same configuration files, the same OAuth state on disk, and the same [protocol-era](/docs/2026-07-28/tools/inspector/pr… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …/authorization-server-discovery.md) to learn the endpoints and the supported grants. **3. Register or identify the client** The Inspector identifies itself to the authorization server through whiche… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …s/list # HTTP mcp-inspector --cli https://api.example.com/mcp --transport http --method tools/list # From a file mcp-inspector --cli --config ./mcp.json --server myserver --method tools/list ``` Wh… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …itional mcp-inspector --server-url https://api.example.com/mcp --transport http ``` ### Shared server-selection flags Defined **separately by each of web, CLI, and TUI**, so they're available in all… mcpdo connection client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/mcpdo …allow the fallback anyway. Connections **self-heal**: a dropped transport (an expired HTTP session, an exited stdio child) is re-dialed transparently on next use with the stored credentials. Only an… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …evision) as a first-class, per-server setting, orthogonal to the transport: the same HTTP URL can be inspected as a legacy server or as a modern one. Several tabs render meaningfully different UI and…
Feedback