Model Context Protocol Specification
MCP specification / schemas · Free
The MCP specification and schemas for AI client interaction with tools, resources, and prompts: it helps create compatible servers and client integrations.
Also known as: modelcontextprotocol/modelcontextprotocol; modelcontext-protocol

What you can use for free
Protocol specification and schemas under their corresponding contribution licenses.
Paid features and costs
The protocol itself does not provide free tools, model APIs, or MCP server hosting.
Access and limitations
Protocol specification and schemas under their corresponding contribution licenses. The protocol itself does not provide free tools, model APIs, or MCP server hosting.
Use cases
- Implement a compatible MCP interface
- Align message schemas and test exchange with a compatible MCP client
Example workflow
A possible workflow; this is not a report of hands-on testing.
Align one tool between a server and client.
Before you start
- An operation description and argument schema.
- A selected protocol edition and test MCP client.
Steps
- Implement connection establishment and declarations of required capabilities.
- Test tool discovery and calls with correct arguments.
- Separately test argument errors and connection termination.
Check your result
- The client sees an aligned schema.
- Errors and access rights are handled explicitly.
Choosing Model Context Protocol Specification
Design a compatible interface between an AI application and tools, resources, or prompt templates.
Choose this when
- A custom tool server for MCP clients is needed.
- The connection lifecycle and capability negotiation need to be understood.
Consider alternatives when
- For one internal client, an ordinary HTTP API may be simpler.
Requirements
- A selected specification edition, client, and server with aligned transport and capabilities.
Things to consider
- MCP does not determine model quality or remove service authorization requirements.
- Support for a specific capability depends on both connection sides.
Frequently asked questions
Does the specification start a ready-made server?
No. This describes a protocol; implementation requires an SDK or your own code and exchange testing.
Related tasks and approaches
- GitHub MCP Server
Example implementation: GitHub tools.
- Playwright MCP
Example implementation: browser control through MCP.
License
Licensing transition: new code/specification Apache-2.0; original contributions without relicensing consent remain MIT; documentation excluding specifications CC-BY-4.0.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsMIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsCustom license — this product's terms apply
The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.
Technologies and topics
- Model Context Protocol Specification
- reference
- Development