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.
MCP Inspector
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector
…irectly through `npx`. No installation is required: **Web** ```bash theme={null} # Launch the web UI and connect to a local stdio server npx @modelcontextprotocol/inspector node path/to/server/index…
Authorization
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/authorization
…s for a callback nobody will complete. For CI, be explicit: ```bash theme={null} mcp-inspector --cli "$URL" --transport http --stored-auth-only --method tools/list ``` `--stored-auth-only` never st…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…ding agents that need to verify a server change immediately. ```bash theme={null} npx @modelcontextprotocol/inspector --cli node build/index.js --method tools/list ``` > [!TIP] > > Running several c…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…o a first launch has something to connect to immediately: > > ```json theme={null} > { > "mcpServers": { > "filesystem-server-default": { > "type": "stdio", > "command": "npx", >…
mcpdo connection client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/mcpdo
…so install the package globally, or run it through `npx -p`: ```bash theme={null} npm install -g @modelcontextprotocol/inspector mcpdo --help # or without installing npx -p @modelcontextprotocol/ins…
Protocol eras
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/protocol-eras
…ector repository. Clone the repo and build the test servers: ```bash theme={null} git clone https://github.com/modelcontextprotocol/inspector cd inspector && npm install && npm run build cd clients/w…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…Inspector spawns. Everything positional is the command line: ```bash theme={null} mcp-inspector node build/index.js -- --verbose --config /etc/myserver.conf ``` Put `--` before any arguments meant f…
TUI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/tui
…own environment, or when you prefer to stay in the terminal. ```bash theme={null} npx @modelcontextprotocol/inspector --tui node build/index.js # with an ad-hoc stdio server ``` "] -->|launches| Server["Local MCP server<br/>(ordinary child…
Security Best Practices
Model Context Protocol · in the page
docs/2026-07-28/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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")…
MCP Inspector
Model Context Protocol · in the page
docs/draft/tools/inspector
…irectly through `npx`. No installation is required: **Web** ```bash theme={null} # Launch the web UI and connect to a local stdio server npx @modelcontextprotocol/inspector node path/to/server/index…
Authorization
Model Context Protocol · in the page
docs/draft/tools/inspector/authorization
…s for a callback nobody will complete. For CI, be explicit: ```bash theme={null} mcp-inspector --cli "$URL" --transport http --stored-auth-only --method tools/list ``` `--stored-auth-only` never st…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…ding agents that need to verify a server change immediately. ```bash theme={null} npx @modelcontextprotocol/inspector --cli node build/index.js --method tools/list ``` > [!TIP] > > Running several c…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…o a first launch has something to connect to immediately: > > ```json theme={null} > { > "mcpServers": { > "filesystem-server-default": { > "type": "stdio", > "command": "npx", >…
mcpdo connection client
Model Context Protocol · in the page
docs/draft/tools/inspector/mcpdo
…so install the package globally, or run it through `npx -p`: ```bash theme={null} npm install -g @modelcontextprotocol/inspector mcpdo --help # or without installing npx -p @modelcontextprotocol/ins…
Protocol eras
Model Context Protocol · in the page
docs/draft/tools/inspector/protocol-eras
…ector repository. Clone the repo and build the test servers: ```bash theme={null} git clone https://github.com/modelcontextprotocol/inspector cd inspector && npm install && npm run build cd clients/w…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…Inspector spawns. Everything positional is the command line: ```bash theme={null} mcp-inspector node build/index.js -- --verbose --config /etc/myserver.conf ``` Put `--` before any arguments meant f…
TUI client
Model Context Protocol · in the page
docs/draft/tools/inspector/tui
…own environment, or when you prefer to stay in the terminal. ```bash theme={null} npx @modelcontextprotocol/inspector --tui node build/index.js # with an ad-hoc stdio server ``` "] -->|launches| Server["Local MCP server<br/>(ordinary child…
Security Best Practices
Model Context Protocol · in the page
docs/draft/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…
Example Servers
Model Context Protocol · in the page
examples
…s TypeScript-based servers can be used directly with `npx`: ```bash theme={null} npx -y @modelcontextprotocol/server-memory ``` Python-based servers can be used with `uvx` (recommended) or `pip`:…
Build an MCP App
Model Context Protocol · in the page
extensions/apps/build
…ls.sh/) to install skills across different AI coding agents: ```bash theme={null} npx skills add modelcontextprotocol/ext-apps ``` Alternatively, you can install the skill manually by cloning the ex…
MCP Apps
Model Context Protocol · in the page
extensions/apps/overview
…e the model's context, and receive data from the host. ```mermaid theme={null} sequenceDiagram participant User participant Agent participant App as MCP App iframe participant Serv…
Enterprise-Managed Authorization
Model Context Protocol · in the page
extensions/auth/enterprise-managed-authorization
…access token from the MCP server's Authorization Server: ```mermaid theme={null} sequenceDiagram participant UA as Browser participant C as MCP Client participant IdP as Enterprise IdP…
OAuth Client Credentials
Model Context Protocol · in the page
extensions/auth/oauth-client-credentials
…s the signature using the client's registered public key. ```mermaid theme={null} sequenceDiagram participant Client participant AS as Authorization Server participant MCP as MCP Server…
Extensions Overview
Model Context Protocol · in the page
extensions/overview
…elcontextprotocol/clientCapabilities"]` within each request: ```json theme={null} { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_weather", "arguments":…
Skills
Model Context Protocol · in the page
extensions/skills/overview
…n [`server/discover`](/specification/draft/server/discover): ```json theme={null} { "capabilities": { "resources": {}, "extensions": { "io.modelcontextprotocol/skills": { "dir…
Tasks
Model Context Protocol · in the page
extensions/tasks/overview
…dges the intent but is not obligated to stop the work. ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: tools/call (with tasks capability…
How to Authenticate When Publishing to the Official MCP Registry
Model Context Protocol · in the page
registry/authentication
…tication, navigate to your server project directory and run: ```bash theme={null} mcp-publisher login github ``` You should see output like: ```text Output theme={null} Logging in with github... T…
How to Automate Publishing with GitHub Actions
Model Context Protocol · in the page
registry/github-actions
…ame for all package types: ```yaml OIDC authentication (recommended) theme={null} name: Publish to MCP Registry on: push: tags: ["v*"] # Triggers on version tags like v1.0.0 jobs: publish:…
MCP Registry Supported Package Types
Model Context Protocol · in the page
registry/package-types
…m"` in `server.json`. For example: ```json server.json highlight={9} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.u…
Quickstart: Publish an MCP Server to the MCP Registry
Model Context Protocol · in the page
registry/quickstart
…ol/quickstart-resources) to follow along with this tutorial: ```bash theme={null} git clone --depth 1 [email protected]:modelcontextprotocol/quickstart-resources.git cp -r quickstart-resources/weather-s…
MCP Registry Aggregators
Model Context Protocol · in the page
registry/registry-aggregators
…e first page can be fetched using a `limit` query parameter: ```bash theme={null} curl "https://registry.modelcontextprotocol.io/v0.1/servers?limit=100" ``` ```jsonc Output highlight={5} theme={null…
Publishing Remote Servers
Model Context Protocol · in the page
registry/remote-servers
…tes` property in `server.json`: ```json server.json highlight={7-12} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "com.example…
Versioning Published MCP Servers
Model Context Protocol · in the page
registry/versioning
…ing in `server.json`. For example: ```json server.json highlight={6} theme={null} { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.u…
SEP-1034: Support default values for all primitive types in elicitation schemas
Model Context Protocol · in the page
seps/1034--support-default-values-for-all-primitive-types-in
…function. Without elicitation, the tool becomes unwieldy: ```python theme={null} def reply_to_email_thread( thread_id: str, content: str, recipient_list: List[str] = [], cc_list: Lis…