Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
Remote MCP server samples for Azure Functions
This repo shows how to build a remote MCP server on Azure Functions with Python. The samples cover MCP tools, resources, prompts, and a demo app, and the infrastructure files let you deploy the server to Azure with `azd up`. It also includes local development support through VS Code, a dev container, and Azure Functions tooling, so you can test the server before deploying it.
Builders who want a sample Azure Functions setup for remote MCP servers.
You can start from working MCP server samples instead of assembling the Azure Functions and deployment pieces yourself.
What it does
MCP tool sample
`src/FunctionsMcpTool` shows tool endpoints for snippet CRUD, QR code generation, structured metadata, and batch operations.
MCP resource sample
`src/FunctionsMcpResources` shows resource templates and a server info resource.
MCP prompt sample
`src/FunctionsMcpPrompts` shows prompts for code review checklists, content summaries, and doc generation.
Weather app demo
`src/McpWeatherApp` is a sample MCP app with an interactive UI.
Azure deployment infrastructure
`infra/main.bicep` and `infra/main.parameters.json` define the Azure resources needed for deployment.
Local development setup
`.devcontainer` and `.vscode` files support running, debugging, and working in Codespaces or VS Code.
README
Getting Started with Remote MCP Servers using Azure Functions (Python)
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.
Prerequisites
- Python version 3.13 or higher
- Azure Functions Core Tools >=
4.8.0 - Azure Developer CLI 1.23.x or above (for deployment)
- Docker (for the Azurite storage emulator)
- Visual Studio Code (recommended)
- Azure Functions extension
Below is the architecture diagram for the Remote MCP Server using Azure Functions:

Samples in this repo
Each project README has instructions for running locally, connecting to the MCP server, deploying to the cloud, and more.
| Project | Description | Getting Started |
|---|---|---|
| FunctionsMcpTool | MCP Tools — snippet CRUD, QR code generation, structured metadata, batch operations | README |
| FunctionsMcpResources | MCP Resources — snippet resource template, server info resource | README |
| FunctionsMcpPrompts | MCP Prompts — code review checklist, summarize content, generate docs | README |
| McpWeatherApp | Weather App — MCP App demo with interactive UI | README |
Next Steps
- Learn more about the Azure Functions MCP extension
- Learn more about built-in MCP auth
- Follow our blog posts on Azure SDK Blog and Tech Community for updates.
Files in the repo
- .devcontainer
- .github
- .vscode
- infra
- media
- src
- .gitignore
- architecture-diagram.drawio
- LICENSE.md
- pyproject.toml
- README.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More templates
Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
A self-organizing Obsidian vault that gives AI coding agents persistent memory. Claude Code, Codex CLI, Gemini CLI.
Production-grade Playwright + TypeScript Scaffold for Agentic Testing. Harness for all major AI coding agents baked in.
Omnia Vault - the all-in-one project brain: an Obsidian LLM wiki, Graphify code graphs, a living plan that triages new videos against itself, and a Claude Code ⇄ Codex relay. Everything your project knows, in one clonable vault.

🎬 Tạo video "so sánh kiến thức" ngắn tự động — HyperFrames + AI voice, 1 template nhiều chủ đề.