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

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

Authorization Model Context Protocol · in the page docs/draft/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/draft/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/draft/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/draft/tools/inspector/cli.md) for usage. | Group | Flags | | - | - |… mcpdo connection client Model Context Protocol · in the page docs/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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/draft/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… Example Servers Model Context Protocol · in the page examples …munity members. ## Getting started ### Using reference servers TypeScript-based servers can be used directly with `npx`: ```bash theme={null} npx -y @modelcontextprotocol/server-memory ``` Python… Build an MCP App Model Context Protocol · in the page extensions/apps/build …since MCP Apps combine both primitives. Experience with the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) will help you better understand the server-side patterns. ##… MCP Apps Model Context Protocol · in the page extensions/apps/overview …ing tools to declare a reference to an interactive UI in their tool description that the host renders in place. The core pattern combines two MCP primitives: a tool that declares a UI resource in its… Enterprise-Managed Authorization Model Context Protocol · in the page extensions/auth/enterprise-managed-authorization …e with IdP admin APIs** (optional) — publish your server's resource descriptor so enterprise administrators can configure access policies in their IdP admin console. ### For MCP Authorization Servers… OAuth Client Credentials Model Context Protocol · in the page extensions/auth/oauth-client-credentials …acquisition and refresh automatically. **1. Install the SDK** **TypeScript** ```bash theme={null} npm install @modelcontextprotocol/client ``` **Python** ```bash theme={null} pip install mcp ```… Extension Support Matrix Model Context Protocol · in the page extensions/client-matrix …protocol/pulls). ## Extension overview | Extension | Identifier | Description | | - | - | - | | [MCP Apps](/extensions/apps/overview.md) | `io.modelcontextprotocol/ui` | Interactive HTML interfaces… Extensions Overview Model Context Protocol · in the page extensions/overview …rization mechanisms beyond the core > specification. | Extension | Description | | - | - | | [OAuth Client Credentials](/extensions/auth/oauth-client-credentials.md) | OAuth 2.0 client credentials fl… Skills Model Context Protocol · in the page extensions/skills/overview …user. Skills can be selected by the model based on their names and descriptions, or explicitly by the user. The extension does not mandate a specific user interaction model. Reading `SKILL.md` throu… Tasks Model Context Protocol · in the page extensions/tasks/overview …tes via `notifications/tasks`. Clients opt into these through the `subscriptions/listen` mechanism. Each notification carries the full task state, eliminating the need for an extra `tasks/get` round-t… The MCP Registry Model Context Protocol · in the page registry/about …s (e.g., command-line args, env vars) * Other discovery data (e.g., description, server capabilities) ## The MCP Registry Ecosystem The MCP Registry is part of an ecosystem that looks something like… How to Authenticate When Publishing to the Official MCP Registry Model Context Protocol · in the page registry/authentication …` ```bash Azure Key Vault theme={null} MY_DOMAIN="example.com" MY_SUBSCRIPTION="subscription name or ID" MY_RESOURCE_GROUP="MyResourceGroup" MY_KEY_VAULT="MyKeyVault" MY_KEY_NAME="MyKey" # Log in us… The MCP Registry Moderation Policy Model Context Protocol · in the page registry/moderation-policy …ovide a fixed response with some marketing copy * A server with a description stuffed with marketing copy and an unrelated implementation * Non-functioning servers ## What We Don't Remove Generall… MCP Registry Supported Package Types Model Context Protocol · in the page registry/package-types …username/email-integration-mcp", "title": "Email Integration", "description": "Send emails and manage email accounts", "version": "1.0.0", "packages": [ { "registryType": "npm",… Quickstart: Publish an MCP Server to the MCP Registry Model Context Protocol · in the page registry/quickstart …is tutorial will show you how to publish an MCP server written in TypeScript to the MCP Registry using the official `mcp-publisher` CLI tool. ## Prerequisites * **Node.js** — This tutorial assumes t… MCP Registry Aggregators Model Context Protocol · in the page registry/registry-aggregators …username/email-integration-mcp", "title": "Email Integration", "description": "Send emails and manage email accounts", "version": "1.0.0", "packages": [ { "registryType": "npm",… Publishing Remote Servers Model Context Protocol · in the page registry/remote-servers …ame": "com.example/acme-analytics", "title": "ACME Analytics", "description": "Real-time business intelligence and reporting platform", "version": "2.0.0", "remotes": [ { "type": "st… Official MCP Registry Terms of Service Model Context Protocol · in the page registry/terms-of-service …e that metadata about MCP servers you submit (e.g., schema name and description, URLs, identifiers) and other Registry Data is intended to be public, and will be dedicated to the public domain under [… Versioning Published MCP Servers Model Context Protocol · in the page registry/versioning …username/email-integration-mcp", "title": "Email Integration", "description": "Send emails and manage email accounts", "version": "1.0.0", "packages": [ { "registryType": "npm",… SEP-1034: Support default values for all primitive types in elicitation schemas Model Context Protocol · in the page seps/1034--support-default-values-for-all-primitive-types-in …nd prepare an elicitation request with the defaults setup ``` ```typescript theme={null} const response = await client.request("elicitation/create", { message: "Configure email reply", requestedS… SEP-1036: URL Mode Elicitation for secure out-of-band interactions Model Context Protocol · in the page seps/1036-url-mode-elicitation-for-secure-out-of-band-intera …factor emerging from discussions in #234 and #284. 3. Payment and Subscription Flows: Financial transactions require PCI compliance and secure payment processing that cannot be achieved through in-ba… SEP-1302: Formalize Working Groups and Interest Groups in MCP Governance Model Context Protocol · in the page seps/1302-formalize-working-groups-and-interest-groups-in-mc …ntextprotocol/pull/1302) | *** ## Abstract *A short (\~200 word) description of the technical issue being addressed.* In [SEP-994](https://github.com/modelcontextprotocol/modelcontextprotocol/pull… SEP-1303: Input Validation Errors as Tool Execution Errors Model Context Protocol · in the page seps/1303-input-validation-errors-as-tool-execution-errors …departure dates using the following `zod` validation schema: ```typescript theme={null} departureDate: z.string() .regex(/^\d{2}\/\d{2}\/\d{4}$/, "date must be in dd/mm/yyyy format") .superRefin… SEP-1330: Elicitation Enum Schema Improvements and Standards Compliance Model Context Protocol · in the page seps/1330-elicitation-enum-schema-improvements-and-standards …//github.com/modelcontextprotocol/modelcontextprotocol/pull/1148) Typescript SDK Changes: [https://github.com/modelcontextprotocol/typescript-sdk/pull/1077](https://github.com/modelcontextprotocol/typ… SEP-1577: Sampling With Tools Model Context Protocol · in the page seps/1577--sampling-with-tools …on: [toolLoopSampling.ts](https://github.com/modelcontextprotocol/typescript-sdk/blob/ochafik/sep1577/src/examples/server/toolLoopSampling.ts)) In the "Possible Follow ups" Section below, we give exa… SEP-1613: Establish JSON Schema 2020-12 as Default Dialect for MCP Model Context Protocol · in the page seps/1613-establish-json-schema-2020-12-as-default-dialect-f …arameters: ```json theme={null} { "name": "get_current_time", "description": "Returns the current server time", "inputSchema": { "type": "object", "additionalProperties": false } } ``… SEP-1686: Tasks Model Context Protocol · in the page seps/1686-tasks …he `tasks/get` request retrieves the current state of a task: ```typescript theme={null} { taskId: string; // The task identifier to query } ``` #### Task Get Response The `tasks/get` response in… SEP-2106: Tools `inputSchema` & `outputSchema` Conform to JSON Schema 2020-12 Model Context Protocol · in the page seps/2106-json-schema-2020-12 …ification ### 1. Loosen inputSchema **Current definition:** ```typescript theme={null} inputSchema: { type: "object"; properties?: { [key: string]: object }; required?: string[]; }; ``` **Pr… SEP-2127: MCP Server Cards - HTTP Server Discovery Model Context Protocol · in the page seps/2127-mcp-server-cards …odelcontextprotocol/experimental-ext-server-card) repository. The TypeScript file [`schema.ts`](https://github.com/modelcontextprotocol/experimental-ext-server-card/blob/main/schema.ts) is the single… SEP-2133: Extensions Model Context Protocol · in the page seps/2133-extensions …ent capabilities before offering extension-specific features: ```typescript theme={null} const hasUISupport = clientCapabilities?.extensions?.[ "io.modelcontextprotocol/ui" ]?.mimeTypes?.includes("… SEP-2148: MCP Contributor Ladder Model Context Protocol · in the page seps/2148-contributor-ladder …ways to advancement: #### Code Contributions * SDK development (TypeScript, Python, etc.) * Testing infrastructure * Tooling and developer experience #### Specification Work * Drafting or refining… SEP-2149: MCP Group Governance and Charter Template Model Context Protocol · in the page seps/2149-working-group-charter-template …without holding org-wide Member status, and vice versa. | Level | Description | Privileges | | - | - | - | | **Observer** | Anyone interested in following the group's work | Read access, may attend… SEP-2164: Standardize Resource Not Found Error Code Model Context Protocol · in the page seps/2164-resource-not-found-error …inconsistent — only 4 of 6 official SDKs use `-32002`, while the TypeScript SDK uses `-32602` and the Python SDK uses `0`. This SEP standardizes on `-32602` (Invalid Params), the correct JSON-RPC er… SEP-2207: OIDC-Flavored Refresh Token Guidance Model Context Protocol · in the page seps/2207-oidc-refresh-token-guidance …ing this guidance will be provided in the official MCP SDKs: * **TypeScript SDK**: Client-side `offline_access` scope handling * **Python SDK**: Client-side `offline_access` scope handling * **Author… SEP-2243: HTTP Header Standardization for Streamable HTTP Transport Model Context Protocol · in the page seps/2243-http-standardization …e not permitted. Integer values MUST be within the safe range for JavaScript (−2^53+1 to 2^53−1) * MAY be applied to properties at any nesting depth within the `inputSchema`, not only top-level proper… SEP-2322: Multi Round-Trip Requests Model Context Protocol · in the page seps/2322-MRTR …he responses to those requests. Here's how that would look in the typescript MCP schema: ```typescript theme={null} export type InputRequest = CreateMessageRequest | ElicitRequest | ListRootsReques… SEP-2468: Recommend Issuer (iss) Parameter in MCP Auth Responses Model Context Protocol · in the page seps/2468-recommend-issuer-claim-for-auth …k#859](https://github.com/modelcontextprotocol/go-sdk/pull/859) * TypeScript SDK: [modelcontextprotocol/typescript-sdk#1957](https://github.com/modelcontextprotocol/typescript-sdk/pull/1957) Both rec… SEP-2484: Require Conformance Tests for Standards Track SEPs to Reach Final Status Model Context Protocol · in the page seps/2484-conformance-tests-required-for-final-seps …n must do: the normative requirements as executable assertions. A TypeScript reference implementation tells a Rust maintainer little about whether their code is correct. A conformance test tells them… SEP-2549: TTL for List Results Model Context Protocol · in the page seps/2549-TTL-for-list-results …complexity**: Both clients and servers must implement notification subscription and delivery infrastructure. Many simple servers have feature lists that change infrequently (or never), yet must still… SEP-2567: Sessionless MCP via Explicit State Handles Model Context Protocol · in the page seps/2567-sessionless-mcp …a Playwright browser instance, a database transaction, an open file descriptor. 4. **Mutable list endpoints.** `tools/list` (and `resources/list`, `prompts/list`) can legally return different results…
Feedback