Cover image
Try Now
2025-04-14

3 years

Works with Finder

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

相关推荐

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

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

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

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

  • Azure
  • This repository is for development of the Azure MCP Server, bringing the power of Azure to your agents.

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

  • Onelevenvy
  • Flock is a workflow-based low-code platform for rapidly building chatbots, RAG, and coordinating multi-agent teams, powered by LangGraph, Langchain, FastAPI, and NextJS.(Flock 是一个基于workflow工作流的低代码平台,用于快速构建聊天机器人、RAG、Agent和Muti-Agent应用,采用 LangGraph、Langchain、FastAPI 和 NextJS 构建。)

    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!