593 pages for theme.
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/2024-11-05/tools/debugging
…o the client by sending a log message notification: ```python Python theme={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info",…
MCP Inspector
Model Context Protocol · in the page
docs/2024-11-05/tools/inspector
…runs directly through `npx` without requiring installation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command>…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2024-11-05/tutorials/security/authorization
…ce_metadata` parameter within the `WWW-Authenticate` header. ```http theme={null} HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm="mcp", resource_metadata="https://your-server.com/.well-kn…
Security Best Practices
Model Context Protocol · in the page
docs/2024-11-05/tutorials/security/security_best_practices
…##### Normal OAuth proxy usage (preserves user consent) ```mermaid theme={null} sequenceDiagram participant UA as User-Agent (Browser) participant MC as MCP Client participant M as MCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
…t First, create a new Python project with `uv`: ```bash macOS/Linux theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Activate virtual…
Build an MCP server
Model Context Protocol · in the page
docs/2025-03-26/develop/build-server
…ibrary that writes to stderr or files. ### Quick Examples ```python theme={null} import sys import logging # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) print("Processing request",…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-03-26/develop/build-with-agent-skills
…s the standard. For example, to install them in Claude Code: ```bash theme={null} /plugin marketplace add anthropics/claude-plugins-official /plugin install mcp-server-dev ``` For other agents, chec…
Client Best Practices
Model Context Protocol · in the page
docs/2025-03-26/develop/clients/client-best-practices
…d returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Returns concise…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-03-26/develop/connect-local-servers
…llation by opening a terminal or command prompt and running: ```bash theme={null} node --version ``` If Node.js is not installed, download it from [nodejs.org](https://nodejs.org/). We recommend the…
Architecture overview
Model Context Protocol · in the page
docs/2025-03-26/learn/architecture
…additional MCP client object to maintain this connection. ```mermaid theme={null} graph TB subgraph "MCP Host (AI Application)" Client1["MCP Client 1"] Client2["MCP Client 2"]…
Understanding MCP clients
Model Context Protocol · in the page
docs/2025-03-26/learn/client-concepts
…via file permissions and/or sandboxing. **Root structure:** ```json theme={null} { "uri": "file:///Users/agent/travel-planning", "name": "Travel Planning Workspace" } ``` Roots are exclusively…
Understanding MCP servers
Model Context Protocol · in the page
docs/2025-03-26/learn/server-concepts
…Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", pr…
Debugging
Model Context Protocol · in the page
docs/2025-03-26/tools/debugging
…o the client by sending a log message notification: ```python Python theme={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info",…
MCP Inspector
Model Context Protocol · in the page
docs/2025-03-26/tools/inspector
…runs directly through `npx` without requiring installation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command>…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-03-26/tutorials/security/authorization
…ce_metadata` parameter within the `WWW-Authenticate` header. ```http theme={null} HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm="mcp", resource_metadata="https://your-server.com/.well-kn…
Security Best Practices
Model Context Protocol · in the page
docs/2025-03-26/tutorials/security/security_best_practices
…##### Normal OAuth proxy usage (preserves user consent) ```mermaid theme={null} sequenceDiagram participant UA as User-Agent (Browser) participant MC as MCP Client participant M as MCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
…t First, create a new Python project with `uv`: ```bash macOS/Linux theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Activate virtual…
Build an MCP server
Model Context Protocol · in the page
docs/2025-06-18/develop/build-server
…ibrary that writes to stderr or files. ### Quick Examples ```python theme={null} import sys import logging # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) print("Processing request",…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-06-18/develop/build-with-agent-skills
…s the standard. For example, to install them in Claude Code: ```bash theme={null} /plugin marketplace add anthropics/claude-plugins-official /plugin install mcp-server-dev ``` For other agents, chec…
Client Best Practices
Model Context Protocol · in the page
docs/2025-06-18/develop/clients/client-best-practices
…d returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Returns concise…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-06-18/develop/connect-local-servers
…llation by opening a terminal or command prompt and running: ```bash theme={null} node --version ``` If Node.js is not installed, download it from [nodejs.org](https://nodejs.org/). We recommend the…
Architecture overview
Model Context Protocol · in the page
docs/2025-06-18/learn/architecture
…additional MCP client object to maintain this connection. ```mermaid theme={null} graph TB subgraph "MCP Host (AI Application)" Client1["MCP Client 1"] Client2["MCP Client 2"]…
Understanding MCP clients
Model Context Protocol · in the page
docs/2025-06-18/learn/client-concepts
…her than following rigid patterns. **Elicitation flow:** ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Note over Server,Client: Serv…
Understanding MCP servers
Model Context Protocol · in the page
docs/2025-06-18/learn/server-concepts
…Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", pr…
Debugging
Model Context Protocol · in the page
docs/2025-06-18/tools/debugging
…o the client by sending a log message notification: ```python Python theme={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info",…
MCP Inspector
Model Context Protocol · in the page
docs/2025-06-18/tools/inspector
…runs directly through `npx` without requiring installation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command>…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/authorization
…ce_metadata` parameter within the `WWW-Authenticate` header. ```http theme={null} HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm="mcp", resource_metadata="https://your-server.com/.well-kn…
Security Best Practices
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/security_best_practices
…##### Normal OAuth proxy usage (preserves user consent) ```mermaid theme={null} sequenceDiagram participant UA as User-Agent (Browser) participant MC as MCP Client participant M as MCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…t First, create a new Python project with `uv`: ```bash macOS/Linux theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Activate virtual…
Build an MCP server
Model Context Protocol · in the page
docs/2025-11-25/develop/build-server
…ibrary that writes to stderr or files. ### Quick Examples ```python theme={null} import sys import logging # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) print("Processing request",…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-11-25/develop/build-with-agent-skills
…s the standard. For example, to install them in Claude Code: ```bash theme={null} /plugin marketplace add anthropics/claude-plugins-official /plugin install mcp-server-dev ``` For other agents, chec…
Client Best Practices
Model Context Protocol · in the page
docs/2025-11-25/develop/clients/client-best-practices
…d returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Returns concise…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-11-25/develop/connect-local-servers
…llation by opening a terminal or command prompt and running: ```bash theme={null} node --version ``` If Node.js is not installed, download it from [nodejs.org](https://nodejs.org/). We recommend the…
Architecture overview
Model Context Protocol · in the page
docs/2025-11-25/learn/architecture
…additional MCP client object to maintain this connection. ```mermaid theme={null} graph TB subgraph "MCP Host (AI Application)" Client1["MCP Client 1"] Client2["MCP Client 2"]…
Understanding MCP clients
Model Context Protocol · in the page
docs/2025-11-25/learn/client-concepts
…her than following rigid patterns. **Elicitation flow:** ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Note over Server,Client: Serv…
Understanding MCP servers
Model Context Protocol · in the page
docs/2025-11-25/learn/server-concepts
…Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", pr…
Debugging
Model Context Protocol · in the page
docs/2025-11-25/tools/debugging
…o the client by sending a log message notification: ```python Python theme={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info",…
MCP Inspector
Model Context Protocol · in the page
docs/2025-11-25/tools/inspector
…runs directly through `npx` without requiring installation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command>…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/authorization
…ce_metadata` parameter within the `WWW-Authenticate` header. ```http theme={null} HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm="mcp", resource_metadata="https://your-server.com/.well-kn…
Security Best Practices
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/security_best_practices
…##### Normal OAuth proxy usage (preserves user consent) ```mermaid theme={null} sequenceDiagram participant UA as User-Agent (Browser) participant MC as MCP Client participant M as MCP…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…t First, create a new Python project with `uv`: ```bash macOS/Linux theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Activate virtual…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…_name__)` and call it from your tools. ### Quick Examples ```python theme={null} import logging logger = logging.getLogger(__name__) # ❌ Bad (STDIO) print("Processing request") # ✅ Good (STDIO) l…
Build with Agent Skills
Model Context Protocol · in the page
docs/2026-07-28/develop/build-with-agent-skills
…s the standard. For example, to install them in Claude Code: ```bash theme={null} /plugin marketplace add anthropics/claude-plugins-official /plugin install mcp-server-dev ``` For other agents, chec…
Client Best Practices
Model Context Protocol · in the page
docs/2026-07-28/develop/clients/client-best-practices
…d returns matching tool names with brief descriptions. ```typescript theme={null} // The model calls a lightweight search tool search_tools({ query: "update salesforce record" }) // Returns concise…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2026-07-28/develop/connect-local-servers
…llation by opening a terminal or command prompt and running: ```bash theme={null} node --version ``` If Node.js is not installed, download it from [nodejs.org](https://nodejs.org/). We recommend the…
Connect to remote MCP Servers
Model Context Protocol · in the page
docs/2026-07-28/develop/connect-remote-servers
…ollow along, copy/paste the URL below: ```text Example Remote Server theme={null} https://example-server.modelcontextprotocol.io/mcp ``` " Client1["MCP Client 1"] Client2["MCP Client 2"]…
Understanding MCP clients
Model Context Protocol · in the page
docs/2026-07-28/learn/client-concepts
…requestState` the server included. **Elicitation flow:** ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Client->>Server: tools/call (…
Understanding MCP servers
Model Context Protocol · in the page
docs/2026-07-28/learn/server-concepts
…Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object", pr…
Debugging
Model Context Protocol · in the page
docs/2026-07-28/tools/debugging
…ts.md), record what the server is doing as it runs: ```python Python theme={null} import logging from mcp.server import MCPServer logger = logging.getLogger(__name__) mcp = MCPServer("reports")…