Integrations

Model Context Protocol

Build AI applications that connect to any tool, data source, or service through a single open standard — MCP is the universal protocol for integrating AI models with the world around them.

What is the Model Context Protocol?

The Model Context Protocol (MCP) is an open standard introduced by Anthropic in November 2024 that defines a universal, vendor-neutral way for AI models to connect to external tools, data sources, and services. Before MCP, every AI integration required a bespoke implementation — each model, each tool, and each platform spoke a different language. MCP solves this fragmentation by providing a common protocol: build once to the MCP standard and your server works with any MCP-compatible AI host, whether that is Claude, an IDE extension, an autonomous agent framework, or a custom application.

What Does the Protocol Provide?

MCP defines three core primitives that cover the full range of AI-to-world interactions:

  • Tools — executable functions that an AI model can invoke to perform actions: running queries, calling APIs, writing files, or triggering workflows. Tools are the primary mechanism for giving AI models agency in the world.
  • Resources — structured data or content that the AI host can read and include in context: database records, file contents, live metrics, or any information a model needs to reason about. Resources are read-only and optimised for context injection.
  • Prompts — reusable, parameterised prompt templates published by a server that users and hosts can invoke to standardise common AI interactions within a product or workflow.
  • Sampling — a mechanism that allows MCP servers to request completions from the connected AI model, enabling server-side agentic behaviour without the server needing its own model API access.
  • Transport layer — MCP supports both stdio (for local process communication) and HTTP with Server-Sent Events (for remote, networked servers), covering local tooling and cloud-deployed services alike.

What Can It Be Used For?

MCP enables a wide range of AI integration patterns that were previously complex to build and maintain:

  • Connecting AI assistants to internal systems — expose your databases, CRMs, project management tools, or code repositories as MCP servers so that AI models can read and act on live business data
  • Building AI-native developer tooling — IDE extensions, code review agents, and CI/CD assistants use MCP to give AI models structured access to codebases, terminal output, and deployment pipelines
  • Composing multi-tool agents — autonomous agents connect to multiple MCP servers simultaneously, combining capabilities from different services (search, storage, APIs) under a single coordinated reasoning loop
  • Standardising enterprise AI integrations — rather than maintaining point-to-point integrations between each AI model and each internal tool, organisations build one MCP server per service and get compatibility with the entire MCP ecosystem
  • Powering Claude Desktop and Claude Code — MCP is the native extension mechanism for Anthropic’s own products; servers built to the MCP spec integrate directly into Claude’s tools panel without any additional configuration

How Can It Be Implemented or Integrated?

MCP has official SDK support across multiple languages and straightforward local and remote deployment options:

  • TypeScript/Node.js SDK — the @modelcontextprotocol/sdk package provides a complete server and client implementation with full type safety
  • Python SDK — the mcp PyPI package mirrors the TypeScript SDK with Pythonic idioms and async support via asyncio
  • Additional SDKs — community and official SDKs are available for Java, Kotlin, C#/.NET, and Swift, covering server-side and mobile runtimes
  • Claude Desktop — add any MCP server via the claude_desktop_config.json configuration file; the host manages discovery, connection, and tool presentation automatically
  • Claude Code — MCP servers are configured per-project or globally and appear as tools available to Claude in the CLI and IDE extension
  • Agent frameworks — LangChain, LlamaIndex, and other orchestration frameworks provide MCP client adapters, allowing existing agent stacks to consume MCP servers without rewriting tool definitions

What Are the Strengths, Limitations, and Best-Fit Scenarios?

Strengths:

  • Open standard with a published specification — no vendor lock-in, and the growing ecosystem means many servers already exist for popular services (GitHub, Slack, databases, browsers, and more)
  • A single MCP server implementation works across all compatible hosts, eliminating the need to maintain separate integrations for each AI platform
  • Clean separation of concerns: server authors define capabilities without knowing which AI model will use them; model authors consume capabilities without knowing the underlying implementation
  • Active development and rapidly expanding community with hundreds of publicly available server implementations

Limitations:

  • The protocol is relatively new (released late 2024) and some aspects of the specification — particularly around authentication, authorisation, and multi-tenant remote servers — are still maturing
  • Running untrusted MCP servers carries security implications; tool invocations have real-world effects, and the permissions model requires careful configuration in production environments
  • Remote MCP server deployment adds operational overhead compared to direct API calls — appropriate for persistent, shared tools but overkill for simple, one-off integrations

Best-fit scenarios: MCP is the right choice for any team building AI features that need to interact with external systems in a maintainable, scalable way. It is especially well suited to organisations standardising AI tooling across multiple products or teams, developers building Claude integrations who want native compatibility with Claude Desktop and Claude Code, and engineering teams constructing autonomous agents that must coordinate actions across multiple services.

Created by

Anthropic

Specification

MCP Specification