The Model Context Protocol (MCP) repository is the source of the specification and documentation for the MCP protocol.
Purpose: This repository is intended for developers who want to understand or implement MCP, providing the protocol specification, protocol schema, and official documentation. If you are new to MCP and do not know where to start, you can first visit its documentation website.
Main contents: The repository contains three parts: the MCP specification, the MCP protocol schema, and the official MCP documentation. The schema is first defined in TypeScript, with JSON Schema also provided for broader compatibility across different languages and tools. The official documentation is built with Mintlify and published at modelcontextprotocol.io.
Usage: To read the specification and documentation, visit the documentation website; when implementing or validating, you can refer to the TypeScript definitions and JSON Schema in the repository. The repository does not provide installation commands or code examples, and related materials are not yet available.
Contributing: Specification changes must first be discussed and approved in the relevant working group before a Pull Request or SEP can be submitted. Pull Requests are limited to members of the modelcontextprotocol GitHub organization; others can report bugs and issues by opening an issue, or participate by joining a working group. See CONTRIBUTING.md for details.
Applicable scenarios: Suitable for developers and organizations that need to consult MCP protocol definitions, implement or integrate the protocol, or participate in protocol evolution.
Limitations: The repository itself is a specification and documentation project and does not provide a runtime implementation or hosted service; contribution permissions are restricted, and non-organization members cannot directly submit Pull Requests. The project uses the MIT license.