Introducing Gram by Speakeasy. Gram is everything you
need to power integrations for Agents and LLMs. Easily create, curate and host
MCP servers for internal and external use. Build custom tools and remix
toolsets across 1p and 3p APIs. Get on the
waitlist today!
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI agents to securely connect to external tools, data sources, and services. Think of it as a universal translator between AI models and the real world.
The problem MCP solves
Before MCP, connecting AI agents to external systems required building custom integrations for each combination of agent and tool. This meant:
M × N integration complexity: Every AI agent needed custom code for every tool it wanted to use.
A fragmented ecosystem: There was no standardized way for tools to expose their capabilities to AI agents.
Security challenges: Each integration handled permissions and access differently.
More maintenance overhead: Updates to any system broke multiple custom integrations.
In the diagram above, we see how each application (Claude Desktop, VS Code, Cursor) requires custom integrations to access various tools (GitHub, PostgreSQL, the user’s file system). This creates a complex web of M × N connections that is difficult to maintain and scale.
With MCP, we introduce a standardized protocol that simplifies this process.
There is now a single integration point for each tool, allowing any compatible AI agent to access it without custom code.
In the diagram above, we see how MCP simplifies the architecture. Each AI agent (Claude Desktop, VS Code, Cursor) connects through a single MCP layer to access multiple tools (GitHub, PostgreSQL, the user’s file system).
How MCP works
MCP establishes a client-server architecture made up of:
MCP clients: AI agents, applications, or development tools (like Claude Desktop, VS Code extensions, and Cursor)
MCP servers: Services that expose tools, data, or capabilities (like GitHub, databases, and APIs)
A standardized protocol: A common language both clients and servers understand
Instead of building custom bridges, you now have:
M + N simplicity: One MCP integration per tool, which works with all compatible AI agents
Standardized security: Consistent authentication and authorization patterns
Easy maintenance: Protocol updates that benefit the entire ecosystem
Key benefits of MCP
Depending on your role in the ecosystem, MCP provides several advantages.
Advantages for AI agent users
When using MCP-compatible AI agents, like Claude Desktop, VS Code extensions, or Cursor, you get:
Access to more tools and data sources without custom integrations
A consistent experience interaction pattern across different AI agents
Better security through standardized authentication and authorization
Advantages for tool providers
When you build an MCP server to expose your tools, you gain:
A single integration point for all compatible AI agents
More users for your tools without custom integration work
Capacity to focus on your core product instead of on AI integrations
Advantages for agent developers
When you build MCP-compatible applications or agents, you benefit from:
Access to a growing ecosystem of tools and services
Simplified development with standardized protocols
Increased collaboration opportunities across different AI agents
Real-world example of MCP in action
See how MCP simplifies the process of connecting AI agents to external tools and data sources.
Imagine you want to use Claude Desktop to read a GitHub issue from your company’s private repository and query your PostgreSQL database for related data.
The manual process
If this were a once-off task, you would typically need to:
Copy and paste the contents of the GitHub issue into Claude Desktop.
Describe the database schema to Claude.
Ask Claude to write a custom query based on the pasted schema.
Copy and paste the query into your database client.
Copy and paste the results back into Claude Desktop.
Manually combine the information from the GitHub issue and database query results.
The custom integration process
If you did this often, you might write a custom integration that connects Claude Desktop to GitHub and PostgreSQL, which would require ongoing maintenance and updates. The steps involved are cumbersome and error-prone, especially if the GitHub issue or database schema changes. This would get even more complex if Claude needed to wait for long-running queries or if you wanted to access multiple tools at once.
Ask Claude: “Fetch issue #123 from the my-org/my-repo repository and query the my_table table to find related data. Interpret the results and summarize the information.”
This process is much simpler, more secure, and less error-prone. You can also easily switch to a different AI agent that supports MCP without needing to rewrite your integrations.
How to get started with MCP
Ready to start using MCP? Here are your next steps for: