MCP
Model Context Protocol
What is MCP?
Section titled “What is MCP?”Model Context Protocol (MCP) is an open protocol for connecting AI applications to external tools, resources, and contextual data through a standardized interface.
The underlying problem is straightforward.
Without a common protocol, every AI application may need custom integrations:
AI Application ├── Custom GitHub integration ├── Custom Database integration ├── Custom Slack integration ├── Custom Jira integration └── Custom Internal API integrationAs the number of tools grows, integration complexity grows rapidly.
MCP provides a standardized way for AI applications to discover and interact with capabilities exposed by MCP servers.
A simplified architecture is:
What Problem Does MCP Solve?
Section titled “What Problem Does MCP Solve?”MCP primarily addresses interoperability between AI applications and external capabilities.
This can reduce duplicated integration work and make tools easier to expose across compatible AI clients.
MCP Architecture
Section titled “MCP Architecture”A conceptual MCP setup contains:
MCP Host
Section titled “MCP Host”The AI application or environment where the model operates.
Examples can include an AI assistant, IDE, or agent runtime.
MCP Client
Section titled “MCP Client”The component inside the host that communicates with an MCP server.
MCP Server
Section titled “MCP Server”A service that exposes capabilities or contextual information to the client.
Conceptually:
The protocol separates the AI application from the implementation details of individual integrations.
MCP Tools, Resources, and Prompts
Section titled “MCP Tools, Resources, and Prompts”MCP can expose different types of capabilities.
Tools represent executable operations.
Examples:
search_repositorycreate_ticketquery_databasesend_messagedeploy_serviceThe model can request a tool operation through the MCP client, subject to the host’s policies and permissions.
Resources
Section titled “Resources”Resources provide contextual information that an AI application can access.
Examples:
documentationfilesdatabase recordsconfigurationsystem informationPrompts
Section titled “Prompts”Prompts can provide reusable interaction templates or workflows exposed by an MCP server.
The exact behavior and authorization model depend on the host and server implementation.
MCP vs RAG vs Agents
Section titled “MCP vs RAG vs Agents”These concepts solve different problems and are often used together.
| Concept | Primary purpose |
|---|---|
| LLM | Understand and generate language |
| RAG | Retrieve relevant external knowledge |
| Agent | Decide and execute multi-step actions |
| MCP | Standardize connections between AI applications and external capabilities |
A modern AI system may therefore look like:
These are not competing technologies.
They operate at different layers of an AI architecture.