Skip to main content
AI engineering glossary

What is MCP (Model Context Protocol)?

MCP (Model Context Protocol) is an open standard introduced by Anthropic in late 2024 that defines how AI assistants connect to external data sources and tools. It standardizes the way LLMs request resources, invoke tools, and access prompts from external servers: making AI integrations interoperable across LLM providers, like USB-C for AI tooling.

Last updated 2026-04-28BearPlex AI Engineering Team

Overview

Before MCP, every LLM provider had its own format for tool calling, resource access, and integration patterns. Building an integration once meant building it again for every other LLM. MCP solves this by defining a JSON-RPC protocol that both LLM clients (Claude Desktop, Cursor, custom agents) and servers (database connectors, API integrations, custom tools) implement. An MCP server built once works with any MCP-compatible client. The protocol launched in November 2024 and was rapidly adopted: by mid-2026, MCP servers exist for hundreds of common services (Postgres, Slack, GitHub, Notion, S3, custom enterprise systems), and most major LLM clients support the protocol natively.

How MCP works

Three primitives: Resources (data the LLM can read: files, database rows, API responses), Tools (actions the LLM can invoke: query a database, send a Slack message, run a script), and Prompts (template prompts the server provides for specific use cases). Servers expose these primitives via a standard JSON-RPC API. Clients (LLM applications) discover what's available, request resources, and invoke tools: the protocol handles authentication, transport (stdio for local servers, HTTP+SSE for remote), and capability negotiation. The LLM sees tools and resources as abstractions, doesn't need to know which server provides them.

Why MCP matters

Three big effects. (1) Build once, run anywhere: an MCP server built for Claude works with Cursor, OpenAI compatibility layers, custom agents, eliminating per-LLM integration work. (2) Ecosystem: hundreds of third-party MCP servers exist for common services, available without writing custom code. (3) Local + remote symmetry: same protocol works for local tools (file system access, local databases) and remote tools (cloud APIs, enterprise services), enabling AI assistants that span both contexts naturally.

Production MCP patterns

For internal enterprise integrations: build MCP servers wrapping your specific systems (Salesforce, Snowflake, internal APIs). Once built, any MCP-compatible LLM client can use them: eliminating per-tool integration work as you adopt new AI applications. For consumer-facing AI: leverage the existing MCP server ecosystem rather than building integrations from scratch. For agentic workflows: MCP standardizes how the agent discovers and calls tools, simplifying multi-tool orchestration.

Use cases

  • Connecting Claude Desktop or Cursor to internal databases, wikis, and APIs
  • Building reusable enterprise integrations that work across all AI clients your company adopts
  • Standardizing tool interfaces for production agentic systems (LangGraph, custom orchestrators)
  • Sharing AI integrations across teams without per-team customization
  • Building third-party MCP servers as products for AI-native software

Examples in production

Anthropic (MCP origin and reference implementation)

Anthropic introduced MCP in November 2024 with reference implementations and the protocol spec. Claude Desktop was the first consumer-facing MCP client.

Source

GitHub MCP server

GitHub's official MCP server provides Claude and other MCP clients with read/write access to issues, pull requests, repositories, and code search.

Source

Cloudflare MCP servers

Cloudflare provides a suite of MCP servers for Workers, KV, R2, D1, and other Cloudflare services: enabling AI assistants to manage Cloudflare infrastructure.

Source

Cursor MCP integration

Cursor's AI code editor implements MCP as a first-class extension mechanism: community has built hundreds of MCP servers for Cursor.

Source

MCP compared to alternatives

AlternativeChoose MCP whenChoose alternative when
Native LLM tool calling (per-provider format)
Each LLM provider's proprietary tool definition format (OpenAI functions, Anthropic tools)
MCP when you want to share tools across multiple LLM clients or LLM providers, or when you're building reusable integrations.Native tool calling when you're building a single-purpose application with one LLM and don't need cross-client portability.
REST APIs
Traditional REST APIs that LLMs can call via HTTP
MCP for LLM-friendly tool integration with structured discovery, capability negotiation, and standardized auth.REST APIs when integrating non-LLM systems or when MCP overhead isn't worth it.

Common pitfalls

  • Building bespoke integrations when MCP servers exist: check the ecosystem before building from scratch.
  • Ignoring authentication: many MCP servers require credentials (API tokens, OAuth). Treat them like any other production secret.
  • Over-broad tool exposure: don't give the LLM access to dangerous actions (mass deletes, financial transfers) without explicit safeguards.
  • Skipping access control on remote MCP servers: if the server provides actions on production systems, the protocol's auth needs to be production-grade.
  • Mixing MCP with raw tool calls: pick MCP or native tool calling for a given agent; mixing creates discovery and consistency problems.
FAQ

Questions about MCP.

MCP is an open standard, and adapters/proxies exist for OpenAI and Google models. Anthropic-native support is most mature (Claude Desktop, Claude API), but MCP servers can be used with any LLM through compatibility layers. Native multi-vendor support is rapidly improving.

Yes, if you're adopting AI assistants company-wide. Build once, your engineers can use the same integration from Claude Desktop, Cursor, custom agents, and future AI tools. Without MCP, every new AI tool requires rebuilding the integration. The investment pays back quickly.

MCP is a protocol, not a plugin system. Plugins typically run in-process inside one application; MCP servers are standalone processes that any compatible client can connect to. This separation enables ecosystem effects: community-built MCP servers benefit all MCP clients without per-application packaging.

The official Anthropic MCP server repository (github.com/modelcontextprotocol) lists dozens of reference servers. Third-party registries collect community contributions. Major services (GitHub, Cloudflare, Notion, Slack) increasingly publish official MCP servers. By mid-2026, the ecosystem covers most common enterprise services.

MCP supports both local (stdio transport, runs inside your trust boundary) and remote (HTTP+SSE transport with auth) servers. Authentication uses standard mechanisms (OAuth, API tokens, custom). Critical: remote MCP servers exposing destructive actions need production-grade access control; the protocol provides hooks but doesn't enforce policy.

Work with BearPlex

Need help implementing MCP?

BearPlex builds production AI systems that use MCP for Fortune 500s and high-growth scale-ups. Outcome-based pricing. 90-day embedded sprints.