Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,027 pages for path.

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

Connect to remote MCP Servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-remote-servers …nsuring it includes the proper protocol (https\://) and any necessary path components. ![Dialog for entering remote MCP server URL](https://mintcdn.com/mcp/4ZXF1PrDkEaJvXpn/images/quickstart-remote/2… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …: "Travel Planning Workspace" } ``` Roots are exclusively filesystem paths and always use the `file://` URI scheme. They help servers understand project boundaries, workspace organization, and access… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …it all to the model. Each resource has a unique URI (e.g., `file:///path/to/document.md`) and declares its MIME type for appropriate content handling. Resources support two discovery patterns: * *… Versioning Model Context Protocol · in the page docs/2025-11-25/learn/versioning …ut is scheduled for removal. Deprecated features document a migration path (or state that none is required) and remain in the specification for at least twelve months, or at least ninety days under th… SDKs Model Context Protocol · in the page docs/2025-11-25/sdk …amples. ## Next Steps Ready to start building with MCP? Choose your path: > **[Build a Server](/docs/2025-11-25/develop/build-server.md)** > > Learn how to create your first MCP server > **[Build… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …nce the client could be started from anywhere * Always use absolute paths in your configuration and `.env` files to ensure reliable operation * For testing servers directly via command line, the w… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …ript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```bash theme={null} npx @modelcontextprotocol/inspector \ uv \ --directory p… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …728). The document is hosted by the MCP server, follows a predictable path pattern, and is provided to the client in the `resource_metadata` parameter within the `WWW-Authenticate` header. ```http th… Security Best Practices Model Context Protocol · in the page docs/2025-11-25/tutorials/security/security_best_practices …MCP servers as child processes, it can provide a critical escalation path from web-based attacks to full system compromise. #### Attack Description **Important**: This attack vector only applies to… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …erver script: ```python theme={null} def server_params(server_script_path: str) -> StdioServerParameters: """Describe the subprocess that runs an MCP server Args: server_script_path:… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …and": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", "run", "weather.py" ] } } } ``` ```json Windows theme={null} { "mcp… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …rs these, the agent skips ahead to the recommendation. ## Deployment paths Based on discovery, the skill recommends one of four paths and scaffolds accordingly: **Remote [Streamable HTTP](/specific… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …LogEntry` above). When an output schema is absent, prefer the simple path: * **Use a generic type and move on.** Accept `any` or `string` and handle the unstructured output downstream. The real fix… Connect to local MCP servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-local-servers …} } ``` Replace `username` with your actual computer username. The paths listed in the `args` array specify which directories the Filesystem Server can access. You can modify these paths or add add… Connect to remote MCP Servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-remote-servers …nsuring it includes the proper protocol (https\://) and any necessary path components. ![Dialog for entering remote MCP server URL](https://mintcdn.com/mcp/4ZXF1PrDkEaJvXpn/images/quickstart-remote/2… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …: "Travel Planning Workspace" } ``` Roots are exclusively filesystem paths and always use the `file://` URI scheme. They help servers understand project boundaries, workspace organization, and access… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …it all to the model. Each resource has a unique URI (e.g., `file:///path/to/document.md`) and declares its MIME type for appropriate content handling. Resources support two discovery patterns: * *… Versioning Model Context Protocol · in the page docs/2026-07-28/learn/versioning …ut is scheduled for removal. Deprecated features document a migration path (or state that none is required) and remain in the specification for at least twelve months, or at least ninety days under th… SDKs Model Context Protocol · in the page docs/2026-07-28/sdk …amples. ## Next Steps Ready to start building with MCP? Choose your path: > **[Build a Server](/docs/2026-07-28/develop/build-server.md)** > > Learn how to create your first MCP server > **[Build… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …nce the client could be started from anywhere * Always use absolute paths in your configuration and `.env` files to ensure reliable operation * For testing servers directly via command line, the w… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …nect to a local stdio server npx @modelcontextprotocol/inspector node path/to/server/index.js # Or launch with no target and add servers from the UI npx @modelcontextprotocol/inspector ``` The comma… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …flag, and the [step-up](#mid-session-re-authorization) policy. | The path to `oauth.json` is resolved in order: `MCP_INSPECTOR_OAUTH_STATE_PATH`, then `<MCP_STORAGE_DIR>/oauth.json` (see [Environment… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …s/list`): reports tool-schema portability problems in full on stderr (path, issue, suggested fix) and exits `6` if any is error-severity. Without it, `tools/list` prints only a one-line count. Under `… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …e the two differ from each other is the table below. | | `--catalog <path>` | `--config <path>` | | - | - | - | | **Writable?** | Yes, the Inspector's own server list. | No. Served as-is, never writt… mcpdo connection client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/mcpdo …mcp-inspector/mcp.json`, overridable with `--catalog` or `MCP_CATALOG_PATH`. `servers/list` and `servers/show <name>` read entries from disk. `connections/*` shows what the daemon currently holds. The… Security Model Context Protocol · in the page docs/2026-07-28/tools/inspector/security …t through. A stdio server gets a short allowlist (`HOME`, `LOGNAME`, `PATH`, `SHELL`, `TERM`, `USER` on macOS and Linux) plus its configured `env:`. So a key in `MCP_INSPECTOR_SECRET_KEY` is not hande… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …Point at a different one with `--client-config` or `MCP_CLIENT_CONFIG_PATH`. See [Authorization](/docs/2026-07-28/tools/inspector/authorization.md) for the full picture. ![](https://mintcdn.com/mcp/… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …mcp-inspector/mcp.json`, seeded on first launch | Yes | | `--catalog <path>` | That file, seeded with the sample servers if missing | Yes | | `--config <path>` | That file, read-only (never written or… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …728). The document is hosted by the MCP server, follows a predictable path pattern, and is provided to the client in the `resource_metadata` parameter within the `WWW-Authenticate` header. ```http th… Local Server Security Model Context Protocol · in the page docs/2026-07-28/tutorials/security/local-server-security …ships only as a stdio process, ask why. It may just be the author's path of least resistance, but it is also exactly how a malicious or overcollecting server gets onto your machine. * **Keep the g… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …MCP servers as child processes, it can provide a critical escalation path from web-based attacks to full system compromise. #### Attack Description **Important**: This attack vector only applies to… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …erver script: ```python theme={null} def server_params(server_script_path: str) -> StdioServerParameters: """Describe the subprocess that runs an MCP server Args: server_script_path:… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …and": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", "run", "weather.py" ] } } } ``` ```json Windows theme={null} { "mcp… Build with Agent Skills Model Context Protocol · in the page docs/draft/develop/build-with-agent-skills …rs these, the agent skips ahead to the recommendation. ## Deployment paths Based on discovery, the skill recommends one of four paths and scaffolds accordingly: **Remote [Streamable HTTP](/specific… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …LogEntry` above). When an output schema is absent, prefer the simple path: * **Use a generic type and move on.** Accept `any` or `string` and handle the unstructured output downstream. The real fix… Connect to local MCP servers Model Context Protocol · in the page docs/draft/develop/connect-local-servers …} } ``` Replace `username` with your actual computer username. The paths listed in the `args` array specify which directories the Filesystem Server can access. You can modify these paths or add add… Connect to remote MCP Servers Model Context Protocol · in the page docs/draft/develop/connect-remote-servers …nsuring it includes the proper protocol (https\://) and any necessary path components. ![Dialog for entering remote MCP server URL](https://mintcdn.com/mcp/4ZXF1PrDkEaJvXpn/images/quickstart-remote/2… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …: "Travel Planning Workspace" } ``` Roots are exclusively filesystem paths and always use the `file://` URI scheme. They help servers understand project boundaries, workspace organization, and access… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …it all to the model. Each resource has a unique URI (e.g., `file:///path/to/document.md`) and declares its MIME type for appropriate content handling. Resources support two discovery patterns: * *… Versioning Model Context Protocol · in the page docs/draft/learn/versioning …ut is scheduled for removal. Deprecated features document a migration path (or state that none is required) and remain in the specification for at least twelve months, or at least ninety days under th… SDKs Model Context Protocol · in the page docs/draft/sdk …amples. ## Next Steps Ready to start building with MCP? Choose your path: > **[Build a Server](/docs/draft/develop/build-server.md)** > > Learn how to create your first MCP server > **[Build a Cli… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …nce the client could be started from anywhere * Always use absolute paths in your configuration and `.env` files to ensure reliable operation * For testing servers directly via command line, the w… MCP Inspector Model Context Protocol · in the page docs/draft/tools/inspector …nect to a local stdio server npx @modelcontextprotocol/inspector node path/to/server/index.js # Or launch with no target and add servers from the UI npx @modelcontextprotocol/inspector ``` The comma… Authorization Model Context Protocol · in the page docs/draft/tools/inspector/authorization …flag, and the [step-up](#mid-session-re-authorization) policy. | The path to `oauth.json` is resolved in order: `MCP_INSPECTOR_OAUTH_STATE_PATH`, then `<MCP_STORAGE_DIR>/oauth.json` (see [Environment… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …s/list`): reports tool-schema portability problems in full on stderr (path, issue, suggested fix) and exits `6` if any is error-severity. Without it, `tools/list` prints only a one-line count. Under `… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration …e the two differ from each other is the table below. | | `--catalog <path>` | `--config <path>` | | - | - | - | | **Writable?** | Yes, the Inspector's own server list. | No. Served as-is, never writt… mcpdo connection client Model Context Protocol · in the page docs/draft/tools/inspector/mcpdo …mcp-inspector/mcp.json`, overridable with `--catalog` or `MCP_CATALOG_PATH`. `servers/list` and `servers/show <name>` read entries from disk. `connections/*` shows what the daemon currently holds. The… Security Model Context Protocol · in the page docs/draft/tools/inspector/security …t through. A stdio server gets a short allowlist (`HOME`, `LOGNAME`, `PATH`, `SHELL`, `TERM`, `USER` on macOS and Linux) plus its configured `env:`. So a key in `MCP_INSPECTOR_SECRET_KEY` is not hande… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …Point at a different one with `--client-config` or `MCP_CLIENT_CONFIG_PATH`. See [Authorization](/docs/draft/tools/inspector/authorization.md) for the full picture. ![](https://mintcdn.com/mcp/gk28X… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …mcp-inspector/mcp.json`, seeded on first launch | Yes | | `--catalog <path>` | That file, seeded with the sample servers if missing | Yes | | `--config <path>` | That file, read-only (never written or…
Feedback