MCP Configs2026年4月8日·1 分钟阅读

Anthropic MCP Specification — Protocol Reference

Official Model Context Protocol specification reference. Understand MCP architecture, message format, tool definitions, resource types, and transport protocols for building servers.

What is MCP?

Anthropic's open standard defining how AI applications connect to external tools and data. Just as HTTP is to the web, MCP is the standard protocol for AI integration.

TL;DR: Anthropic's open standard. Protocol for AI to connect to external tools and data. Defines three primitives: Tools/Resources/Prompts. JSON-RPC communication. 200+ servers. The USB-C of AI integration.

Protocol Architecture

Three Primitives

  1. Tools — Actions the AI can execute
  2. Resources — Data the AI can read
  3. Prompts — Reusable prompt templates

Transports

stdio (local), HTTP+SSE (remote), Streamable HTTP (modern remote).

SDKs

TypeScript, Python, Kotlin, C#.

FAQ

Q: Claude-only? A: No — it's an open standard; Cursor, Codex, and more support it.

Q: Can I write it in Python? A: Yes — the mcp package is fully featured.

🙏

来源与感谢

讨论

登录后参与讨论。
还没有评论,来写第一条吧。