Blog Post

Apps on Azure Blog
2 MIN READ

Announcing Early Preview: BYO Remote MCP Server on Azure Functions

lily-ma's avatar
lily-ma
Icon for Microsoft rankMicrosoft
Aug 19, 2025

If you’ve already built Model Context Protocol (MCP) servers with the MCP SDKs and wished you could turn them into world class Remote MCP servers using a hyperscale, serverless platform, then this one’s for you! We’ve published samples showing how to host bring‑your-own (BYO) Remote MCP servers on Azure Functions, so you can run the servers you’ve already built with the MCP SDKs—Python, Node, and .NET—with minimal changes and full serverless goodness.

Why this is exciting

  • Keep your code. If you’ve already implemented servers with the MCP SDKs (Python, Node, .NET), deploy them to Azure Functions as remote MCP servers with just one line of code change.
  • Serverless scale when you need it. Functions on the Flex Consumption plan handles bursty traffic, scales out and back to zero automatically, and gives you serverless billing.
  • Secure by default. Your remote server endpoint is protected with function keys out-of- the-box, with option to layer on Azure API Management for added authorization flow.

BYO vs. Functions Remote MCP extension—pick the path that fits

The BYO option complements the existing Azure Functions MCP extension:

  • Build and host with Functions MCP extension: You can build stateful MCP servers with the MCP tool trigger and binding and host them on Functions. Support for SSE is available today with streamable HTTP coming soon.
  • Host BYO remote MCP Server (this announcement): If you already have a server built with the MCP SDKs, or you prefer those SDKs’ ergonomics, host it as‑is on Functions and keep your current codebase.

Either way, you benefit from Functions’ serverless platform: secure access & auth, burst scale, event-driven scale from 0 to N, and pay-for-what-you‑use.

Summary of remote hosting options on Azure Functions with BYO highlighted.

What’s supported in this early preview

  • Servers built with the Python, Node, and .NET SDKs
  • Debug locally with func start on Visual Studio or Visual Studio Code; deploy with the Azure Developer CLI (azd up) to get your remote MCP server quickly deployed to Azure Functions 
  • Stateless servers using the streamable HTTP transport, with guidance coming soon for stateful servers
  • Hosting on Flex Consumption plan

Try it now!

Each repo includes the sample weather MCP server implemented with the MCP SDK for that language. You’ll find instructions on how to run the server locally with Azure Functions Core Tools and deploy with azd up in minutes. Once deployed, you can connect to the remote server from an MCP client. The samples use Visual Studio Code, but other clients like Claude can also be used.

Provide feedback to shape feature 

Tell us what you need next - identity flows, diagnostics, more languages, or any other features. Your feedback will shape how we take this early preview to the next level!

 

Published Aug 19, 2025
Version 1.0
No CommentsBe the first to comment