Model Context Protocol (MCP): Why It's the USB-C of AI
by Sandlabs Team, Founder, Sandlabs
Remember the drawer full of chargers? Micro-USB for your old Android. Lightning for your iPhone. MagSafe for your MacBook. A proprietary barrel plug for your monitor. Every device demanded its own cable, its own connector, its own standard.
Then USB-C arrived. One port. One cable. Everything just works.
That drawer full of chargers? That's what AI integrations looked like before the Model Context Protocol (MCP). Every AI model needed its own custom connector for every tool. Slack needed one integration for Claude, a different one for ChatGPT, yet another for Gemini. Multiply that across every model and every tool in your stack, and you get an explosion of brittle glue code.
MCP is the USB-C moment for AI.
What Is Model Context Protocol?
Model Context Protocol (MCP) is an open standard created by Anthropic that defines how AI models connect to external tools, data sources, and services through a single, universal interface. Instead of building custom integrations for every AI-tool combination, developers build one MCP server per tool and one MCP client per AI model. Any model can then talk to any tool through the same protocol.
MCP uses JSON-RPC 2.0 under the hood, which means it's lightweight, language-agnostic, and built on battle-tested web standards. It was open-sourced in late 2024 and has since grown to over 12,000 community-built servers.
The Charger Drawer Problem
Let's make this concrete. Say your company uses five AI models and ten business tools. Without MCP, you're looking at potentially 50 custom integrations — one for every model-tool combination. Each with its own authentication flow, data format, error handling, and maintenance burden.
With MCP, you need 15 components: ten MCP servers (one per tool) and five MCP clients (one per model). That's a 70% reduction in integration work. And the math gets dramatically better as you scale.
Here's the before-and-after:
Without MCP:
- Claude + Slack = custom integration
- Claude + GitHub = custom integration
- Claude + your CRM = custom integration
- ChatGPT + Slack = different custom integration
- ChatGPT + GitHub = different custom integration
- ... you get the idea. It scales multiplicatively.
With MCP:
- Slack MCP server = works with Claude, ChatGPT, Gemini, Cursor, and any future model
- GitHub MCP server = same
- Your CRM MCP server = same
Build once, connect everywhere. That's the USB-C promise.
MCP Architecture: Hosts, Clients, and Servers
The Model Context Protocol has three participants in every interaction. Understanding these is key to building with MCP.
MCP Host
The host is the AI application your user actually interacts with. Claude Desktop, Claude Code, Cursor, VS Code with Copilot, ChatGPT — these are all MCP hosts. The host is responsible for managing connections, enforcing security policies, and coordinating between the AI model and the MCP clients.
MCP Client
The client lives inside the host and maintains a one-to-one connection with a single MCP server. If your host is connected to five tools, it runs five MCP clients — one per server. The client handles the JSON-RPC communication, capability negotiation, and message routing.
MCP Server
The server is where the magic happens. It's a lightweight program that exposes your tool's capabilities to the AI model. You build it (or install a community-built one), and it acts as a controlled gateway between the AI and your external systems.
MCP servers expose three types of capabilities, called primitives:
- Tools — Executable functions the AI can call. Think "query the database," "send a Slack message," "create a Jira ticket." Tools are model-controlled, meaning the AI decides when and how to use them based on the user's request.
- Resources — Read-only data sources the AI can access. File contents, database records, API responses, configuration data. Resources are application-controlled, meaning the host app decides when to fetch them.
- Prompts — Reusable interaction templates that guide the AI's behaviour for specific tasks. These are user-controlled, meaning the user explicitly selects them.
How They Work Together
Here's what happens when you ask Claude "What are our open support tickets?":
- Claude (the host) recognises this needs external data
- The MCP client sends a JSON-RPC request to your helpdesk MCP server
- The server authenticates with your helpdesk API, fetches open tickets, and returns structured data
- Claude formats the response and presents it naturally
The user never sees the protocol handshake, the API call, or the data transformation. They just get an answer.
Transport Mechanisms
MCP supports two ways for clients and servers to communicate:
stdio (Standard Input/Output) — The server runs as a local process on your machine. Communication happens through stdin/stdout. This is the simplest option and ideal for development, local tools, and CLI-based workflows.
Streamable HTTP — The server runs remotely and communicates over HTTP with Server-Sent Events (SSE) for streaming. This is the production-ready option for team deployments, cloud-hosted tools, and enterprise environments.
Most developers start with stdio for prototyping and move to Streamable HTTP for production. Here's what each looks like in practice.
stdio Configuration
{
"mcpServers": {
"my-database": {
"command": "python",
"args": ["-m", "my_db_server"],
"env": {
"DATABASE_URL": "postgresql://localhost:5432/mydb"
}
}
}
}
Streamable HTTP Configuration
{
"mcpServers": {
"my-database": {
"url": "https://mcp.mycompany.com/database",
"headers": {
"Authorization": "Bearer ${MCP_AUTH_TOKEN}"
}
}
}
}
Both configurations go into your MCP host's config file (e.g., claude_desktop_config.json for Claude Desktop or .mcp.json for Claude Code). The host reads this on startup and connects to each server automatically.
A Simple MCP Server in 30 Lines
Here's a minimal MCP server in Python that exposes a single tool:
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("company-tools")
@mcp.tool()
async def get_team_availability(date: str) -> str:
"""Check which team members are available on a given date.
Args:
date: The date to check in YYYY-MM-DD format
"""
# In practice, this would query your calendar API
available = ["Alice", "Bob", "Charlie"]
return f"Available on {date}: {', '.join(available)}"
@mcp.resource("company://handbook/{section}")
async def get_handbook_section(section: str) -> str:
"""Fetch a section of the company handbook."""
# In practice, this would read from your knowledge base
return f"Content for handbook section: {section}"
if __name__ == "__main__":
mcp.run()
Run it with python server.py and connect it via stdio. Claude can now check team availability and read your company handbook — through the same standardised protocol used by thousands of other MCP servers.
If you're ready to build something more substantial, we've written a detailed walkthrough in our guide to building custom MCP connectors that covers authentication, error handling, deployment, and production best practices.
Who's Adopting MCP?
MCP has moved well beyond Anthropic's ecosystem. The adoption curve has been steep:
- Anthropic — Claude Desktop, Claude Code, and the Claude API all support MCP natively. Anthropic created the protocol and continues to drive its development.
- OpenAI — ChatGPT added MCP support in early 2025, giving the protocol cross-vendor legitimacy.
- Google — Gemini integrated MCP support, cementing it as the industry standard.
- Cursor — The AI-powered code editor was one of the earliest MCP adopters, using it to connect AI to codebases, documentation, and dev tools.
- VS Code — GitHub Copilot in VS Code supports MCP, bringing it to millions of developers.
- Sourcegraph, Replit, Zed, Windsurf — The list of dev tools adopting MCP keeps growing.
The community has built over 12,000 MCP servers covering everything from Slack and Google Drive to Salesforce, PostgreSQL, and obscure internal tools. The ecosystem is self-reinforcing: the more servers exist, the more valuable it is for hosts to support MCP, which drives more server development.
Why MCP Matters for the AI Ecosystem
MCP isn't just a developer convenience. It's reshaping how AI integrations are built, deployed, and maintained.
Interoperability Without Vendor Lock-in
Build an MCP server for your internal CRM once, and it works with Claude today, ChatGPT tomorrow, and whatever model comes next. You're not betting on a single AI vendor. Your integration investment is portable.
Security as a First-Class Concern
MCP servers run in your environment, on your infrastructure. The AI model never gets direct access to your database credentials or API keys. The server acts as a controlled gateway with explicit permission boundaries. You decide exactly what the AI can and can't do.
Composable AI Workflows
This is where MCP gets genuinely exciting. Because the protocol is standardised, an AI agent can chain together multiple MCP servers in a single workflow:
- Query your database for overdue invoices
- Look up customer details in your CRM
- Draft a follow-up email
- Send it via your email server
Each step uses a different MCP server. The AI orchestrates the entire workflow. No human needed to copy-paste between tools.
Dramatically Lower Maintenance
When Slack changes their API, you update one MCP server. Not fifty integration scripts scattered across your codebase. When you switch AI models, your MCP servers keep working without changes. The protocol layer absorbs the complexity.
Common Misconceptions
"MCP is just function calling." Function calling is one piece. MCP adds standardised discovery (the AI learns what tools are available), resource access (read-only data), prompt templates, capability negotiation, and security boundaries. It's a full protocol, not just an API pattern.
"MCP is only for Claude." It was created by Anthropic, but it's an open standard now supported by ChatGPT, Gemini, Cursor, VS Code, and dozens of other tools. It's vendor-neutral by design.
"MCP servers are hard to build." A basic MCP server is about 30 lines of Python. The FastMCP framework handles all the protocol details. If you can write a Python function, you can build an MCP server.
"MCP replaces APIs." MCP sits on top of APIs. Your MCP server calls your existing APIs under the hood. It doesn't replace them — it provides a standardised interface for AI models to discover and use them.
What's Coming Next
The MCP specification continues to evolve. Key developments on the horizon include:
- OAuth 2.1 integration for standardised authentication across remote servers
- Elicitation — the ability for MCP servers to request additional information from users mid-interaction
- Enhanced streaming for real-time data feeds and long-running operations
- Better tooling for server discovery, testing, and monitoring
The protocol is governed by an open specification, and Anthropic has been responsive to community feedback. It's still early, but the trajectory is clear: MCP is becoming the standard way AI models interact with the outside world.
Frequently Asked Questions
What is Model Context Protocol (MCP)?
Model Context Protocol is an open standard by Anthropic that provides a universal way for AI models to connect with external tools and data sources. It uses a client-server architecture over JSON-RPC 2.0, allowing any MCP-compatible AI model to interact with any MCP server through a single, consistent interface.
How is MCP different from regular API integrations?
Regular API integrations require custom code for every model-tool combination. MCP standardises the connection layer so one server works with all compatible AI models. It also adds built-in tool discovery, security boundaries, and structured capability negotiation that raw API integrations lack.
Do I need to know MCP to use Claude?
No. Claude Desktop and Claude Code come with built-in MCP servers for popular tools. You only need to understand MCP if you want to build custom connectors for proprietary systems or contribute to the open-source ecosystem of MCP servers.
Is MCP only for Anthropic's Claude?
Not at all. While Anthropic created MCP, it is an open standard now adopted by OpenAI (ChatGPT), Google (Gemini), Cursor, VS Code, and many other AI tools. Building an MCP server gives you cross-platform compatibility with all of these hosts.
Can MCP servers access my private data securely?
Yes. MCP servers run in your own environment and act as controlled gateways. The AI model never receives your database credentials or API keys directly. You define exactly which operations the server exposes, giving you fine-grained control over what the AI can access.
Start Building With MCP
Model Context Protocol is the foundation of how AI models will interact with the real world. Whether you're connecting Claude to your internal tools, building AI-powered workflows, or architecting an AI strategy for your organisation, understanding MCP is no longer optional — it's essential.
At Sandlabs, we build custom MCP connectors, AI agents, and full AI solutions for businesses that want to move fast without the guesswork. Fixed pricing. Delivered in 2-6 weeks. Built by developers who've been deep in the MCP ecosystem since day one.
Ready to connect your tools to AI? Let's talk about your project.