Most organisations I work with already have plenty of APIs. Some are internal, many are third-party SaaS APIs, and they’re all sitting there with useful data that an AI agent could put to work. The question I keep getting asked is: how do I let Copilot (or any other agent) use these APIs without writing and hosting a bespoke MCP server for every one of them?

The answer is the AI Gateway in Azure API Management. In this video I take a handful of external APIs, bring them into API Management, expose them as a single MCP server and then consume that server from VS Code with GitHub Copilot in agent mode. No custom MCP server code required.

What is an MCP server, and why put it in Azure AI Gateway?

The Model Context Protocol (MCP) is an open standard that lets AI agents discover and call tools in a consistent way. An MCP server publishes a list of tools; an MCP client such as GitHub Copilot, Copilot Studio or Claude reads that list and decides when to call each tool.

You can write an MCP server yourself, but then you own the hosting, security, throttling and monitoring for it. Azure API Management already does all of that for your APIs, and its AI gateway capabilities let you expose any REST API you manage as a remote MCP server. Each API operation you select becomes an MCP tool. That means:

  • No extra code – the MCP server is generated from APIs you already manage.
  • One governed entry point – agents talk to API Management, not directly to your backends or third-party services.
  • Your existing controls still apply – subscription keys, OAuth/Entra ID, rate limits, IP filtering and logging.

Wrapping up

Using Azure AI Gateway to build an MCP server is one of the quickest ways to make your existing APIs available to AI agents, and you get enterprise governance from day one rather than bolting it on later. If you already run API Management, you’re most of the way there.

Watch the video above for the full walkthrough, and let me know in the comments how you’re using MCP with API Management. If you want to go further, the Microsoft Learn docs on MCP servers in Azure API Management are a good next step.

 

Buy Me A Coffee