Skip to main content
Glama
logicapps-mcp

logicapps-mcp

by laveeshb

Azure Logic Apps MCP Server

MCP Registry npm

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.

Related MCP server: n8n Architect MCP Server

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

Available Tools

40 tools
cancel_runA

Cancel a running or waiting workflow run. Only runs in 'Running' or 'Waiting' status can be cancelled. For Standard SKU, workflowName is required. Use list_run_history or search_runs to find running runs first.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +1 more.

clone_workflowA

Clone a Consumption Logic App workflow to a Standard Logic App. IMPORTANT: Always run validate_clone_workflow first to check for compatibility issues before cloning. This copies the workflow definition from a Consumption Logic App to a new workflow in an existing Standard Logic App. The target Standard Logic App must already exist and the target workflow name must not already exist. Connections will need to be reconfigured after cloning.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), targetResourceGroupName (required), +4 more.

create_connectionA

Create a new API connection for a managed connector (e.g., azureblob, sql, servicebus, office365). For OAuth-based connectors (like azureblob with OAuth, office365), returns a consent link that must be opened in a browser to authorize. For parameter-based connectors (like SQL with connection string), provide the parameters directly. Common OAuth connectors: azureblob, office365, outlook, onedrive, sharepoint, dynamicscrm. Common parameter connectors: sql (server, database, username, password), servicebus (connectionString).

Inputs: subscriptionId (required), resourceGroupName (required), connectionName (required), connectorName (required), +3 more.

create_workflowA

Create a new workflow. For Consumption SKU, creates a new Logic App resource. For Standard SKU, creates a new workflow within an existing Logic App. Requires a valid workflow definition JSON that follows the Logic Apps schema. IMPORTANT: When adding connector actions (e.g., SQL, Service Bus, MSN Weather), use get_connector_swagger first to discover the correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), definition (required), +4 more.

delete_workflowA

Delete a workflow. For Consumption SKU, deletes the entire Logic App resource. For Standard SKU, deletes a specific workflow within the Logic App. Use with caution as this action cannot be undone.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

disable_workflowA

Disable an active workflow, stopping it from processing triggers and running. In-progress runs will continue until completion. For Consumption Logic Apps, disables the entire Logic App. For Standard Logic Apps, disables a specific workflow within the Logic App.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

enable_workflowA

Enable a disabled workflow, allowing it to process triggers and run. For Consumption Logic Apps, enables the entire Logic App. For Standard Logic Apps, enables a specific workflow within the Logic App.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

get_action_ioB

Get the actual input/output data for a run action. Fetches content from inputsLink/outputsLink URLs. For Standard SKU, workflowName is required. Essential for debugging data transformation issues.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +3 more.

get_action_repetitionsA

Get iteration details for actions inside loops (ForEach, Until). Each iteration is a 'repetition' with its own status, inputs, outputs, and trackedProperties. For Standard SKU, workflowName is required. Essential for debugging loop failures.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +3 more.

get_action_request_historyA

Get HTTP request/response details for connector actions including retries. Shows actual HTTP calls made to external services with headers, status codes, and timing. For Standard SKU, workflowName is required. Useful for debugging API failures.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +3 more.

get_authoring_guideA

Get guidance for creating and modifying Logic Apps workflows. Call this when helping users build workflows, understand connector patterns, or set up deployment pipelines.

Inputs: topic (required).

get_connection_detailsA

Get detailed information about a specific API connection including authentication status, configuration, and API reference. Use test_connection to verify the connection is working.

Inputs: subscriptionId (required), resourceGroupName (required), connectionName (required).

get_connectionsA

List API connections (e.g., Office 365, SQL, Service Bus) in a resource group. Connections are shared resources used by Logic Apps for authentication. Use get_connection_details or test_connection for more info.

Inputs: subscriptionId (required), resourceGroupName (required).

get_connector_swaggerA

Get the OpenAPI/Swagger definition for a managed connector (e.g., msnweather, sql, servicebus, office365). Returns available operations, paths, and schemas. ESSENTIAL for discovering correct action paths when creating or updating workflows with connector actions.

