Getting Started with Remote MCP Servers using Azure Functions (.NET/C#)
Azure-Samples/remote-mcp-functions-dotnet · 134 stars · C# · MIT
MCP server 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 u
Install
The repo has no one-line install. Follow its README.
Files
Getting Started with Remote MCP Servers using Azure Functions (.NET/C#)
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.
Prerequisites
Required for all development approaches
- .NET 10 SDK
- Azure Functions Core Tools >=
4.5.0 - Azure Developer CLI 1.23.x or above (for deployment)
- Docker (for the Azurite storage emulator)
For Visual Studio development
- Visual Studio 2022
- Make sure to select the Azure development workload during installation
For Visual Studio Code development
Choose 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:
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, 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 |
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.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 134
- License
- MIT
- Language
- C#
- Last push
- 2026-08-12
- Forks
- 76
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k

