# logicapps-mcp [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/laveeshb/logicapps-mcp  
**GitHub Stars:** 7  
**npm Downloads (last month):** 546  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/logicapps-mcp

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

## Tools
Capabilities this server exposes over MCP:

- **list_subscriptions** — 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.
- **list_logic_apps** — 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).
- **list_workflows** — 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.
- **get_workflow_definition** — 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.
- **get_workflow_triggers** — 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.
- **list_run_history** — 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.
- **get_run_details** — 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.
- **get_run_actions** — 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.
- **get_connections** — 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.
- **create_connection** — 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).
- **get_connector_swagger** — 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.
- **invoke_connector_operation** — 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
- **get_host_status** — Get host status for a Standard Logic App including runtime version, extension bundle version, and diagnostics. Only available for Standard SKU.
- **list_workflow_versions** — List all versions of a Consumption Logic App workflow with creation and change times. Only available for Consumption SKU.
- **get_trigger_history** — 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.
- **get_action_repetitions** — 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.
- **get_action_request_history** — 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.
- **get_trigger_callback_url** — 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.
- **get_scope_repetitions** — Get execution details for scope action iterations (Scope, Switch, Condition). Shows which branch executed, status, and trackedProperties. For Standard SKU, workflowName is required.
- **get_expression_traces** — 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.
- **get_workflow_swagger** — 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.
- **get_action_io** — 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.
- **search_runs** — 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.
- **get_workflow_version** — Get a specific historical version's definition. Only available for Consumption Logic Apps. Use list_workflow_versions to see available versions.
- **get_connection_details** — Get detailed information about a specific API connection including authentication status, configuration, and API reference. Use test_connection to verify the connection is working.
- **test_connection** — Test if an API connection is valid and working. Checks connection status and validates authentication. Use this to diagnose connector failures in workflow runs.
- **enable_workflow** — 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.
- **disable_workflow** — 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.
- **run_trigger** — 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.
- **cancel_run** — 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.
- **resubmit_run** — 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.
- **create_workflow** — 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.
- **update_workflow** — 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.
- **delete_workflow** — 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.
- **clone_workflow** — 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.
- **validate_clone_workflow** — 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.
- **get_troubleshooting_guide** — 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.
- **get_authoring_guide** — Get guidance for creating and modifying Logic Apps workflows. Call this when helping users build workflows, understand connector patterns, or set up deployment pipelines.
- **get_reference** — Get reference documentation for Logic Apps. Call this for comprehensive tool usage details or when users ask about differences between Consumption and Standard SKUs.
- **get_workflow_instructions** — 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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "logicapps-mcp": {
    "command": "npx",
    "args": ["-y","logicapps-mcp"]
  }
}
```

## Documentation

## What logicapps-mcp does

logicapps-mcp exposes Azure Logic Apps operations through the Model Context Protocol. It helps an AI assistant find accessible Azure subscriptions, locate Logic Apps and their workflows, inspect definitions and trigger metadata, and work with workflow runs.

The server supports both Consumption and Standard Logic Apps. Consumption apps contain one workflow, while Standard apps can contain multiple workflows. Workflow-specific calls use the workflow name for Standard apps; Consumption calls can use the Logic App itself where applicable.

Its read and write capabilities cover workflow operations, run management, trigger execution, connector discovery, and API connection administration. The repository describes support for creating, updating, and deleting workflows, as well as enabling and disabling them.

## How it works

Install the package globally, authenticate to Azure with the Azure CLI, and register the executable as an MCP server using a stdio configuration. An MCP-compatible client can then invoke the exposed tools using natural-language requests or direct tool calls.

A typical discovery sequence starts with subscriptions, followed by Logic Apps and workflows. For troubleshooting, inspect run history, retrieve run details and action results, and then examine action inputs and outputs, repetitions, request history, or expression traces as needed. Paginated run queries return a continuation link that can be used with a skip token.

Workflow authoring with connectors follows a separate discovery path. Retrieve a connector's Swagger definition, identify dynamic-value or dynamic-schema operations, find an existing API connection, and invoke the relevant connector operation to obtain tables, queues, schemas, or other parameter values.

## Setup and configuration

Install the npm package and sign in to Azure:

```bash
npm install -g logicapps-mcp
az login
```

A minimal VS Code workspace configuration uses the stdio transport:

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

The server can be used with Claude Desktop, GitHub Copilot, and other MCP-compatible clients. A hosted deployment path for Azure is also referenced by the project, alongside the local stdio setup.

## Tools and capabilities

- Discover subscriptions, Logic Apps, workflows, workflow versions, and workflow Swagger definitions.
- Read and modify workflow definitions, including authoring workflows and managing their enabled state.
- Inspect run history, search runs by status or time, retrieve run and action details, and cancel active runs.
- Debug triggers, loops, scopes, connector requests, action input/output payloads, and expression evaluation.
- Manually fire triggers, inspect callback URLs, and review trigger execution history.
- List, create, inspect, and test API connections used by managed connectors.
- Retrieve connector Swagger documents and invoke dynamic connector operations for resource and schema discovery.

## Limitations and notes

Consumption and Standard Logic Apps have different workflow addressing and feature availability. Host status is available for Standard apps, while workflow versions and historical definitions are available for Consumption apps. Some connector creation flows require browser-based OAuth consent; parameter-based connectors instead accept connection details directly. Trigger execution, workflow changes, disabling, and run cancellation are write operations that can affect live Azure resources.

_Full upstream README: https://allmcps.com/mcp/logicapps-mcp/readme_

