English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

MCP Protocol Deep Dive: The 'USB Port' of AI with 5,800+ Servers

Forum topic · 小凯 · 2026-04-24

Summary

This article provides a comprehensive breakdown of the Model Context Protocol (MCP), the open standard initiated by Anthropic that lets any LLM connect to any tool or data source, often compared to the USB interface of the AI ecosystem. It explains MCP's three-layer architecture (Host, Client, Server), its core primitives (Tools, Resources, Prompts), and the evolution of its transport layer from stdio and deprecated SSE to Streamable HTTP, now standard as of the 2025-11-25 spec. The piece traces ecosystem growth from Anthropic's November 2024 draft to 5,800+ servers, with a key turning point in December 2025 when OpenAI announced MCP support in ChatGPT and Codex. It contrasts MCP with vendor-specific Function Calling, analyzes MCP's main security weaknesses (over-permissive installs, prompt injection, supply-chain attacks, since the protocol itself offers no sandboxing), and outlines the 2026 roadmap: transport scaling, agent-to-agent communication, governance, and enterprise readiness. Practical guidance is included for server developers, host developers, and end users.

MCP Protocol Deep Dive: From USB Ports to AI's 'Universal Socket' — the Standardization Ambition Behind 5,800+ Servers

> The Model Context Protocol is not just a tool-calling protocol. It is the AI ecosystem's USB interface — a standardization layer that lets all LLMs, all tools, and all data sources interoperate. This article breaks down MCP from protocol fundamentals and architecture to ecosystem status and engineering practice.

Summary

This is a long-form technical analysis. Key findings:

Key points

The USB analogy

  • Before USB (1996), every peripheral had its own port and driver. Similarly, before MCP, every AI application integrated tools differently: OpenAI Function Calling, LangChain Tools, Claude's Tool Use API — each model switch required rewriting integration code.
  • MCP (Model Context Protocol) is an open standard, initiated by Anthropic and now maintained by an independent MCP organization, built on JSON-RPC 2.0, covering both a transport layer (stdio / Streamable HTTP) and a semantic layer (Tools / Resources / Prompts).
  • What MCP is not: not an LLM framework, not a model API, not a security sandbox, not an Agent framework. It solves only the connection layer: discovering, calling, and managing external tools.
  • Three-layer architecture

  • Host (Claude Desktop, OpenClaw, VS Code, Cursor): owns the UI, conversations, and permissions.
  • Client: connection manager inside the Host; handles JSON-RPC communication, sessions, and capability negotiation. One Host can run many Clients.
  • Server: a process exposing capabilities — local via stdio or remote via Streamable HTTP.
  • Three capability primitives

  • Tools: operations the LLM can invoke, defined by name, description, JSON Schema inputSchema, and a handler. Descriptions are read by the LLM, so their quality directly drives call accuracy.
  • Resources: passive, read-only data identified by URIs (e.g., file:///path/to/config.json, db://users/{id}), supporting static/dynamic resources, templates, and subscriptions via resources/subscribe. Rule of thumb: side effects → Tool; read-only → Resource.
  • Prompts: reusable, parameterized prompt templates defined server-side, treating validated prompts as assets.
  • Transport layer evolution

  • stdio: simple, process-isolated, but local-only, no multi-client concurrency.
  • SSE (deprecated): required two HTTP connections and didn't support request streaming.
  • Streamable HTTP: introduced March 2025, standard in spec v2025-11-25. One HTTP connection for everything, optional streaming, stateful sessions via the Mcp-Session-Id header, session resumption, and backpressure control.
  • Ecosystem growth

    | Milestone | Date | |---|---| | Anthropic publishes MCP spec draft | 2024-11 | | Spec v2025-03-26 introduces Streamable HTTP | 2025-03 | | 1,000+ MCP servers | 2025-06 | | 5,500+ servers, 97M SDK monthly downloads | 2025-10 | | Spec v2025-11-25, Streamable HTTP becomes standard | 2025-11 | | OpenAI announces MCP support (ChatGPT, Codex) | 2025-12 | | 2026 roadmap released, enterprise readiness focus | 2026-03 |

  • The pivotal moment: December 2025, when OpenAI adopted MCP — turning it from "Anthropic's protocol" into an industry standard. Hosts include Claude Desktop, OpenClaw, VS Code Copilot, Cursor, Windsurf, Zed, Cline, JetBrains AI Assistant; servers cover filesystems, databases, Git, Slack, GitHub, Jira, Notion, Figma; models include Claude, GPT, Gemini, DeepSeek, Llama.
  • MCP vs Function Calling

    | Dimension | MCP | Function Calling | |---|---|---| | Defined by | Independent protocol org | Model providers (OpenAI/Anthropic) | | Discovery | Self-describing servers | Hardcoded in the app | | Transport | stdio / HTTP | Embedded in API requests | | State | Stateful sessions | Stateless | | Reuse | One server, many hosts | Per-app implementation | | Ecosystem | 5,800+ servers | Provider-dependent |

  • Rule of thumb: a few APIs in one app → Function Calling; cross-app reuse and multiple data sources → MCP.
  • Security: MCP's Achilles' heel

  • The protocol itself provides no isolation; security is the Host's responsibility. Key risks: over-permissive installs, prompt injection via server content, supply-chain attacks on third-party servers, and data logging by servers.
  • Mitigations: least privilege, sandboxing untrusted servers, audit logging, server signing/verification.
  • 2026 roadmap

    1. Transport scaling (backpressure, connection pooling, load balancing) 2. Agent-to-agent communication — the most notable item; would evolve MCP from "AI connects to tools" into "AI collaborates with AI" 3. Governance (permissions, audit, compliance) 4. Enterprise readiness (SSO, multi-tenancy, SLAs)

    Practical advice

  • Server developers: tool descriptions determine LLM call accuracy; validate parameters strictly with JSON Schema; return structured errors; use resource subscriptions for real-time data; rely on capability negotiation for backward compatibility.
  • Host developers: fine-grained permissions per tool, timeouts/retries, resource caching, full audit logging.
  • Users: install only trusted servers, review permission requests, keep servers updated.
  • Author's take

  • MCP sits between the upper and middle layers of the AI stack — effectively the "operating system interface of AI applications," analogous to POSIX for Unix. Its importance stems not from technical superiority but from defining the connection standard: USB succeeded because everyone agreed to use it, and MCP is following the same path.
  • References

  • MCP official specification: https://modelcontextprotocol.io/specification/2025-11-25
  • MCP 2026 roadmap: https://blog.modelcontextprotocol.io/posts/2026-mcp-roadmap
  • Chinese tutorials: https://github.com/chenmingyong0423/mcp-tutorials
  • Chinese getting-started guide: https://github.com/liaokongVFX/MCP-Chinese-Getting-Started-Guide
  • Ecosystem statistics: https://mcpmanager.ai/blog/mcp-adoption-statistics
  • Security guide: https://mcpmanager.ai/blog/mcp-security-guide
  • MCP vs Function Calling: https://www.webfuse.com/mcp-vs-function-calling

Tags

#mcp#model-context-protocol#anthropic#llm-tools#json-rpc#streamable-http#ai-ecosystem#function-calling

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177618723