Inputs: subscriptionId (required), location (required), connectorName (required).

get_expression_tracesA

Get expression evaluation traces for an action. Shows how workflow expressions (e.g., @body(), @variables()) were evaluated at runtime, including the expression text, result value, and any errors. For Standard SKU, workflowName is required. Essential for debugging expression failures.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +2 more.

get_host_statusA

Get host status for a Standard Logic App including runtime version, extension bundle version, and diagnostics. Only available for Standard SKU.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required).

get_referenceA

Get reference documentation for Logic Apps. Call this for comprehensive tool usage details or when users ask about differences between Consumption and Standard SKUs.

Inputs: topic (required).

get_run_actionsA

Get the action execution details for a specific workflow run including status, timing, and trackedProperties. For Standard SKU, workflowName is required. Use get_action_io to see actual inputs/outputs for an action.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +2 more.

get_run_detailsA

Get detailed information about a specific workflow run including status, timing, and error summary. For Standard SKU, workflowName is required. Use get_run_actions to see which specific action failed.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +1 more.

get_scope_repetitionsA

Get execution details for scope action iterations (Scope, Switch, Condition). Shows which branch executed, status, and trackedProperties. For Standard SKU, workflowName is required.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +2 more.

get_trigger_callback_urlA

Get the callback URL for request-based triggers (HTTP, manual). Returns the URL with SAS token for invoking the workflow. For Standard SKU, workflowName is required. Use run_trigger to test the workflow instead of calling the URL directly.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), triggerName (required), +1 more.

get_trigger_historyA

Get the execution history of a specific trigger, showing when it fired, succeeded, or failed. Essential for debugging why a workflow didn't run when expected.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), triggerName (required), +3 more.

get_troubleshooting_guideA

Get troubleshooting guidance for Logic Apps issues. Call this when debugging failed runs, expression errors, connection problems, or to understand platform limitations. Returns detailed patterns and solutions.

Inputs: topic (required).

get_workflow_definitionA

Get the full workflow definition JSON for a Logic App workflow. For Consumption SKU, omit workflowName. For Standard SKU, workflowName is required. Use update_workflow to modify the definition.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

get_workflow_instructionsA

Get step-by-step instructions for handling common user requests. CALL THIS FIRST when a user asks high-level questions like 'why is my workflow failing?', 'what does this workflow do?', or 'create a workflow'. Returns detailed sequences of tool calls to complete the task.

Inputs: topic (required).

get_workflow_swaggerB

Get the OpenAPI/Swagger definition for a workflow. Shows trigger schemas and request/response formats. For Standard SKU, workflowName is required. Useful for API documentation or generating client SDKs.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

get_workflow_triggersA

Get trigger information for a workflow including last/next execution times. For Standard SKU, workflowName is required. Use run_trigger to manually fire a trigger, or get_trigger_history to see past executions.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName.

get_workflow_versionA

Get a specific historical version's definition. Only available for Consumption Logic Apps. Use list_workflow_versions to see available versions.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), versionId (required).

invoke_connector_operationA

Invoke a dynamic operation on an API connection to fetch connection-specific data like dropdown values, schemas, or metadata. This is the equivalent of what the Logic Apps designer does when you click on a dropdown or text field - it calls the connector to populate the options.

WHEN TO USE THIS TOOL:

  • After getting connector swagger with get_connector_swagger, you see operations with 'x-ms-dynamic-values' or 'x-ms-dynamic-schema'

  • You need to list available tables, queues, folders, or other resources from a connection

  • You need to get the schema/columns for a specific table or entity

  • You're authoring a workflow and need to know valid values for action parameters

WORKFLOW FOR AUTHORING WITH CONNECTORS:

  1. Use get_connector_swagger to discover operations and see x-ms-dynamic-values annotations

  2. Use get_connections to find existing connections in the resource group

  3. Use invoke_connector_operation to call the dynamic operation (e.g., GetTables, GetQueues)

  4. Use the returned values to populate your workflow action parameters

