This is a quickstart template to 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 it in the cloud in a couple minutes. The MCP server is secured by design using
133
stars
142
commits
C#
primary language
Aug 12, 2026
updated
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 Node.js/TypeScript and Python samples.
4.5.0Choose one: You can use either Visual Studio OR Visual Studio Code. Both provide full debugging support, but the setup steps differ slightly.
Below is the architecture diagram for the Remote MCP Server using Azure Functions:

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, badges, website preview, auth (OBO) | README |
| FunctionsMcpApp | MCP Apps — fluent API for tools that return interactive UI | 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 |
C#
47.0%
Bicep
32.6%
HTML
10.8%
TypeScript
8.9%
This is a quickstart template to 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 it in the cloud in a couple minutes. The MCP server is secured by design using
133
stars
142
commits
C#
primary language
Aug 12, 2026
updated
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 Node.js/TypeScript and Python samples.
4.5.0Choose one: You can use either Visual Studio OR Visual Studio Code. Both provide full debugging support, but the setup steps differ slightly.
Below is the architecture diagram for the Remote MCP Server using Azure Functions:

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, badges, website preview, auth (OBO) | README |
| FunctionsMcpApp | MCP Apps — fluent API for tools that return interactive UI | 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 |
C#
47.0%
Bicep
32.6%
HTML
10.8%
TypeScript
8.9%