关于 logicapps-mcp
logicapps-mcp 是用于管理和调试 Azure Logic Apps 的 MCP 服务,面向使用 AI 客户端操作工作流的开发者。它支持 Consumption 和 Standard,并提供工作流管理、运行排查及连接器操作。
主要功能
- 01管理工作流的创建与更新
- 02追踪运行失败原因
- 03查看和操作运行及触发器
- 04支持 Consumption 与 Standard
- 05发现连接器并创建连接
适用场景
- 01排查失败的工作流运行
- 02为操作配置重试逻辑
- 03列出订阅中的 Logic Apps
- 04停用工作流或取消运行
MCP 相关
该服务通过 40 种工具向兼容 MCP 的 AI 客户端开放 Azure Logic Apps 操作,包括查看、调试和修改工作流。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
40收录的工具列表 · 更新于 2 周前
此工具无需参数。
详细介绍
Azure Logic Apps MCP 服务
使用自然语言管理和调试 Azure Logic Apps。让 AI 助手调查运行失败、解释工作流或进行更改——无需点击门户。
You: Why did my order-processing workflow fail this morning?
AI: Looking at the run history... Found a failed run at 10:15 AM.
The HTTP action "Call-Payment-API" failed with 503 Service Unavailable.
The payment service at api.payments.com was down for 3 minutes.
You: Add retry logic to that action - 3 attempts with exponential backoff.
AI: Done. Updated the workflow with retry policy. Want me to test it?
适用于 GitHub Copilot、Claude Desktop 或任何兼容 MCP 的 AI 客户端。支持 Consumption 和 Standard Logic Apps。
快速开始
# 1. Install
npm install -g logicapps-mcp
# 2. Login to Azure
az login
# 3. Configure your AI assistant (example for VS Code)
将以下内容添加到工作区中的 .vscode/mcp.json:
{
"servers": {
"logicapps": {
"type": "stdio",
"command": "logicapps-mcp"
}
}
}
重新加载 VS Code,然后开始与 Copilot 聊天,管理 Logic Apps!
云端 MCP 服务:需要托管部署?请参阅入门指南,了解 Azure 部署说明。
功能
- 40 个工具,用于 Logic Apps 操作:列出、调试、创建、更新和删除工作流
- 双 SKU 支持:同时适用于 Consumption 和 Standard Logic Apps
- 运行调试:追踪操作、循环和作用域中的故障
- 写入操作:创建工作流、运行触发器、取消运行
- 连接器支持:发现连接器、创建连接
示例提示词
"List my Logic Apps in subscription xyz"
"Show failed runs from the last 24 hours"
"What went wrong in run ID abc123?"
"Add retry logic to the HTTP action"
"Disable the order-processing workflow"
文档
开发
npm run dev # Run in development mode
npm test # Run unit tests
npm run test:integration # Run integration tests (requires Azure setup)
npm run test:all # Run all tests
集成测试
集成测试会针对真实的 Azure 资源运行。它们会自动发现你的订阅和 Logic Apps:
az login # Login to Azure
npm run test:integration # Tests find resources automatically
许可证
MIT
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。