COMMON EXAMPLES:

  • SQL: operationId='GetTables' returns list of tables, operationId='GetTable' with table parameter returns column schema

  • Service Bus: operationId='GetQueues' returns available queues

  • SharePoint: operationId='GetDataSets' returns sites, then GetTables for lists

  • Blob Storage: operationId='GetDataSets' returns containers

Inputs: subscriptionId (required), resourceGroupName (required), connectionName (required), operationId (required), +1 more.

list_logic_appsA

List all Logic Apps in a subscription or resource group. Returns both Consumption and Standard SKUs. Consumption Logic Apps have a single workflow; Standard Logic Apps can have multiple workflows (use list_workflows to see them).

Inputs: subscriptionId (required), resourceGroupName, sku.

list_run_historyA

Get the run history for a workflow with optional filtering. For Standard SKU, workflowName is required. Use search_runs for easier filtering by status/date. After finding a run, use get_run_details and get_run_actions to debug. Returns a nextLink if more pages are available - use skipToken to fetch the next page.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName, +3 more.

list_subscriptionsA

List all Azure subscriptions accessible to the authenticated user. Use this first to discover available subscriptions, then use list_logic_apps to find Logic Apps.

Inputs: no named parameters.

list_workflowsA

List workflows within a Logic App. Standard SKU can have multiple workflows; Consumption SKU returns a single workflow with the same name as the Logic App. Use this to discover workflow names before calling other workflow-specific tools.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required).

list_workflow_versionsA

List all versions of a Consumption Logic App workflow with creation and change times. Only available for Consumption SKU.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), top.

resubmit_runA

Resubmit a failed or cancelled workflow run to retry execution with the original inputs. Only runs with status 'Failed', 'Cancelled', or 'Succeeded' can be resubmitted. For Standard SKU, workflowName is required. Use get_run_details to check run status first.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), runId (required), +1 more.

run_triggerA

Manually fire a workflow trigger to start a new run immediately, bypassing any schedule or event condition. For Standard SKU, workflowName is required. Use get_workflow_triggers first to find available trigger names. Then use list_run_history to see the result.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), triggerName (required), +1 more.

search_runsA

Search run history with friendly parameters (status, startTime, endTime, clientTrackingId) instead of raw OData filter syntax. For Standard SKU, workflowName is required. Use this instead of list_run_history when filtering by specific criteria. Returns a nextLink if more pages are available - use skipToken to fetch the next page.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), workflowName, +6 more.

test_connectionA

Test if an API connection is valid and working. Checks connection status and validates authentication. Use this to diagnose connector failures in workflow runs.

Inputs: subscriptionId (required), resourceGroupName (required), connectionName (required).

update_workflowA

Update an existing workflow's definition. Replaces the entire definition with the new one. For Standard SKU, workflowName is required. Use get_workflow_definition first to get the current definition, modify it, then update. IMPORTANT: When adding connector actions, use get_connector_swagger to discover correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), definition (required), +3 more.

validate_clone_workflowA

Validate if a Consumption Logic App workflow can be cloned to a Standard Logic App without actually performing the clone. This checks for unsupported operations, connection compatibility, and other potential issues. Use this before clone_workflow to identify any problems that need to be addressed.

Inputs: subscriptionId (required), resourceGroupName (required), logicAppName (required), targetResourceGroupName (required), +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 40 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, from workflow lifecycle operations to debugging and connection management. Even tools that relate to similar aspects (e.g., run details vs. action IO) are differentiated by specific functionality and descriptions.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores (e.g., cancel_run, get_workflow_definition). There is no mixing of conventions, and the naming is predictable across the entire set.

    Tool Count4/5

    40 tools is large, but the domain of Azure Logic Apps management is broad, covering workflow CRUD, run history, debugging, connections, cloning, and guidance. Each tool serves a specific need, though some meta-tools (guides) could be consolidated, keeping the count slightly above ideal.

    Completeness5/5

    The tool set comprehensively covers the full lifecycle of Logic App workflows: creation, reading, updating, deletion, run management, debugging, connection handling, cloning, and validation. It also includes troubleshooting and authoring guides, leaving no obvious gaps for the intended domain.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers