Remote MCP Functions .NET

v1.0.0Cloud Servicesstable

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

remote-mcp-functions-dotnetmcpai-integration
Share:
128
Stars
0
Downloads
0
Weekly
0/5

What is Remote MCP Functions .NET?

Remote MCP Functions .NET is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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 ...

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

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • This is a quickstart template to easily build and deploy a c

Use Cases

Deploy custom MCP servers to cloud using Azure Functions.
Build and debug remote MCP implementations with .NET.
Azure-Samples

Maintainer

LicenseMIT
Languagec#
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx remote-mcp-functions-dotnet

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Remote MCP Functions .NET

Remote MCP Functions .NET is a quickstart template from Microsoft Azure Samples that shows how to build and deploy a custom remote MCP server using Azure Functions and C#. It includes five ready-to-run sample servers covering MCP Tools (snippet CRUD, QR code generation, badges), MCP Apps (interactive UI via fluent API), MCP Resources, MCP Prompts, and a Weather App demo. With `azd up`, you can go from a local clone to a cloud-hosted, Entra-authenticated MCP server in minutes.

Prerequisites

  • .NET 10 SDK installed
  • Azure Functions Core Tools v4.5.0 or higher
  • Azure Developer CLI (azd) v1.23.x or above
  • Docker (for the Azurite local storage emulator used during local development)
  • An Azure subscription with permissions to create Function Apps and Entra app registrations
1

Clone the repository

Clone the Azure Samples repository to your local machine.

git clone https://github.com/Azure-Samples/remote-mcp-functions-dotnet.git && cd remote-mcp-functions-dotnet
2

Explore the sample MCP servers

The repository contains five sample projects: FunctionsMcpTool, FunctionsMcpApp, FunctionsMcpResources, FunctionsMcpPrompts, and McpWeatherApp. Each project folder has its own README with specifics.

ls -la
3

Run locally with Azure Functions Core Tools

Start a sample server locally. Azurite (via Docker) provides the local storage emulator. Navigate into the desired sample project directory first.

cd FunctionsMcpTool && func start
4

Deploy to Azure with azd up

Deploy the sample to your Azure subscription. `azd up` provisions the Function App, sets up Entra authentication, and deploys the code in one command.

azd up
5

Connect your MCP client to the remote endpoint

After deployment, azd outputs the Function App URL. Configure your MCP client to connect to it over HTTP with Entra bearer token authentication.

Remote MCP Functions .NET Examples

Local development configuration

Connect Claude Desktop to a locally running Azure Functions MCP server during development.

{
  "mcpServers": {
    "azure-functions-mcp": {
      "type": "http",
      "url": "http://localhost:7071/runtime/webhooks/mcp/sse"
    }
  }
}

Capabilities and example prompts

The FunctionsMcpTool sample exposes snippet management, QR code generation, and badge creation. The McpWeatherApp exposes interactive weather UI.

- "Save this code snippet with the title 'hello-world' and tag it as 'example'."
- "Generate a QR code for the URL https://example.com."
- "Create a shield badge showing version 1.0.0 in green."
- "What's the current weather in Seattle?" (McpWeatherApp)
- "List all my saved code snippets tagged as 'python'."

Troubleshooting Remote MCP Functions .NET

func start fails with 'Azurite is not running' or storage connection errors

Start the Azurite storage emulator with `docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite` before running `func start`, or install Azurite globally via `npm install -g azurite`.

azd up fails with authentication or permission errors

Run `azd auth login` to authenticate with your Azure account before running `azd up`. Ensure your account has Contributor rights on the target subscription and permission to create Entra app registrations.

MCP client gets 401 Unauthorized when connecting to the deployed Function App

The deployed server uses Microsoft Entra (AAD) authentication. Your MCP client must include a valid bearer token in the Authorization header. Consult the sample project's README for the correct Entra app registration scope and token acquisition flow.

Frequently Asked Questions about Remote MCP Functions .NET

What is Remote MCP Functions .NET?

Remote MCP Functions .NET is a Model Context Protocol (MCP) server that 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 It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Remote MCP Functions .NET?

Follow the installation instructions on the Remote MCP Functions .NET GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Remote MCP Functions .NET?

Remote MCP Functions .NET works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Remote MCP Functions .NET free to use?

Yes, Remote MCP Functions .NET is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "remote-mcp-functions-dotnet": { "command": "npx", "args": ["-y", "remote-mcp-functions-dotnet"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Remote MCP Functions .NET?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides