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*");
});

相关推荐

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

  • 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!

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

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

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

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • metorial
  • 数百个MCP服务器的容器化版本📡📡

  • langgenius
  • alibaba
  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • superiorlu
  • 🤖在AI上收集实用的AI存储库,工具,网站,论文和教程。 实用的ai百宝箱百宝箱

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • Onelevenvy
  • Flock是一个基于工作流程的低音平台,可快速构建聊天机器人,抹布和协调多代理团队,由Langgraph,Langchain,Langchain,Fastapi和Nextjs提供支持。(羊群工作流工作流的低代码平台,rag rag rag 用于快速构建聊天机器人、 rag temant Agent fastem temantfaster和muti-agent agagent应用

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

    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!