{"slug":"mcp","title":"Model Context Protocol (MCP)","description":"The open protocol connecting AI agents to tools, data, and prompts: architecture, transports, server/client capabilities, authorization, the SDKs, and how to build, connect, and publish MCP servers and clients.","tags":["mcp","agents","protocol","tools","llm"],"category":"agents","scope":{"covers":"MCP as of spec 2025-11-25: the host/client/server architecture, stdio and Streamable HTTP transports, the initialize lifecycle, server primitives (resources, tools, prompts) and client capabilities (sampling, roots, elicitation), OAuth 2.1 authorization, protocol utilities, and how to build/connect/debug/publish servers and clients — plus the official Python and TypeScript SDKs, the MCP Inspector, and the official registry.","notCovered":"Individual third-party MCP servers and their specific tools/config; a given host app's MCP settings UI beyond how it connects; the exhaustive JSON field list of every message (read the spec/SDK types); draft SEP proposals. For those, see the server's own docs or modelcontextprotocol.io.","currentAs":"2026-07-07 (2025-11-25)"},"lastUpdated":"2026-07-07","documentCount":30,"raw_base":"/raw/mcp/","html_base":"/wiki/mcp/","xl":null,"documents":[{"path":"README.md","title":"LLM Wiki","type":null,"updated":null,"gated":false},{"path":"wiki/index.md","title":"MCP Knowledge Base — Index","type":"index","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/architecture.md","title":"MCP Architecture","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/authorization.md","title":"Authorization","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/building-a-client.md","title":"Building a Client","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/building-a-server.md","title":"Building a Server","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/connecting-to-servers.md","title":"Connecting to Servers","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/debugging.md","title":"Debugging","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/elicitation.md","title":"Elicitation","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/lifecycle.md","title":"MCP Lifecycle","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/prompts.md","title":"Prompts","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/protocol-utilities.md","title":"Protocol Utilities","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/resources.md","title":"Resources","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/roots.md","title":"Roots","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/sampling.md","title":"Sampling","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/security-best-practices.md","title":"Security Best Practices","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/tools.md","title":"Tools","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/transports.md","title":"MCP Transports","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/versioning.md","title":"MCP Versioning","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/concepts/what-is-mcp.md","title":"What Is MCP","type":"concept","updated":"2026-07-07","gated":false},{"path":"wiki/entities/mcp-apps.md","title":"MCP Apps","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/entities/mcp-inspector.md","title":"MCP Inspector","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/entities/mcp-registry.md","title":"The MCP Registry","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/entities/publishing-to-registry.md","title":"Publishing to the MCP Registry","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/entities/python-sdk.md","title":"MCP Python SDK","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/entities/typescript-sdk.md","title":"MCP TypeScript SDK","type":"entity","updated":"2026-07-07","gated":false},{"path":"wiki/log.md","title":"Activity Log","type":"log","updated":null,"gated":false},{"path":"wiki/syntheses/local-vs-remote-servers.md","title":"Local vs Remote MCP Servers","type":"synthesis","updated":"2026-07-07","gated":false},{"path":"wiki/syntheses/server-feature-picker.md","title":"Server Feature Picker: Resources vs Tools vs Prompts (and Sampling/Elicitation)","type":"synthesis","updated":"2026-07-07","gated":false},{"path":"wiki/syntheses/transport-decision.md","title":"Transport Decision: stdio vs Streamable HTTP","type":"synthesis","updated":"2026-07-07","gated":false}]}