MCPcopy Index your code
hub / github.com/modelcontextprotocol/modelcontextprotocol

github.com/modelcontextprotocol/modelcontextprotocol @2025-11-25 sqlite

repository ↗ · DeepWiki ↗ · release 2025-11-25 ↗
468 symbols 492 edges 9 files 15 documented · 3%
README

Model Context Protocol (MCP)

Just heard of MCP and not sure where to start? Check out our documentation website.

This repo contains the:

  • MCP specification
  • MCP protocol schema
  • Official MCP documentation

The schema is defined in TypeScript first, but made available as JSON Schema as well, for wider compatibility.

The official MCP documentation is built using Mintlify and available at modelcontextprotocol.io.

Authors

The Model Context Protocol was created by David Soria Parra (@dsp) and Justin Spahr-Summers (@jspahrsummers).

Contributing

See CONTRIBUTING.md.

License

This project is licensed under the MIT License.

Extension points exported contracts — how you extend this code

Request (Interface)
(no doc)
schema/2025-06-18/schema.ts
TaskAugmentedRequestParams (Interface)
(no doc)
schema/2025-11-25/schema.ts
TaskAugmentedRequestParams (Interface)
(no doc)
schema/draft/schema.ts
Request (Interface)
(no doc)
schema/2024-11-05/schema.ts
Request (Interface)
(no doc)
schema/2025-03-26/schema.ts
Notification (Interface)
(no doc)
schema/2025-06-18/schema.ts
RequestParams (Interface)
(no doc)
schema/2025-11-25/schema.ts
RequestParams (Interface)
(no doc)
schema/draft/schema.ts

Core symbols most depended-on inside this repo

getReflectionCategory
called by 2
typedoc.plugin.mjs
generateSchema
called by 2
scripts/generate-schemas.ts
getFullUrl
called by 1
typedoc.plugin.mjs
getAnchor
called by 1
typedoc.plugin.mjs
hasComment
called by 1
typedoc.plugin.mjs
buildPageEvents
called by 1
typedoc.plugin.mjs
renderTemplate
called by 1
typedoc.plugin.mjs
getReflectionOrder
called by 1
typedoc.plugin.mjs

Shape

Interface 450
Function 14
Class 2
Method 2

Languages

TypeScript100%

Modules by API surface

schema/draft/schema.ts120 symbols
schema/2025-11-25/schema.ts120 symbols
schema/2025-06-18/schema.ts76 symbols
schema/2025-03-26/schema.ts68 symbols
schema/2024-11-05/schema.ts66 symbols
typedoc.plugin.mjs15 symbols
scripts/generate-schemas.ts3 symbols

Dependencies from manifests, versioned

github.com/adityatelange/hugo-PaperModv0.0.0-2025091317384 · 1×
@eslint/js9.8.0 · 1×
ajv8.17.1 · 1×
ajv-formats3.0.1 · 1×
eslint9.8.0 · 1×
glob11.0.0 · 1×
prettier3.6.2 · 1×
tsx4.19.1 · 1×
typedoc0.28.14 · 1×
typescript5.6.2 · 1×
typescript-eslint8.0.0 · 1×

For agents

$ claude mcp add modelcontextprotocol \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact