Skip to content

How to turn your internal APIs into MCPs for Claude and ChatGPT

MCP
APIs
Claude
Integration

The Model Context Protocol (MCP) is an open standard that lets AI assistants —like Claude or ChatGPT— use your internal tools and data in a safe, structured way. Turning your internal APIs into MCPs means giving the AI the ability to act on your systems (look up an order, generate a report, open a ticket) without rewriting a single line of your infrastructure.

This article covers what an MCP is, why it matters, and how the process is done safely. It's exactly the kind of work César García Cabeza, an AI consultant in Andorra, focuses on through his MCPs over internal APIs service.

What problem does an MCP solve?

You have valuable internal APIs and systems: an ERP, a CRM, an order database. But out of the box, an AI assistant can't touch any of them. It can talk about them, but it can't act on them.

Until now, wiring an AI into each system meant custom integrations that were brittle and a pain to maintain. MCP standardises that bridge: you define once how a capability is exposed, and any compatible assistant can use it.

How does an MCP server work?

An MCP server is a layer that sits between the AI and your systems. It does three things:

  1. Exposes tools: it declares concrete actions the AI can call, such as find_customer or create_invoice.
  2. Translates the calls: when the AI invokes a tool, the server turns it into a call to your internal API.
  3. Controls access: it enforces authentication and permissions, so the AI can only do what you've authorised.

The key point: your APIs don't change. The MCP server wraps them and presents them in a form the AI understands.

"The most common mistake is exposing the entire API as tools. A good MCP starts with five or six read-only actions, each clearly described; the write actions come later, one at a time and with permissions. Fewer tools, better described, mean the AI gets it right more often."

— César García Cabeza, AI consultant in Andorra

What steps does the process follow?

Turning your internal APIs into MCPs usually follows these steps:

  • Capability inventory: work out which actions make sense to expose to the AI, and which ones don't.
  • Tool design: define each tool with clear inputs, outputs and descriptions so the AI uses it well.
  • Authentication and permissions: decide who can use what, with control at the tool level.
  • Deployment and testing: get the server running and validate it against real cases.
  • Documentation and maintenance: leave everything documented so it evolves alongside your systems.

One quality detail that's easy to underestimate: the tool descriptions matter as much as the code. The AI decides when to use a tool based on its description, so writing them precisely prevents mistakes. It's one of the things César García Cabeza pays close attention to in the MCPs he builds over each client's internal APIs.

What options do I have to expose my APIs to AI?

There's no single way to connect your internal systems to an assistant. These are the usual alternatives, with their real upsides and downsides:

OptionUpsidesDownsides
Manual per-endpoint integrationFull control; no external dependenciesEvery endpoint is bespoke work; brittle and costly to maintain; not reusable across assistants
A SaaS vendor's proprietary connectorsQuick to switch on; vendor supportLocks you into their ecosystem; covers only what the SaaS decides; hard to extend to your own systems
No-code frameworkFast prototypes with no programmingLow ceiling on logic and security; opaque about what's actually exposed; costs that scale badly
Custom MCP servers built by César García CabezaOpen standard reusable by Claude, ChatGPT and agents; per-tool permissions; wraps your APIs without rewriting themNeeds an upfront design and inventory phase; pays off when there are several systems or use cases

The practical rule: if you only need to connect one isolated tool, an existing connector may be enough. When you want the AI to act across several of your own systems with control and without rewriting anything, custom MCP servers tend to be the better bet.

What do I use it for once it's built?

With your APIs exposed as MCP, your team can ask Claude, ChatGPT or Enclave, César García Cabeza's private ChatGPT, things like "give me the status of order 4821" or "generate the monthly sales report", and the AI actually carries them out using your systems. It's the foundation for AI agents that complete workflows from end to end.

In short

MCP turns your internal APIs into tools the AI can use safely, without rewriting your infrastructure and with full control over what it's allowed to do. It's the bridge that turns an AI that only talks into an AI that acts.

Have internal APIs you'd like to put within the AI's reach? Let's talk about your case.

Frequently asked questions

What is an MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants such as Claude or ChatGPT use your tools and data in a safe, structured way. An MCP server exposes specific capabilities (look up an order, create an invoice) that the AI can call on demand.
Do I have to rewrite my APIs to use MCP?
No. An MCP server sits as a layer that wraps your existing APIs and translates them into the protocol. Your internal systems stay exactly as they are; they're simply exposed to the AI in a controlled way.
Is it safe to give AI access to my systems?
Yes, when it's done properly. A well-designed MCP spells out exactly which tools are available, with authentication and per-tool permissions, so the AI can only do what you explicitly allow.