567 pages for command.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Understanding MCP servers
Model Context Protocol · in the page
docs/2025-06-18/learn/server-concepts
…ypically expose prompts through various UI patterns such as: * Slash commands (typing "/" to see available prompts like /plan-vacation) * Command palettes for searchable access * Dedicated UI buttons…
Debugging
Model Context Protocol · in the page
docs/2025-06-18/tools/debugging
…les to ensure reliable operation * For testing servers directly via command line, the working directory will be where you run the command For example in `claude_desktop_config.json`, use: ```jso…
MCP Inspector
Model Context Protocol · in the page
docs/2025-06-18/tools/inspector
…tallation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command> <arg1> <arg2> ``` #### Inspecting servers from n…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/authorization
…### Keycloak Setup From your terminal application, run the following command to start the Keycloak container: ```bash theme={null} docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=ad…
Security Best Practices
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/security_best_practices
…tacks become possible: 1. An attacker includes a malicious "startup" command in a client configuration 2. An attacker distributes a malicious payload inside the server itself 3. An attacker access…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…raise ValueError("Server script must be a .py or .js file") command = "python" if is_python else "node" server_params = StdioServerParameters( command=command, args=[serv…
Build an MCP server
Model Context Protocol · in the page
docs/2025-11-25/develop/build-server
…Make sure to restart your terminal afterwards to ensure that the `uv` command gets picked up. Now, let's create and set up our project: ```bash macOS/Linux theme={null} # Create a new directory for…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-11-25/develop/connect-local-servers
….js to run. Verify your Node.js installation 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](h…
Understanding MCP servers
Model Context Protocol · in the page
docs/2025-11-25/learn/server-concepts
…ypically expose prompts through various UI patterns such as: * Slash commands (typing "/" to see available prompts like /plan-vacation) * Command palettes for searchable access * Dedicated UI buttons…
Debugging
Model Context Protocol · in the page
docs/2025-11-25/tools/debugging
…les to ensure reliable operation * For testing servers directly via command line, the working directory will be where you run the command For example in `claude_desktop_config.json`, use: ```jso…
MCP Inspector
Model Context Protocol · in the page
docs/2025-11-25/tools/inspector
…tallation: ```bash theme={null} npx @modelcontextprotocol/inspector <command> ``` ```bash theme={null} npx @modelcontextprotocol/inspector <command> <arg1> <arg2> ``` #### Inspecting servers from n…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/authorization
…### Keycloak Setup From your terminal application, run the following command to start the Keycloak container: ```bash theme={null} docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=ad…
Security Best Practices
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/security_best_practices
…tacks become possible: 1. An attacker includes a malicious "startup" command in a client configuration 2. An attacker distributes a malicious payload inside the server itself 3. An attacker access…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…py or .js) """ if server_script_path.endswith(".py"): command = "python" elif server_script_path.endswith(".js"): command = "node" else: raise ValueError("Serve…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…Make sure to restart your terminal afterwards to ensure that the `uv` command gets picked up. Now, let's create and set up our project: ```bash macOS/Linux theme={null} # Create a new directory for…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2026-07-28/develop/connect-local-servers
….js to run. Verify your Node.js installation 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](h…
Understanding MCP servers
Model Context Protocol · in the page
docs/2026-07-28/learn/server-concepts
…ypically expose prompts through various UI patterns such as: * Slash commands (typing "/" to see available prompts like /plan-vacation) * Command palettes for searchable access * Dedicated UI buttons…
Debugging
Model Context Protocol · in the page
docs/2026-07-28/tools/debugging
…les to ensure reliable operation * For testing servers directly via command line, the working directory will be where you run the command For example in `claude_desktop_config.json`, use: ```jso…
MCP Inspector
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector
…tooling for testing and debugging MCP servers, in the browser, on the command line, and in the terminal The [MCP Inspector](https://github.com/modelcontextprotocol/inspector) is the reference develop…
Authorization
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/authorization
…), then the default above. All three clients resolve it the same way. Command-line `--client-id` / `--client-secret` / `--client-metadata-url` override `client.json`. The secrets themselves (access a…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…build/index.js --method tools/list ``` > [!TIP] > > Running several commands against the same server, or a flow that spans one > session (tasks, subscriptions, elicitation)? The [mcpdo connection >…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…"filesystem-server-default": { > "type": "stdio", > "command": "npx", > "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"] > }, > "everything-server-defau…
mcpdo connection client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/mcpdo
…pdo connection client > Connect to an MCP server once, then run many commands against that named connection `mcpdo` is an **experimental** command-line client that ships in the `@modelcontextprotoco…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…erver is a process the Inspector spawns. Everything positional is the command line: ```bash theme={null} mcp-inspector node build/index.js -- --verbose --config /etc/myserver.conf ``` Put `--` befor…
Security
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/security
…ou would trust with these secrets. To isolate one you don't, wrap its command in a container, for example `docker run -i --rm --network none <image>` as the stdio command. HTTP and SSE servers run no…
Web client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/web
…ever written or seeded) | No | | `--server-url <url>` or a positional command | One ad-hoc server, held in memory | No | On a first launch the web client seeds the catalog with three sample servers:…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/authorization
…### Keycloak Setup From your terminal application, run the following command to start the Keycloak container: ```bash theme={null} docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=ad…
Local Server Security
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/local-server-security
…that offer one-click installation are required to show you the exact command before it runs ([SEP-1024](/seps/1024-mcp-client-security-requirements-for-local-server-)), but a consent dialog only help…
Security Best Practices
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/security_best_practices
…tacks become possible: 1. An attacker includes a malicious "startup" command in a client configuration 2. An attacker distributes a malicious payload inside the server itself 3. An attacker access…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…py or .js) """ if server_script_path.endswith(".py"): command = "python" elif server_script_path.endswith(".js"): command = "node" else: raise ValueError("Serve…
Build an MCP server
Model Context Protocol · in the page
docs/draft/develop/build-server
…Make sure to restart your terminal afterwards to ensure that the `uv` command gets picked up. Now, let's create and set up our project: ```bash macOS/Linux theme={null} # Create a new directory for…
Connect to local MCP servers
Model Context Protocol · in the page
docs/draft/develop/connect-local-servers
….js to run. Verify your Node.js installation 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](h…
Understanding MCP servers
Model Context Protocol · in the page
docs/draft/learn/server-concepts
…ypically expose prompts through various UI patterns such as: * Slash commands (typing "/" to see available prompts like /plan-vacation) * Command palettes for searchable access * Dedicated UI buttons…
Debugging
Model Context Protocol · in the page
docs/draft/tools/debugging
…les to ensure reliable operation * For testing servers directly via command line, the working directory will be where you run the command For example in `claude_desktop_config.json`, use: ```jso…
MCP Inspector
Model Context Protocol · in the page
docs/draft/tools/inspector
…tooling for testing and debugging MCP servers, in the browser, on the command line, and in the terminal The [MCP Inspector](https://github.com/modelcontextprotocol/inspector) is the reference develop…
Authorization
Model Context Protocol · in the page
docs/draft/tools/inspector/authorization
…), then the default above. All three clients resolve it the same way. Command-line `--client-id` / `--client-secret` / `--client-metadata-url` override `client.json`. The secrets themselves (access a…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…build/index.js --method tools/list ``` > [!TIP] > > Running several commands against the same server, or a flow that spans one > session (tasks, subscriptions, elicitation)? The [mcpdo connection >…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…"filesystem-server-default": { > "type": "stdio", > "command": "npx", > "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"] > }, > "everything-server-defau…
mcpdo connection client
Model Context Protocol · in the page
docs/draft/tools/inspector/mcpdo
…pdo connection client > Connect to an MCP server once, then run many commands against that named connection `mcpdo` is an **experimental** command-line client that ships in the `@modelcontextprotoco…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…erver is a process the Inspector spawns. Everything positional is the command line: ```bash theme={null} mcp-inspector node build/index.js -- --verbose --config /etc/myserver.conf ``` Put `--` befor…
Security
Model Context Protocol · in the page
docs/draft/tools/inspector/security
…ou would trust with these secrets. To isolate one you don't, wrap its command in a container, for example `docker run -i --rm --network none <image>` as the stdio command. HTTP and SSE servers run no…
Web client
Model Context Protocol · in the page
docs/draft/tools/inspector/web
…ever written or seeded) | No | | `--server-url <url>` or a positional command | One ad-hoc server, held in memory | No | On a first launch the web client seeds the catalog with three sample servers:…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/draft/tutorials/security/authorization
…### Keycloak Setup From your terminal application, run the following command to start the Keycloak container: ```bash theme={null} docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=ad…
Local Server Security
Model Context Protocol · in the page
docs/draft/tutorials/security/local-server-security
…that offer one-click installation are required to show you the exact command before it runs ([SEP-1024](/seps/1024-mcp-client-security-requirements-for-local-server-)), but a consent dialog only help…
Security Best Practices
Model Context Protocol · in the page
docs/draft/tutorials/security/security_best_practices
…tacks become possible: 1. An attacker includes a malicious "startup" command in a client configuration 2. An attacker distributes a malicious payload inside the server itself 3. An attacker access…
Example Servers
Model Context Protocol · in the page
examples
…ion: ```json theme={null} { "mcpServers": { "memory": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-memory"] }, "filesystem": { "command": "npx",…
Build an MCP App
Model Context Protocol · in the page
extensions/apps/build
…make sure that you are first in the **app folder** before running the commands above. **4. Test your app** Follow the instructions in [Testing your app](#testing-your-app) below. For the color picke…
The MCP Registry
Model Context Protocol · in the page
registry/about
…npm package name, remote server URL) * Execution instructions (e.g., command-line args, env vars) * Other discovery data (e.g., description, server capabilities) ## The MCP Registry Ecosystem The M…
How to Authenticate When Publishing to the Official MCP Registry
Model Context Protocol · in the page
registry/authentication
…authentication using the `mcp-publisher` CLI tool, run the following commands in your server project directory to generate a TXT record based on a public/private key pair: ```bash Ed25519 theme={nul…
MCP Registry Supported Package Types
Model Context Protocol · in the page
registry/package-types
…hash of the MCPB artifact, which can be computed using the `openssl` command: ```bash theme={null} openssl dgst -sha256 image-processor.mcpb ``` The MCP Registry does not validate this hash; howeve…