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,054 pages for script.

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/2025-03-26/tools/inspector …veloped or downloaded as a repository, the most common way is: **TypeScript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```bash t… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-03-26/tutorials/security/authorization …cation. The server will require authorization to access these. **TypeScript** You can see the complete TypeScript project in the [sample repository](https://github.com/localden/min-ts-mcp-auth). Pr… Security Best Practices Model Context Protocol · in the page docs/2025-03-26/tutorials/security/security_best_practices …fc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attackers can exp… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …ate virtual environment uv venv # Activate virtual environment .venv\Scripts\activate # Install required packages uv add mcp anthropic python-dotenv # Remove boilerplate files del main.py # Create… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …d weather # Create virtual environment and activate it uv venv .venv\Scripts\activate # Install dependencies uv add mcp[cli] httpx # Create our server file new-item weather.py ``` Now let's dive i… Build with Agent Skills Model Context Protocol · in the page docs/2025-06-18/develop/build-with-agent-skills …# Next steps Once your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: > **[MCP Inspector](/docs/2025-06-18/tools/inspector.md)** > > Test your serve… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices …word matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity retrieval over tool descriptions. Handles synonyms… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …": "calculator_arithmetic", "title": "Calculator", "description": "Perform mathematical calculations including basic arithmetic, trigonometric functions, and algebraic operations",… Understanding MCP clients Model Context Protocol · in the page docs/2025-06-18/learn/client-concepts …newly acquired context. **Elicitation components example:** ```typescript theme={null} { method: "elicitation/create", params: { message: "Please confirm your Barcelona vacation booking det… Understanding MCP servers Model Context Protocol · in the page docs/2025-06-18/learn/server-concepts …tool | Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object",… SDKs Model Context Protocol · in the page docs/2025-06-18/sdk …vailable SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotocol/ty… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …ta="Server started successfully", ) return "done" ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); ```… MCP Inspector Model Context Protocol · in the page docs/2025-06-18/tools/inspector …veloped or downloaded as a repository, the most common way is: **TypeScript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```bash t… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/tutorials/security/authorization …cation. The server will require authorization to access these. **TypeScript** You can see the complete TypeScript project in the [sample repository](https://github.com/localden/min-ts-mcp-auth). Pr… Security Best Practices Model Context Protocol · in the page docs/2025-06-18/tutorials/security/security_best_practices …fc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attackers can exp… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …ate virtual environment uv venv # Activate virtual environment .venv\Scripts\activate # Install required packages uv add mcp anthropic python-dotenv # Remove boilerplate files del main.py # Create… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …d weather # Create virtual environment and activate it uv venv .venv\Scripts\activate # Install dependencies uv add mcp[cli] httpx # Create our server file new-item weather.py ``` Now let's dive i… Build with Agent Skills Model Context Protocol · in the page docs/2025-11-25/develop/build-with-agent-skills …# Next steps Once your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: > **[MCP Inspector](/docs/2025-11-25/tools/inspector.md)** > > Test your serve… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …word matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity retrieval over tool descriptions. Handles synonyms… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …": "calculator_arithmetic", "title": "Calculator", "description": "Perform mathematical calculations including basic arithmetic, trigonometric functions, and algebraic operations",… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …newly acquired context. **Elicitation components example:** ```typescript theme={null} { method: "elicitation/create", params: { message: "Please confirm your Barcelona vacation booking det… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …tool | Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object",… SDKs Model Context Protocol · in the page docs/2025-11-25/sdk …vailable SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotocol/ty… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …ta="Server started successfully", ) return "done" ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); ```… MCP Inspector Model Context Protocol · in the page docs/2025-11-25/tools/inspector …veloped or downloaded as a repository, the most common way is: **TypeScript** ```bash theme={null} npx @modelcontextprotocol/inspector node path/to/server/index.js args... ``` **Python** ```bash t… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …cation. The server will require authorization to access these. **TypeScript** You can see the complete TypeScript project in the [sample repository](https://github.com/localden/min-ts-mcp-auth). Pr… Security Best Practices Model Context Protocol · in the page docs/2025-11-25/tutorials/security/security_best_practices …fc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attackers can exp… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …ate virtual environment uv venv # Activate virtual environment .venv\Scripts\activate # Install required packages uv add mcp anthropic python-dotenv # Remove boilerplate files del main.py # Create… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …d weather # Create virtual environment and activate it uv venv .venv\Scripts\activate # Install dependencies uv add mcp[cli] # Create our server file new-item weather.py ``` Now let's dive into bu… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …# Next steps Once your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: > **[MCP Inspector](/docs/2026-07-28/tools/inspector.md)** > > Test your serve… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …word matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity retrieval over tool descriptions. Handles synonyms… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …. Change notifications are opt-in: the client opens a long-lived [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) stream naming the notification types it wants to recei… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …ple (delivered inside `InputRequiredResult.inputRequests`):** ```typescript theme={null} { method: "elicitation/create", params: { mode: "form", message: "Please confirm your Barcelona va… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …tool | Tool execution result | **Example tool definition:** ```typescript theme={null} { name: "searchFlights", description: "Search for available flights", inputSchema: { type: "object",… SDKs Model Context Protocol · in the page docs/2026-07-28/sdk …vailable SDKs | SDK | Repository | Tier | | :- | :- | -: | | [TypeScript](https://ts.sdk.modelcontextprotocol.io) | [modelcontextprotocol/typescript-sdk](https://github.com/modelcontextprotocol/ty… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …s", report_id) return f"Report {report_id} is ready." ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); ```… MCP Inspector Model Context Protocol · in the page docs/2026-07-28/tools/inspector …urface. | | **CLI** | `npx @modelcontextprotocol/inspector --cli` | A scriptable, machine-readable client for CI, shell pipelines, and coding agents. | | **TUI** | `npx @modelcontextprotocol/inspector… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …human completed OAuth in the web Inspector on this machine, and now a script wants to use that token. | Flag | Behavior | | - | - | | `--use-stored-auth` | Read the stored auth for `--server-url` and… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli # CLI client > Scripting the MCP Inspector: methods, output formats, exit codes, and CI recipes Each CLI run connects to a server, invokes the single request you name with `--method`, prints the res… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …nd there is no flag to override this. | ## CLI-only flags The whole scripting surface belongs to the CLI. See [CLI client](/docs/2026-07-28/tools/inspector/cli.md) for usage. | Group | Flags | | -… mcpdo connection client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/mcpdo …server, agent tool use, multi-step flows over one session (tasks, subscriptions, elicitation) | Connections are held by a local background daemon, `mcpdod`, which `mcpdo` starts on demand and stops… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …ainst silent legacy stdio > servers, and it pollutes the recorded transcript you came here to read. Opting > into `auto` or `modern` is a deliberate act, so what you see in the Protocol > tab is what… Security Model Context Protocol · in the page docs/2026-07-28/tools/inspector/security …kend, but a request that arrives with **no** `Origin` header (curl, a script, any non-browser client) skips that check entirely. * **`GET /` discloses the token.** The backend injects it into the serv… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …ection. | | **Resources** | `r` | Browse and read resources. | | **Subscriptions** | `u` | Subscribe to and unsubscribe from resources (servers that support resource subscriptions). | | **Prompts** |… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …CTOR_API_TOKEN` environment variable to pin a known token (useful for scripted launches), or set `DANGEROUSLY_OMIT_AUTH=true` to disable the check entirely, but only on a machine where nothing else ca… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …cation. The server will require authorization to access these. **TypeScript** You can see the complete TypeScript project in the [sample repository](https://github.com/localden/min-ts-mcp-auth). Pr… Local Server Security Model Context Protocol · in the page docs/2026-07-28/tutorials/security/local-server-security …supply chain attack. 4. **A poisoned tool catalog.** Tool names and descriptions are instructions your model reads. A server can hide directives in them that steer the agent — including how it u… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …fc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attackers can exp… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …ate virtual environment uv venv # Activate virtual environment .venv\Scripts\activate # Install required packages uv add mcp anthropic python-dotenv # Remove boilerplate files del main.py # Create… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …d weather # Create virtual environment and activate it uv venv .venv\Scripts\activate # Install dependencies uv add mcp[cli] # Create our server file new-item weather.py ``` Now let's dive into bu…
Feedback