Repository avatar
Cloud Platforms
v0.4.3
active

logicapps-mcp

io.github.laveeshb/logicapps-mcp

MCP server for Azure Logic Apps - debug workflows, manage runs, and authoring

Documentation

Azure Logic Apps MCP Server

MCP Registry npm

Azure Logic Apps

Manage and debug Azure Logic Apps using natural language. Ask your AI assistant to investigate failed runs, explain workflows, or make changes—no portal clicking required.

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?

Works with GitHub Copilot, Claude Desktop, or any MCP-compatible AI client. Supports both Consumption and Standard Logic Apps.

Quick Start

# 1. Install
npm install -g logicapps-mcp

# 2. Login to Azure
az login

# 3. Configure your AI assistant (example for VS Code)

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "logicapps": {
      "type": "stdio",
      "command": "logicapps-mcp"
    }
  }
}

Reload VS Code and start chatting with Copilot about your Logic Apps!

Cloud MCP Server: Need a hosted deployment? See the Getting Started Guide for Azure deployment instructions.

Features

  • 40 Tools for Logic Apps operations: list, debug, create, update, delete workflows
  • Dual SKU Support: Works with both Consumption and Standard Logic Apps
  • Run Debugging: Trace failures through actions, loops, and scopes
  • Write Operations: Create workflows, run triggers, cancel runs
  • Connector Support: Discover connectors, create connections

Example Prompts

"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"

Documentation

Development

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

Integration Testing

Integration tests run against real Azure resources. They auto-discover your subscriptions and Logic Apps:

az login                     # Login to Azure
npm run test:integration     # Tests find resources automatically

License

MIT