MCP cover image
See in Github
2025-04-14

0

Github Watches

0

Github Forks

0

Github Stars

MCP Configuration with Azure App Configuration

This demo project illustrates how to use Azure App Configuration to dynamically configure and connect to different Model Context Protocol (MCP) servers without application redeployment.

Overview

The Model Context Protocol (MCP) enables AI-powered applications to connect to various AI model servers. This project demonstrates how to:

  1. Store MCP server configurations in Azure App Configuration
  2. Load and parse these configurations at runtime
  3. Switch between different MCP servers dynamically

Setup Azure App Configuration

  1. Create an Azure App Configuration store in the Azure Portal

  2. Add the following key-values to your configuration store:

    For an Azure MCP Server (stdio type):

    Key: MCP:AzureMCPServer

    Value:

    {
        "name": "Azure MCP Server",
        "type": "stdio",
        "command": "npx",
        "args": [
            "-y",
            "@azure/mcp@latest",
            "server",
            "start"
        ]
    }
    

    For a Remote SSE Server:

    Key: MCP:Fetch

    Value:

    {
        "name": "Fetch",
        "type": "sse",
        "url": "https://remote.mcpservers.org/fetch"
    }
    
  3. Note your Azure App Configuration endpoint URL for the next step

Project Configuration

  1. Configure your application to use Azure App Configuration:
// Program.cs
builder.Configuration.AddAzureAppConfiguration(options =>
{
    options.Connect(builder.Configuration.GetConnectionString("You-Azure-App-Configuration-Endpoint"))
        .Select("MCP*")
        .Select("AzureOpenAI*");
});

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • Matthieu Savioux
  • Evaluates language quality of texts, responds with a numerical score between 50-150.

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • seabiscuit.ai
  • Discover A More Robust Business: Craft tailored value proposition statements, develop a comprehensive business model canvas, conduct detailed PESTLE analysis, and gain strategic insights on enhancing business model elements like scalability, cost structure, and market competition strategies. (v1.18)

  • Carl Oscar Aaro
  • Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • Azure
  • The Azure MCP Server, bringing the power of Azure to your agents.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • metorial
  • Containerized versions of hundreds of MCP servers 📡 🧠

  • caio-moliveira
  • This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

    Reviews

    3.6 (5)
    Avatar
    user_fEwe9bDs
    2025-04-23

    I've been using the McpConfigurationWithAzureAppConfig by hahahahahaiyiwen and it's been an exceptional experience. The seamless integration with Azure App Config makes configuration management incredibly efficient. Highly recommend this for any developer looking to streamline their workflow!

    Avatar
    user_OzsIpthO
    2025-04-23

    I recently started using McpConfigurationWithAzureAppConfig by hahahahahaiyiwen, and it has significantly streamlined managing my app configurations. The integration with Azure is seamless, and the user-friendly interface makes it easy to handle complex configurations effortlessly. Highly recommend it to anyone looking for a robust configuration management tool!

    Avatar
    user_dOz8rKrn
    2025-04-23

    As a devoted user of McpConfigurationWithAzureAppConfig, I've found it to be an essential tool for managing application configurations seamlessly with Azure. The integration is intuitive, making it easy to maintain and update configurations. Kudos to the author hahahahahahaiyiwen for developing such a robust solution! Highly recommended for any developer looking to streamline their configuration processes.

    Avatar
    user_wg6zHCvR
    2025-04-23

    I have been using McpConfigurationWithAzureAppConfig by hahahahahaiyiwen, and I must say it's fantastic! The integration with Azure App Config is seamless, and the intuitive interface makes configuration incredibly simple. Highly recommended for anyone looking to streamline their app settings!

    Avatar
    user_OOlOTXPm
    2025-04-23

    McpConfigurationWithAzureAppConfig is a fantastic tool by hahahahahahaiyiwen! It seamlessly integrates with Azure App Configuration, making it incredibly easy to manage and deploy configuration settings. With its user-friendly interface and reliable performance, it has streamlined my workflow significantly. Highly recommend for anyone looking for efficient configuration management!