Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.288 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

584 pages for host.

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-03-26/develop/clients/client-best-practices # Client Best Practices > Patterns for scaling MCP host applications across many servers and tools. As MCP host applications, such as agents, connect to more MCP servers and accumulate access to hun… Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-03-26/develop/connect-remote-servers …laude to remote MCP servers and extend its capabilities with internet-hosted tools and data sources Remote MCP servers extend AI applications' capabilities beyond your local environment, providing ac… Architecture overview Model Context Protocol · in the page docs/2025-03-26/learn/architecture …# Participants MCP follows a client-server architecture where an MCP host — an AI application like [Claude Code](https://www.anthropic.com/claude-code) or [Claude Desktop](https://www.claude.ai/downl… Understanding MCP clients Model Context Protocol · in the page docs/2025-03-26/learn/client-concepts # Understanding MCP clients MCP clients are instantiated by host applications to communicate with particular MCP servers. The host application, like Claude.ai or an IDE, manages the overall user expe… Debugging Model Context Protocol · in the page docs/2025-03-26/tools/debugging …ll messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (standard out), as this will in… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-03-26/tutorials/security/authorization …e designed for HTTP-based transports where the MCP server is remotely-hosted and the client uses OAuth to establish that a user is authorized to access said remote server. </Tip> ## The Authorization… Security Best Practices Model Context Protocol · in the page docs/2025-03-26/tutorials/security/security_best_practices …If using cookies to track consent decisions, they **MUST**: * Use `__Host-` prefix for cookie names * Set `Secure`, `HttpOnly`, and `SameSite=Lax` attributes * Be cryptographically signed or use serv… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …add package Anthropic.SDK dotnet add package Microsoft.Extensions.Hosting dotnet add package Microsoft.Extensions.AI ``` ## Setting up your API key You'll need an Anthropic API k… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …tutorial, we'll build a simple MCP weather server and connect it to a host, Claude for Desktop. ### What we'll be building We'll build a server that exposes two tools: `get_alerts` and `get_forecast… Build with Agent Skills Model Context Protocol · in the page docs/2025-06-18/develop/build-with-agent-skills …achine: reading local files, driving desktop apps, or talking to localhost services. The skill hands off to `build-mcpb`. **Local [stdio](/specification/2025-06-18/basic/transports#stdio)** remains a… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices # Client Best Practices > Patterns for scaling MCP host applications across many servers and tools. As MCP host applications, such as agents, connect to more MCP servers and accumulate access to hun… Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-06-18/develop/connect-remote-servers …laude to remote MCP servers and extend its capabilities with internet-hosted tools and data sources Remote MCP servers extend AI applications' capabilities beyond your local environment, providing ac… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …# Participants MCP follows a client-server architecture where an MCP host — an AI application like [Claude Code](https://www.anthropic.com/claude-code) or [Claude Desktop](https://www.claude.ai/downl… Understanding MCP clients Model Context Protocol · in the page docs/2025-06-18/learn/client-concepts # Understanding MCP clients MCP clients are instantiated by host applications to communicate with particular MCP servers. The host application, like Claude.ai or an IDE, manages the overall user expe… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …ll messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (standard out), as this will in… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/tutorials/security/authorization …e designed for HTTP-based transports where the MCP server is remotely-hosted and the client uses OAuth to establish that a user is authorized to access said remote server. </Tip> ## The Authorization… Security Best Practices Model Context Protocol · in the page docs/2025-06-18/tutorials/security/security_best_practices …If using cookies to track consent decisions, they **MUST**: * Use `__Host-` prefix for cookie names * Set `Secure`, `HttpOnly`, and `SameSite=Lax` attributes * Be cryptographically signed or use serv… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …add package Anthropic.SDK dotnet add package Microsoft.Extensions.Hosting dotnet add package Microsoft.Extensions.AI ``` ## Setting up your API key You'll need an Anthropic API k… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …tutorial, we'll build a simple MCP weather server and connect it to a host, Claude for Desktop. ### What we'll be building We'll build a server that exposes two tools: `get_alerts` and `get_forecast… Build with Agent Skills Model Context Protocol · in the page docs/2025-11-25/develop/build-with-agent-skills …achine: reading local files, driving desktop apps, or talking to localhost services. The skill hands off to `build-mcpb`. **Local [stdio](/specification/2025-11-25/basic/transports#stdio)** remains a… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices # Client Best Practices > Patterns for scaling MCP host applications across many servers and tools. As MCP host applications, such as agents, connect to more MCP servers and accumulate access to hun… Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-remote-servers …laude to remote MCP servers and extend its capabilities with internet-hosted tools and data sources Remote MCP servers extend AI applications' capabilities beyond your local environment, providing ac… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …# Participants MCP follows a client-server architecture where an MCP host — an AI application like [Claude Code](https://www.anthropic.com/claude-code) or [Claude Desktop](https://www.claude.ai/downl… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts # Understanding MCP clients MCP clients are instantiated by host applications to communicate with particular MCP servers. The host application, like Claude.ai or an IDE, manages the overall user expe… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …ll messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (standard out), as this will in… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …e designed for HTTP-based transports where the MCP server is remotely-hosted and the client uses OAuth to establish that a user is authorized to access said remote server. </Tip> ## The Authorization… Security Best Practices Model Context Protocol · in the page docs/2025-11-25/tutorials/security/security_best_practices …If using cookies to track consent decisions, they **MUST**: * Use `__Host-` prefix for cookie names * Set `Secure`, `HttpOnly`, and `SameSite=Lax` attributes * Be cryptographically signed or use serv… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …ing.ai.mcp.client.streamable-http.connections.server1.url=http://localhost:8080 ``` For WebFlux-based applications, you can use the WebFlux starter instead: ```xml theme={null} <depe… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …tutorial, we'll build a simple MCP weather server and connect it to a host, Claude for Desktop. ### What we'll be building We'll build a server that exposes two tools: `get_alerts` and `get_forecast… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …achine: reading local files, driving desktop apps, or talking to localhost services. The skill hands off to `build-mcpb`. **Local [stdio](/specification/2026-07-28/basic/transports/stdio)** remains a… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices # Client Best Practices > Patterns for scaling MCP host applications across many servers and tools. As MCP host applications, such as agents, connect to more MCP servers and accumulate access to hun… Connect to remote MCP Servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-remote-servers …laude to remote MCP servers and extend its capabilities with internet-hosted tools and data sources Remote MCP servers extend AI applications' capabilities beyond your local environment, providing ac… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …# Participants MCP follows a client-server architecture where an MCP host — an AI application like [Claude Code](https://www.anthropic.com/claude-code) or [Claude Desktop](https://www.claude.ai/downl… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts # Understanding MCP clients MCP clients are instantiated by host applications to communicate with particular MCP servers. The host application, like Claude.ai or an IDE, manages the overall user expe… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …ll messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (standard out), as this will in… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …Importing client configs, reviewing MCP Apps, Docker, and network hosting. </Card> <Card title="Debugging guide" icon="bug" href="/docs/2026-07-28/tools/debugging"> Broader debugging stra… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …ace | Default callback | Why | | - | - | - | | **Web** | `http://localhost:6274/oauth/callback` | The main app server already has an HTTP listener. | | **CLI** | `http://127.0.0.1:6276/oauth/callback`… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …oopback OAuth flow as the TUI: it opens a browser and waits on a localhost callback that a CI job can't complete. Two flags make non-interactive runs predictable: * `--stored-auth-only`: never start… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …r. Default `http://127.0.0.1:6276/oauth/callback`. Must be a loopback host (`127.0.0.1` or `localhost`): the local callback listener receives the authorization code over plaintext `http`, so any other… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …ransports, importing configs, reviewing MCP Apps, Docker, and network hosting ## Connecting stdio vs. HTTP servers ### stdio A stdio server is a process the Inspector spawns. Everything positional… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …f tools, resources, and prompts as the web client. Use it on a remote host over SSH, in a locked-down environment, or when you prefer to stay in the terminal. ```bash theme={null} npx @modelcontextpr… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …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_API_TOKEN__`… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …e designed for HTTP-based transports where the MCP server is remotely-hosted and the client uses OAuth to establish that a user is authorized to access said remote server. </Tip> ## The Authorization… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …If using cookies to track consent decisions, they **MUST**: * Use `__Host-` prefix for cookie names * Set `Secure`, `HttpOnly`, and `SameSite=Lax` attributes * Be cryptographically signed or use serv… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …ing.ai.mcp.client.streamable-http.connections.server1.url=http://localhost:8080 ``` For WebFlux-based applications, you can use the WebFlux starter instead: ```xml theme={null} <depe… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …tutorial, we'll build a simple MCP weather server and connect it to a host, Claude for Desktop. ### What we'll be building We'll build a server that exposes two tools: `get_alerts` and `get_forecast… Build with Agent Skills Model Context Protocol · in the page docs/draft/develop/build-with-agent-skills …achine: reading local files, driving desktop apps, or talking to localhost services. The skill hands off to `build-mcpb`. **Local [stdio](/specification/draft/basic/transports/stdio)** remains availa… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices # Client Best Practices > Patterns for scaling MCP host applications across many servers and tools. As MCP host applications, such as agents, connect to more MCP servers and accumulate access to hun… Connect to remote MCP Servers Model Context Protocol · in the page docs/draft/develop/connect-remote-servers …laude to remote MCP servers and extend its capabilities with internet-hosted tools and data sources Remote MCP servers extend AI applications' capabilities beyond your local environment, providing ac… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …# Participants MCP follows a client-server architecture where an MCP host — an AI application like [Claude Code](https://www.anthropic.com/claude-code) or [Claude Desktop](https://www.claude.ai/downl…
Feedback