remote-mcp-functions-dotnet

remote-mcp-functions-dotnet

73

This project provides a quickstart solution for deploying a remote MCP server on Azure using .NET/C#. It focuses on ease of deployment, security, and configurable networking options using Azure Functions and related tools.

Getting Started with Remote MCP Servers using Azure Functions (.NET/C#)

This project provides a template to build and deploy a custom remote MCP server on Azure using Azure Functions. Key features include:

  • Ability to clone, restore, and run locally with debugging support.
  • Quick deployment to the cloud using Azure Developer CLI (azd up).
  • Enhanced security with keys and HTTPS, with options for OAuth and network isolation using VNET.
  • Language support in C#, with samples available in Node.js/TypeScript and Python.

Prerequisites

  • .NET 8 SDK
  • Azure Functions Core Tools
  • Azure Developer CLI

Features

  • Secured MCP server with configurable network options.
  • Integration with Visual Studio Code for local development.
  • MCP Inspector integration for tool execution and management.

Deployment

  • azd up for provisioning and deploying the function app.
  • Optional VNet and API Management for enhanced security.

Cleanup

  • azd down to delete function app and resources to prevent costs.

Next Steps

  • Implement API Management and EasyAuth for additional security configurations.
  • Explore related MCP efforts from Microsoft.