Getting Started with Remote MCP Servers using Azure Functions (Python)

May 26, 2026 · View on GitHub

This repo has a collection of samples to help you easily build and deploy a custom remote MCP server to the cloud using Azure Functions. You can clone/restore/run on your local machine with debugging, and azd up to have a server in the cloud in a couple minutes.

All sample MCP servers are configured with built-in authentication using Microsoft Entra as the identity provider.

You can also use API Management to secure the server, as well as network isolation using VNET.

If you're looking for samples in more languages check out the .NET/C# and Node.js/TypeScript versions.

Open in GitHub Codespaces

Prerequisites

Below is the architecture diagram for the Remote MCP Server using Azure Functions:

Architecture Diagram

Samples in this repo

Each project README has instructions for running locally, connecting to the MCP server, deploying to the cloud, and more.

ProjectDescriptionGetting Started
FunctionsMcpToolMCP Tools — snippet CRUD, QR code generation, structured metadata, batch operationsREADME
FunctionsMcpResourcesMCP Resources — snippet resource template, server info resourceREADME
FunctionsMcpPromptsMCP Prompts — code review checklist, summarize content, generate docsREADME
McpWeatherAppWeather App — MCP App demo with interactive UIREADME

Next Steps