MCP cover image
See in Github
2025-04-14

用于查询和管理Azure资源的模型上下文协议(MCP)服务器实现 - 构建对Azure托管Grafana,Azure Data Explorer(Kusto),Azure Resource Graph,Azure Resource Manager等的支持。利用用户身份或托管身份通过C#MCP SDK进行安全的无缝集成。

3

Github Watches

1

Github Forks

3

Github Stars

Blue Bridge

A Model Context Protocol (MCP) server for querying and managing Azure resources with zero‑secret authentication.
Out of the box it supports:

  • Azure Managed Grafana
  • Azure Data Explorer (Kusto)
  • Azure Resource Graph
  • Azure Resource Manager

Authentication is handled by the signed‑in Azure CLI account or a Managed Identity—no passwords or keys are stored.


✨ Demo

  1. Given 'manual-for-ai.md', get me the CPU quota for subscription '3a7edf7d-1488-4017-a908-e50d0a1642a6'

    Result

  2. Given 'manual-for-ai.md', show me 5 VMs that I can turn off machines to save money.

    Result

  3. Given 'manual-for-ai.md', help me find 2 VMs that I can turned off to save money. Please also turn them off. Please ask for permission for each VM before you do this.

    Result


🚀 Quick start

0 · Clone the repository

Clone the repository to get the necessary files, including recipes and usage examples found in manual-for-ai.md.

git clone https://github.com/Azure/blue-bridge.git
cd blue-bridge

1 · Run the container

Blue Bridge supports Azure Resource Graph and Azure Resource Manager out-of-the-box without any additional configuration.

To connect to Azure Managed Grafana or Azure Data Explorer (Kusto), set the corresponding environment variables when running the container.

Set the optional environment variables you need and start the image:

docker run --name bluebridge -p 6688:6688 \
  -e AzureManagedGrafanaEndpoint=https://<my‑grafana>.wcus.grafana.azure.com \
  -e KustoUri=https://<my‑kusto>.westus2.kusto.windows.net \
  bluebridge.azurecr.io/bluebridge:latest

If you only need Kusto:

docker run --name bluebridge -p 6688:6688 \
  -e KustoUri=https://<my‑kusto>.westus2.kusto.windows.net \
  bluebridge.azurecr.io/bluebridge:latest

Or with no external services:

docker run --name bluebridge -p 6688:6688 \
  bluebridge.azurecr.io/bluebridge:latest

2 · Authenticate once

On first start the container prints a device‑code prompt such as:

To sign in, use a web browser to open the page https://microsoft.com/devicelogin
and enter the code ABCD‑EFGH to authenticate.

Open the link, enter the code, and grant consent.
After that the server is ready at http://localhost:6688.

3 · Add to your MCP host

{
  "mcpServers": {
    "blue-bridge": {
      "url": "http://localhost:6688/sse",
      "transportType": "sse",
      "timeout": 60,
      "disabled": false,
      "autoApprove": []
    }
  }
}

4 · Run a quick test

Ask your MCP host:

Given 'manual-for-ai.md', show me 5 VMs that I can turn off machines to save money.

Result


🔧 Environment variables

Variable Purpose Required
AzureManagedGrafanaEndpoint Azure Managed Grafana endpoint URL No
KustoUri Azure Data Explorer (Kusto) cluster URI No
UseManagedIdentity Set to true to use managed identity. No
ManagedIdentityClientId Client ID of the managed identity to use. No

When UseManagedIdentity is set to true, Blue Bridge will attempt to authenticate using the managed identity available on the compute resource. This works automatically if there is only one managed identity (either system-assigned or user-assigned).

If the compute resource has multiple managed identities, you must specify which one to use by setting the ManagedIdentityClientId environment variable to the client ID of the desired managed identity. Note that setting ManagedIdentityClientId implies the use of managed identity, so setting UseManagedIdentity to true is not necessary in this case.


📚 Links

  • Docs & samples: https://aka.ms/blue-bridge

相关推荐

  • 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 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

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

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

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

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

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

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

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

    Reviews

    2.8 (4)
    Avatar
    user_Atom0ija
    2025-04-24

    Blue-Bridge by Azure is an impressive product that bridges gaps seamlessly. The user-friendly interface and robust performance make it a highly effective application for various needs. Its reliability and efficiency have significantly enhanced my productivity. Highly recommend!

    Avatar
    user_q0xpdY4D
    2025-04-24

    Blue-Bridge by Azure is an exceptional tool that has truly enhanced my workflow. The integration is seamless, and the user interface is intuitive, making it easy to navigate and utilize its features effectively. I appreciate the robust functionality that caters to diverse needs, and the performance has been consistently reliable. Highly recommend!

    Avatar
    user_EMp8bYwR
    2025-04-24

    Blue-Bridge by Azure is a fantastic product! Its seamless integration and user-friendly interface make connecting cloud services a breeze. Highly recommend for anyone looking to streamline their workflows and enhance productivity. Easy to set up and reliable, it has become an indispensable part of my daily operations.

    Avatar
    user_VHrYwkjs
    2025-04-24

    Blue-Bridge by Azure is an exceptional MCP application! It provides seamless integration and a user-friendly interface, making it perfect for both beginners and professionals. The application is stable and efficient, significantly boosting productivity. Highly recommended for anyone looking to streamline their operations with Azure's robust technology!