Build and deploy remote MCP servers to Azure using Azure Functions. Each sample is a self-contained quickstart you can clone, run locally, and azd up to the cloud in minutes.
Looking for another language? See the .NET/C# and Python versions.
Watch the video overview
Install these before working with any sample:
- Node.js version 18 or higher
- Azure Functions Core Tools >=
4.0.7030 - Azure Developer CLI (azd)
- Visual Studio Code with the Azure Functions extension (recommended)
- Docker — Runs Azurite, the local Azure Storage emulator
| Sample | Get started | What it demonstrates |
|---|---|---|
| mcp-tools | README | MCP Tool triggers: hello world, snippet save/get with Azure Blob bindings, structured content (images, resource links) |
| mcp-prompts | README | MCP Prompt triggers: reusable, parameterized prompt templates (code review, summarize, documentation) |
| mcp-weather-app | README | MCP Apps: tool + UI resource serving an interactive weather widget in a sandboxed iframe |
- 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.
