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

920 pages for files.

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

Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …h writes to stderr, or use a logging library that writes to stderr or files. ### Quick Examples ```javascript theme={null} // ❌ Bad (STDIO) console.log("Server started"); // ✅ Good (STDIO) console.… Build with Agent Skills Model Context Protocol · in the page docs/draft/develop/build-with-agent-skills …dget templates, manifest schemas) that the agent reads on demand. The files follow the open format and work with any agent that implements the standard. For example, to install them in Claude Code: `… Connect to local MCP servers Model Context Protocol · in the page docs/draft/develop/connect-local-servers …ts. By the end of this tutorial, Claude will be able to interact with files on your computer, create new documents, organize folders, and search through your file system—all with your explicit permiss… Connect to remote MCP Servers Model Context Protocol · in the page docs/draft/develop/connect-remote-servers …your Claude conversations. You can access these by clicking the "Add files, connectors, and more /" indicator ![](https://mintcdn.com/mcp/cpXzQjUOzyH0mCNH/images/claude-add-files-connectors-and-more.… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/draft/getting-started/intro …ations like Claude or ChatGPT can connect to data sources (e.g. local files, databases), tools (e.g. search engines, calculators) and workflows (e.g. specialized prompts)—enabling them to access key i… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …Code subsequently connects to another MCP server, such as the [local filesystem server](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem), the Visual Studio Code runtime insta… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …heduled for removal. New implementations should pass > directories or files via tool parameters, resource URIs, or server > configuration instead. Roots define filesystem boundaries for server operat… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …er requests. Tools can write to databases, call external APIs, modify files, or trigger other logic. | Search flights Send messages Create calendar events | Model | | **Resources** | Passive data sour… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …anywhere * Always use absolute paths in your configuration and `.env` files to ensure reliable operation * For testing servers directly via command line, the working directory will be where you ru… MCP Inspector Model Context Protocol · in the page docs/draft/tools/inspector …identically across them: the same transports, the same configuration files, the same OAuth state on disk, and the same [protocol-era](/docs/draft/tools/inspector/protocol-eras.md) negotiation (legacy… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …a server that calls `roots/list` (as > `@modelcontextprotocol/server-filesystem` does, to learn its allowed > directories) gets them. See [Configuration and flags](/docs/draft/tools/inspector/config… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration # Configuration and flags > Catalog vs. config files, which client owns which flag, and every environment variable The `mcp-inspector` binary is a launcher: it reads two flags of its own and forward… Security Model Context Protocol · in the page docs/draft/tools/inspector/security …t.json` and `oauth.json` so that sharing, committing or syncing those files does not leak them. These are stored as secrets: * acquired OAuth tokens (access, refresh and ID tokens), subject to [`MCP_… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …launch the web client seeds the catalog with three sample servers: a filesystem server scoped to `/tmp`, the canonical "everything" reference server, and the MCP org's hosted example server (Streamab… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …a `pyproject.toml` file and a `mcp_server` folder. Put all the Python files in the `mcp_server` folder, and fill the `pyproject.toml` file like: ```toml theme={null} [project] name = "mcp-simple-auth… Local Server Security Model Context Protocol · in the page docs/draft/tutorials/security/local-server-security …thing your account can read — SSH keys, cloud credentials, browser profiles, your home directory — and can open outbound network connections to anywhere. None of that is governed by the protocol. It i… Security Best Practices Model Context Protocol · in the page docs/draft/tutorials/security/security_best_practices …m/evil-location # Privilege escalation sudo rm -rf /important/system/files && echo "MCP server installed!" ``` #### Risks Local MCP servers with inadequate restrictions or from untrusted sources in… Example Servers Model Context Protocol · in the page examples …** - Web content fetching and conversion for efficient LLM usage * **[Filesystem](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem)** - Secure file operations with configurable… Build an MCP App Model Context Protocol · in the page extensions/apps/build …, then scaffold a complete project with server, UI, and configuration files. ![Creating a new MCP App with Claude Code](https://mintcdn.com/mcp/GU_E-622SLWFdCrP/images/quickstart-apps/create-mcp-app-… OAuth Client Credentials Model Context Protocol · in the page extensions/auth/oauth-client-credentials …ore secrets in a secrets manager, never in source code or environment files checked into version control. > * Rotate secrets on a regular schedule and immediately after any suspected compromise. > * S… Extension Support Matrix Model Context Protocol · in the page extensions/client-matrix …/skills` | Discover skills and read their instructions and supporting files | ## Support matrix | Client | [MCP Apps](/extensions/apps/overview.md) | [OAuth Client Credentials](/extensions/auth/oaut… Extensions Overview Model Context Protocol · in the page extensions/overview …lls/overview.md) | Discover workflow instructions and read supporting files through MCP resources. | See the [Skills overview](/extensions/skills/overview.md) to get started and the [client matrix](/… Skills Model Context Protocol · in the page extensions/skills/overview …ion allows MCP servers to expose workflow instructions and supporting files to clients. Clients can discover available skills, retrieve their metadata, and read their contents using the existing Resou… MCP Registry Supported Package Types Model Context Protocol · in the page registry/package-types …-processor-mcp/releases/download/v1.0.0/image-processor.mcpb", "fileSha256": "fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce", "transport": { "type": "stdio"… Quickstart: Publish an MCP Server to the MCP Registry Model Context Protocol · in the page registry/quickstart …e publishing the server to the MCP Registry. Ensure the distribution files are built: ```bash theme={null} # Navigate to project directory cd weather-server-typescript # Install dependencies npm in… 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 …"message": "Authorization is required to access your Example Co files." } ] } } } ``` Any elicitations returned in the error **MUST** be URL mode elicitations and include an… SEP-1046: Support OAuth client credentials flow in authorization Model Context Protocol · in the page seps/1046-support-oauth-client-credentials-flow-in-authoriza …t unspecified pending maturity of other RFCs that can define these profiles. The other RFCs include [WIMSE Headless JWT Authentication](https://www.ietf.org/archive/id/draft-levy-wimse-headless-jwt-au… 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 …--> Interest Group + some WGs: client-registration, improve-devx, profiles, tool-scopes * Agents --> Working Group \[Long Running / Async Tool Calls; unless we want an Agents IG on top of that?] * Co… SEP-1330: Elicitation Enum Schema Improvements and Standards Compliance Model Context Protocol · in the page seps/1330-elicitation-enum-schema-improvements-and-standards …t Implementation:** [https://github.com/evalstate/fast-agent/pull/324/files](https://github.com/evalstate/fast-agent/pull/324/files) **Working Demo:** [https://asciinema.org/a/anBvJdqEmTjw0JkKYOooQa5T… SEP-1850: PR-Based SEP Workflow Model Context Protocol · in the page seps/1850-pr-based-sep-workflow …the pull request-based SEP workflow that stores proposals as markdown files in the `seps/` directory of the Model Context Protocol specification repository. The workflow assigns SEP numbers from pull… SEP-2133: Extensions Model Context Protocol · in the page seps/2133-extensions …ependencies with other extensions (or versions of extensions). * **Profiles**: we do not specify a way of grouping extensions. These are omitted not because they are unimportant, but because they may… SEP-2149: MCP Group Governance and Charter Template Model Context Protocol · in the page seps/2149-working-group-charter-template …ocument following this template structure. Charters are stored as MDX files at `docs/community/<group-name>/charter.mdx` in the modelcontextprotocol repository and added to the `docs/docs.json` file.… SEP-2577: Deprecate Roots, Sampling, and Logging Model Context Protocol · in the page seps/2577-deprecate-roots-sampling-and-logging …s Roots provides "informational guidance" about which directories or files a server should operate on. In practice: * **Low adoption**: Few clients implement roots support, and few servers rely on… SEP-2640: Skills Extension Model Context Protocol · in the page seps/2640-skills-extension …P using the existing Resources primitive. A *skill* is a directory of files (minimally a `SKILL.md`) that provides structured workflow instructions to an agent. This extension specifies that each file… SEP-932: Model Context Protocol Governance Model Context Protocol · in the page seps/932-model-context-protocol-governance …on ### Governance Structure #### Contributors * Any individual who files issues, submits pull requests, or participates in discussions * No formal membership or approval required #### Maintainers… Architecture Model Context Protocol · in the page specification/2024-11-05/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1… Lifecycle Model Context Protocol · in the page specification/2024-11-05/basic/lifecycle …| Description | | - | - | - | | Client | `roots` | Ability to provide filesystem [roots](/specification/2024-11-05/client/roots.md) | | Client | `sampling` | Support for LLM [sampling](/specification/… Roots Model Context Protocol · in the page specification/2024-11-05/client/roots …text Protocol (MCP) provides a standardized way for clients to expose filesystem "roots" to servers. Roots define the boundaries of where servers can operate within the filesystem, allowing them to un… Resources Model Context Protocol · in the page specification/2024-11-05/server/resources …rvers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.… Architecture Model Context Protocol · in the page specification/2025-03-26/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1… Lifecycle Model Context Protocol · in the page specification/2025-03-26/basic/lifecycle …| Description | | - | - | - | | Client | `roots` | Ability to provide filesystem [roots](/specification/2025-03-26/client/roots.md) | | Client | `sampling` | Support for LLM [sampling](/specification/… Roots Model Context Protocol · in the page specification/2025-03-26/client/roots …text Protocol (MCP) provides a standardized way for clients to expose filesystem "roots" to servers. Roots define the boundaries of where servers can operate within the filesystem, allowing them to un… Resources Model Context Protocol · in the page specification/2025-03-26/server/resources …rvers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.… Architecture Model Context Protocol · in the page specification/2025-06-18/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1… Lifecycle Model Context Protocol · in the page specification/2025-06-18/basic/lifecycle …| Description | | - | - | - | | Client | `roots` | Ability to provide filesystem [roots](/specification/2025-06-18/client/roots.md) | | Client | `sampling` | Support for LLM [sampling](/specification/… Roots Model Context Protocol · in the page specification/2025-06-18/client/roots …text Protocol (MCP) provides a standardized way for clients to expose filesystem "roots" to servers. Roots define the boundaries of where servers can operate within the filesystem, allowing them to un… Specification Model Context Protocol · in the page specification/2025-06-18/index …LLM interactions * **Roots**: Server-initiated inquiries into uri or filesystem boundaries to operate in * **Elicitation**: Server-initiated requests for additional information from users ### Additi… Schema Reference Model Context Protocol · in the page specification/2025-06-18/schema …the client. Roots allow servers to ask for specific directories or files to operate on. A common example for roots is providing a set of repositories or directories a server should operate on.<… Resources Model Context Protocol · in the page specification/2025-06-18/server/resources …rvers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.… Architecture Model Context Protocol · in the page specification/2025-11-25/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1…
Feedback