Back to MCP directory
publicPublicdnsLocal runtime

blue-bridge

Blue Bridge是一个通过MCP服务器查询和管理Azure资源的工具,支持零密钥认证,涵盖Grafana、Kusto等多种Azure服务场景。

article

README

🚀 演示项目

本项目主要展示了基于 manual-for-ai.md 文档实现的一系列功能,包括查找可关闭的虚拟机、获取 CPU 配额等操作,同时提供了项目的快速入门和详细配置说明。

🚀 快速开始

0 · 克隆仓库

克隆仓库以获取必要的文件,其中包含 manual-for-ai.md 中的配方和使用示例。

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

1 · 运行容器

Blue 桥接器对 Azure 资源图Azure 资源管理器 提供了开箱即用的支持,无需任何额外配置。若要连接到 Azure 管理的 GrafanaAzure 数据探索器(Kusto),请在运行容器时设置相应的环境变量。

  • 连接 Azure 管理的 Grafana 和 Kusto
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
  • 仅连接 Kusto
docker run --name bluebridge -p 6688:6688 \
  -e KustoUri=https://<my‑kusto>.westus2.kusto.windows.net \
  bluebridge.azurecr.io/bluebridge:latest
  • 无需附加功能
docker run --name bluebridge -p 6688:6688 \
  bluebridge.azurecr.io/bluebridge:latest

2 · 首次登录

打开浏览器,访问 http://localhost:6688,使用默认凭据 admin@tenant.com 和密码 password 登录。

✨ 主要特性

功能演示

  • 查找可关闭的虚拟机:给定 manual-for-ai.md,可查找出可以关闭以节省资金的虚拟机,并可选择关闭指定数量的虚拟机,且在操作前会获得许可。
    • 查找 5 台可关闭的 VM结果
    • 查找并关闭 2 台可关闭的 VM结果
  • 获取 CPU 配额:给定 manual-for-ai.md,可获取指定订阅的 CPU 配额。 结果

📚 详细文档

配置说明

环境变量配置

以下是容器运行时支持的环境变量: | 属性 | 详情 | |------|------| | AZURE_TENANT_ID | 登录用户的租户 ID,请参考 Azure Monitor 文档 | | AZURE_SUBSCRIPTION_ID | 登录用户的订阅 ID,用于资源管理 | | AZURE_WORKSPACE_ID | 可选,默认使用 Azure Monitor 资源的 Workspace ID | | KUSTO_QUERY_ENDPOINT | Kusto 查询端点,格式为:<clusterName>.kusto.chinacloudapi.cn | | KUSTO_APIClientKey | 对应于 KUSTO_QUERY_ENDPOINT 的 API 客户端密钥 |

链接

  • 文档 & 示例:https://aka.ms/blue-bridge
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client