VOOZH about

URL: https://thenewstack.io/mcp-the-missing-link-between-ai-agents-and-apis/

⇱ MCP: The Missing Link Between AI Agents and APIs - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-03-13 07:30:01
MCP: The Missing Link Between AI Agents and APIs
AI / AI Agents / API Management

MCP: The Missing Link Between AI Agents and APIs

Model Context Protocol (MCP) is a bridging technology for AI agents and APIs. We speak with API management vendor Speakeasy about its uses.
Mar 13th, 2025 7:30am by Richard MacManus
👁 Featued image for: MCP: The Missing Link Between AI Agents and APIs
Image via YouTube

Last November Anthropic launched the Model Context Protocol (MCP), an open source standard designed to streamline how AI models interact with APIs. As we explained earlier this month, the vision is to make MCP the universal method for AI agents to trigger external actions.

MCP has drawn a lot of interest in its first few months, including from API management companies like Speakeasy. API companies see MCP as a linking mechanism to the rich ecosystem of LLMs and agentic frameworks. To find out more, I spoke to Speakeasy CEO Sagar Batchu.

What Is Model Context Protocol (MCP)?

As explained in its documentation, MCP “follows a client-server architecture where a host application can connect to multiple servers.”

Essentially, MCP standardizes API access for AI agents. You can also think of it as a meta-API, as this diagram from Matt Pocock illustrates:

👁 MCP illustration

“So MCP is a protocol and really a very thin layer above an API that says, here is the definition that this API needs to expose for the LLM or agent to be able to query and find out more about […] whatever that data might be,” Batchu explained.

An MCP client can be an LLM like Claude, IDEs like Cursor and Windsurf, and various other tools (such as SpinAI, a TypeScript framework for building AI agents).

As for an MCP server — the orange-colored block in the above diagram — you can either build your own or use a pre-built MCP server. In its introductory blog post, Anthropic mentioned there are pre-built MCP servers “for popular enterprise systems like Google Drive, Slack, GitHub, Git, Postgres, and Puppeteer.”

Speakeasy’s Role in an MCP Architecture

Building your own MCP server is where Speakeasy comes in. Recently the company launched MCP Server Generation, a tool that automates the creation of MCP-compatible servers.

Currently, Speakeasy’s MCP Server Generation supports TypeScript-based SDKs. However, given Python’s dominance in the AI ecosystem, the company plans to add Python support soon.

Batchu noted that because MCP operates as a client-server model, AI agents interacting with an MCP server can use any programming language. He explained that, unlike traditional SDKs — which are language-specific and require developers to write integration code — MCP servers expose endpoints that AI agents can access directly.

How Does MCP Compare to OpenAPI?

OpenAPI is a widely adopted standard for defining APIs, so at first glance it too is a kind of layer above APIs. But according to Batchu, MCP builds upon OpenAPI rather than replaces it.

“The jump from an OpenAPI spec into MCP is very small,” he said. “OpenAPI is somewhat of a superset of all information that MCP needs, and then you package it up with the specific examples and descriptions [for] an LLM, and you run it as a server.”

Put another way: while OpenAPI provides a structured definition of an API’s capabilities, it is primarily a static specification. MCP, by contrast, introduces a client-server interaction model. An MCP server is a live, running instance that AI agents can query in real time. This means an MCP server can dynamically respond to AI-generated requests, making APIs more accessible to agentic workflows.

“The jump from an OpenAPI spec into MCP is very small.”
– Sagar Batchu, Speakeasy CEO

As Batchu put it, “the difference is [that] an OpenAPI spec is just a definition, and MCP server is actually a server-client experience.”

Until MCP arrived, integrating an API with an AI model had been challenging. Many AI-based API integrations failed because models lacked the necessary schema information to make sense of API responses, Batchu noted. MCP solves this by structuring API interactions in a way that AI can understand, making integrations more reliable.

Real-World Use Cases For MCP Servers

Speakeasy already has several customers using its MCP feature set, Batchu said. Companies like Vercel, Dub, and others are leveraging MCP servers to enhance their API-driven workflows.

On Dub, a link-sharing platform, marketing teams frequently create short links for tracking article performance. Instead of manually searching analytics dashboards, they can now ask an AI assistant to retrieve their most-clicked links over the past week. The AI queries Dub’s MCP server, fetches the relevant data, and even generates a visualization — all without the user leaving their chat interface.

👁 Speakeasy MCP

Speakeasy customer Dub using MCP.

I asked about potential e-commerce applications, since this is an area seemingly well suited to AI agents. Imagine such a company using MCP to power AI-driven business intelligence, Batchu suggested. An AI assistant could query an MCP server for sales data, generate reports, and even suggest marketing strategies based on real-time insights. This would lessen the need for manual data extraction and analysis.

Competing Standards Ahead?

Anthropic developed MCP, but so far there’s been no sign that the other big dogs in AI will adopt it — the likes of OpenAI, Google and Meta.

Batchu thinks the MCP paradigm is likely to evolve alongside other AI-driven API approaches. He points out that OpenAI’s function calling already provides a way for AI models to interact with external services, though it lacks the standardized, open nature of MCP.

“There will be a little bit of schema wars for a while, I believe, until it settles out into something like OpenAPI, right, where there’s a standard,” he said.

“There will be a little bit of schema wars for a while.”
– Batchu

Regardless, Batchu thinks the time is ripe for API producers to experiment with MCP.

“API producers should invest in agent tools like MCP and, you know, make a GitHub repo, build it, put it out there.”

Likewise, he thinks API consumers should experiment, although he acknowledges that there will be more “disruption and chaos” for them — because standards are still in flux. But he has some advice for developers who are tasked with using APIs alongside AI.

“The first thing you can do is actually go look if the API has an MCP server. You can install that locally into your IDE or LLM desktop client, and actually just start to integrate through queries [via] natural language.”

Batchu also notes that the opportunity is there for developers to automate workflows and extract insights dynamically from APIs, using MCP alongside agentic frameworks like LangChain and AutoGen.

TRENDING STORIES
Richard MacManus is a Senior Editor at The New Stack and writes about web and application development trends. Previously he founded ReadWriteWeb in 2003 and built it into one of the world’s most influential technology news sites. From the early...
Read more from Richard MacManus
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real, Anthropic, OpenAI.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.