Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,090 pages for path.

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

Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/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-06-18/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/2025-11-25/develop/build-client …python theme={null} > async def connect_to_server(self, server_script_path: str): > """Connect to an MCP server > > Args: > server_script_path: Path to the server script (.py or .js) >… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …"uv", > "args": [ > "--directory", > "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", > "run", > "weather.py" > ] > } > } > } > ``` > > ```json Windows them… Build with Agent Skills Model Context Protocol · in the page docs/2025-11-25/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](https://m… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/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/2025-11-25/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/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: > [card] [Build a Server](https://modelcontextprotocol.io/docs/2025-11-25/develop/build-server.md) > > Learn how to create… 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 …t > > ```bash theme={null} > npx @modelcontextprotocol/inspector node path/to/server/index.js args... > ``` > [tab] Python > > ```bash theme={null} > npx @modelcontextprotocol/inspector \ > uv \ >… 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 …script: > > ```python theme={null} > def server_params(server_script_path: str) -> StdioServerParameters: > """Describe the subprocess that runs an MCP server > > Args: > server_scrip… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …"uv", > "args": [ > "--directory", > "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", > "run", > "weather.py" > ] > } > } > } > ``` > > ```json Windows them… 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](https://m… 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 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 can declare 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: > [card] [Build a Server](https://modelcontextprotocol.io/docs/2026-07-28/develop/build-server.md) > > Learn how to create… 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 …ct 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 > ``` > >… 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… Load testing Model Context Protocol · in the page docs/2026-07-28/tools/inspector/load-testing …at part. ## Saving every call In the CLI, with `--load`, `--output <path>` writes one NDJSON line per measured call, for analysis the summary can't do: your own histogram, a scatter over time, or a… 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… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …s), or the backend answers `403`. Without a proxy, `INSPECTOR_TLS_KEY_PATH` and `INSPECTOR_TLS_CERT_PATH` serve the UI itself over `https`. | | **Wildcard bind (containers)** | Set `DANGEROUSLY_BIND_A… 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](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/authorization.md) for the full picture… 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 …t first tries `/.well-known/oauth-protected-resource` followed by the path of the MCP endpoint. It then tries the same URL without the path. See [Protected Resource Metadata Discovery Requirements](ht… 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 …script: > > ```python theme={null} > def server_params(server_script_path: str) -> StdioServerParameters: > """Describe the subprocess that runs an MCP server > > Args: > server_scrip… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …"uv", > "args": [ > "--directory", > "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", > "run", > "weather.py" > ] > } > } > } > ``` > > ```json Windows them… 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](https://m… 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 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 can declare 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: > [card] [Build a Server](https://modelcontextprotocol.io/docs/draft/develop/build-server.md) > > Learn how to create your… 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 …ct 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 > ``` > >…
Feedback