logicapps-mcp

v0.4.3
io.github.laveeshb/logicapps-mcp Checked 14 hours ago Published 10 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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).

ParameterTypeDescription
subscriptionId *stringAzure subscription ID
resourceGroupNamestringFilter by resource group (optional)
skustringFilter by SKU type (default: all)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU, omit for Consumption)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
filterstringOData filter (e.g., "status eq 'Failed'")
skipTokenstringPagination token from a previous response's nextLink to fetch the next page of results
topnumberNumber of runs to return per page (default: 25, max: 100)
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringThe run ID to retrieve
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringThe run ID
subscriptionId *stringAzure subscription ID
actionNamestringFilter to a specific action (optional)
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID

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).

ParameterTypeDescription
connectionName *stringName for the new connection (e.g., 'azureblob-1', 'my-sql-connection')
connectorName *stringManaged connector name (e.g., 'azureblob', 'sql', 'servicebus', 'office365')
location *stringAzure region (e.g., 'westus2', 'eastus'). Should match Logic App region.
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
displayNamestringFriendly display name for the connection (optional, defaults to connectionName)
parameterValuesobjectConnection parameters for non-OAuth connectors. Examples: SQL: {server, database, username, password, encryptConnection}. ServiceBus: {connectionString}. Leave empty for OAuth connectors.

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.

ParameterTypeDescription
connectorName *stringConnector name (e.g., 'msnweather', 'sql', 'servicebus', 'office365', 'azureblob')
location *stringAzure region where the connector is available (e.g., 'westus2', 'eastus')
subscriptionId *stringAzure subscription ID

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…

ParameterTypeDescription
connectionName *stringName of the API connection (e.g., 'sql-1', 'servicebus', 'azureblob')
operationId *stringThe operationId from the connector swagger to invoke (e.g., 'GetTables', 'GetQueues', 'GetDataSets')
resourceGroupName *stringResource group containing the API connection
subscriptionId *stringAzure subscription ID
parametersobjectParameters required by the operation. Check the swagger for required parameters. For example, GetTable requires {table: 'tableName'}

get_host_status

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

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID

list_workflow_versions

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

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
topnumberNumber of versions to return (optional)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
triggerName *stringTrigger name to get history for
filterstringOData filter (e.g., "status eq 'Failed'")
topnumberNumber of history entries to return (default: 25, max: 100)
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
actionName *stringAction name (the loop action)
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringRun ID
subscriptionId *stringAzure subscription ID
repetitionNamestringSpecific repetition to get (e.g., '000000', '000001')
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
actionName *stringAction name (HTTP, connector actions)
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringRun ID
subscriptionId *stringAzure subscription ID
requestHistoryNamestringSpecific request history entry name
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
triggerName *stringTrigger name
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
actionName *stringScope action name
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringRun ID
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
actionName *stringAction name
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringRun ID
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
actionName *stringAction name
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringRun ID
subscriptionId *stringAzure subscription ID
typestringWhich content to fetch (default: both)
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
clientTrackingIdstringFilter by correlation/tracking ID
endTimestringFilter runs starting before this ISO timestamp
skipTokenstringPagination token from a previous response's nextLink to fetch the next page of results
startTimestringFilter runs starting after this ISO timestamp (e.g., 2025-12-24T00:00:00Z)
statusstringFilter by run status
topnumberNumber of runs to return per page (default: 25, max: 100)
workflowNamestringWorkflow name (required for Standard SKU)

get_workflow_version

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

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
versionId *stringVersion ID (from list_workflow_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.

ParameterTypeDescription
connectionName *stringAPI connection name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID

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.

ParameterTypeDescription
connectionName *stringAPI connection name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
triggerName *stringThe name of the trigger to run (e.g., 'manual', 'When_a_HTTP_request_is_received')
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringThe run ID to cancel
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
runId *stringThe run ID to resubmit
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
definition *objectThe workflow definition JSON following the Logic Apps schema
logicAppName *stringLogic App resource name (for Consumption, this becomes the new Logic App name)
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
connectionsobjectAPI connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {"office365": {"connectionName": "office365-test", "id": "/s…
kindstringWorkflow kind for Standard SKU (default: 'Stateful')
locationstringAzure region (required for Consumption SKU, e.g., 'westus2', 'eastus')
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
definition *objectThe new workflow definition JSON following the Logic Apps schema
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
connectionsobjectAPI connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {"office365": {"connectionName": "office365-test", "id": "/s…
kindstringWorkflow kind for Standard SKU (default: 'Stateful')
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringLogic App resource name
resourceGroupName *stringResource group name
subscriptionId *stringAzure subscription ID
workflowNamestringWorkflow name (required for Standard SKU)

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.

ParameterTypeDescription
logicAppName *stringSource Consumption Logic App name
resourceGroupName *stringSource Consumption Logic App resource group name
subscriptionId *stringSource Consumption Logic App subscription ID
targetLogicAppName *stringTarget Standard Logic App name (must already exist)
targetResourceGroupName *stringTarget Standard Logic App resource group name
targetWorkflowName *stringName for the new workflow in the Standard Logic App
targetKindstringWorkflow kind for the target (default: 'Stateful')
targetSubscriptionIdstringTarget Standard Logic App subscription ID (defaults to source subscription if not provided)

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.

ParameterTypeDescription
logicAppName *stringSource Consumption Logic App name
resourceGroupName *stringSource Consumption Logic App resource group name
subscriptionId *stringSource Consumption Logic App subscription ID
targetLogicAppName *stringTarget Standard Logic App name (must already exist)
targetResourceGroupName *stringTarget Standard Logic App resource group name
targetWorkflowName *stringName for the new workflow in the Standard Logic App
targetKindstringWorkflow kind for the target (default: 'Stateful')
targetSubscriptionIdstringTarget Standard Logic App subscription ID (defaults to source subscription if not provided)

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.

ParameterTypeDescription
topic *stringThe troubleshooting topic: 'expression-errors' for null checks, type conversions, date handling; 'connection-issues' for OAuth, Managed Identity, auth problems; 'run-failures' for action failures, tri…

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.

ParameterTypeDescription
topic *stringThe authoring topic: 'workflow-patterns' for triggers, control flow, error handling; 'connector-patterns' for SQL, Service Bus, Blob, Office 365; 'deployment' for ARM, Terraform, CI/CD

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.

ParameterTypeDescription
topic *stringThe reference topic: 'tool-catalog' for all 33 MCP tools with examples; 'sku-differences' for Consumption vs Standard deep dive

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.

ParameterTypeDescription
topic *stringThe instruction topic: 'diagnose-failures' when user asks about failures or errors; 'explain-workflow' to understand what a workflow does; 'monitor-workflows' to check status and health; 'create-workf…