modelcontextprotocol/modelcontextprotocol
The official spec repo for MCP, a common standard for how AI connects to outside tools and data
This repository holds the specification, protocol schema, and official documentation for the Model Context Protocol, a standard that defines how AI models should connect and communicate with external tools and data sources. The schema is defined first in TypeScript, then also published as JSON Schema for broader compatibility. It was created by David Soria Parra and Justin Spahr-Summers, with official docs hosted at modelcontextprotocol.io.
- docs
- mcp
- specification
- standard
What it does
- Provides the specification for MCP, a standard protocol defining how AI models connect to external tools and data sources
- Schema is authored in TypeScript first, then also made available as JSON Schema so other languages and systems can use it
- Official documentation is built with Mintlify and published at modelcontextprotocol.io
- Has gathered 9031 GitHub stars, reflecting adoption as a standard among AI developers
Why it matters
Without a shared standard, every AI service would need custom integration code to connect to each tool or data source, creating duplicated work. MCP aims to unify this into one common specification so developers can build standardized connections between any AI model and external systems.
Terms in this repo
- MCP (Model Context Protocol) · A standard protocol defining how AI models communicate with external tools and data
- TypeScript · A programming language that adds type-checking to JavaScript
- JSON Schema · A standard format for defining the structure and rules of JSON data
- Mintlify · A tool for building technical documentation websites
Repository description (English)
Specification and documentation for the Model Context Protocol
Open on GitHubProject siteCoverage
Trending repos
- openai/codexOpenAI's coding agent, now runnable straight from your terminal
- cordiverse/cordisA TypeScript framework for snapping feature pieces on and off whenever you need them
- ripienaar/free-for-devA single repo lists every free-tier cloud, API and collaboration tool developers actually need
- Wei-Shaw/sub2apiA relay server that lets one Claude/OpenAI/Gemini/Grok subscription be shared by many users
- multica-ai/andrej-karpathy-skillsA single instruction file that stops AI coding assistants from making silent bad guesses
- eneskirca/nodetermA workspace that puts scattered terminal tabs and AI coding agents on one draggable map
- affaan-m/ECCA toolkit that teaches AI coding agents to work like disciplined engineers
- n8n-io/n8nn8n lets you build automation workflows and AI agents by dragging nodes on a canvas, with code as a fallback
Latest from METAL LAB
- MCP's new roadmap enables stateless horizontal scaling for servers
- Turning Technical Book PDFs Into AI Skills Cuts Token Use Up to 51x
- Founders Are Pulling All-Nighters Just to Keep Up With Their AI Agents
- AI boss Luna made its first firing decision only after a human stepped in
- Anonymous model Ox Alpha matches GLM-5.2 on all 60 tokenizer tests