dbos-mcp

v0.8.0
dbos-mcp Checked 4 days ago Published 3 months ago

MCP server for DBOS Conductor workflow introspection and management

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

login

Start DBOS Cloud login flow. Returns a URL that the user must open in their browser to authenticate. After authenticating, call login_complete to finish the login process. Returns: Dictionary with url to visit and instructions.

login_complete

Complete DBOS Cloud login after authenticating in browser. Call this after you have opened the login URL and authenticated. Returns: Dictionary with userName and organization on success.

list_applications

List all applications registered with DBOS Conductor. Returns: applications: Array of application objects, each containing: - id (string): Unique identifier - name (string): Name of the application - orgId (string): Organization ID - status (string): "AVAILABLE" or "UNAVAILABLE" - language (string, optional): Programming language of the application - gcTimeThresholdMs (int, optional): Garbage collection time threshold in milliseconds - gcRowsThreshold (int, optional): Garbage collection rows thresh…

list_workflows

List workflows from DBOS Conductor with optional filters. Args: application_name (string, required): Name of the DBOS application workflow_uuids (array of strings, optional): Filter to only these specific workflow IDs workflow_name (string or array of strings, optional): Filter by workflow function name authenticated_user (string or array of strings, optional): Filter by the user who started the workflow start_time (string, optional): Filter workflows created after this time (ISO 8601) end_time (string, optional): Filter workflows created be…

ParameterTypeDescription
application_name *string
application_version
authenticated_user
completed_after
completed_before
dequeued_after
dequeued_before
end_time
executor_id
forked_from
has_parent
limit
load_input
load_output
offset
parent_workflow_id
queue_name
queues_only
schedule_name
sort_desc
start_time
status
was_forked_from
workflow_id_prefix
workflow_name
workflow_uuids

get_workflow

Get details of a specific workflow from DBOS Conductor. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to retrieve Returns: workflowId (string): The workflow ID status (string): PENDING, SUCCESS, ERROR, CANCELLED, ENQUEUED, DELAYED, or MAX_RECOVERY_ATTEMPTS_EXCEEDED workflowName (string): The name of the workflow function workflowClass (string, optional): The name of the workflow's class, if any workflowConfig (string, optional): The name with which the…

ParameterTypeDescription
application_name *string
workflow_id *string

list_steps

Get execution steps for a workflow from DBOS Conductor. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow limit (int, optional): Maximum number of steps to return offset (int, optional): Number of steps to skip (for pagination) Returns: steps: Array of step objects, each containing: - stepId (int): The unique ID of the step in the workflow - stepName (string): The name of the step - output (string, optional): The step's output, if any…

ParameterTypeDescription
application_name *string
workflow_id *string
limit
offset

list_executors

List executors for an application from DBOS Conductor. Executors are running instances of your application connected to Conductor. Args: application_name (string, required): Name of the DBOS application Returns: executors: Array of executor objects, each containing: - executorId (string): Unique identifier for this executor - appId (string): The application ID - appVersion (string): Version of the application running on this executor - status (string): HEALTHY, DISCONNECTED, or DEAD - hostId (string, opt…

ParameterTypeDescription
application_name *string

cancel_workflow

Cancel a running workflow. Sets the workflow status to CANCELLED. The workflow will stop executing at the next step boundary. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to cancel cancel_children (bool, optional): Also cancel child workflows started by this workflow (default: false) Returns: message (string): Confirmation message workflow_id (string): The cancelled workflow ID

ParameterTypeDescription
application_name *string
workflow_id *string
cancel_childrenboolean

resume_workflow

Resume a workflow. Resumes execution of a workflow that is in CANCELLED state. You can also use this on a workflow in the ENQUEUED state to immediately start it, bypassing its queue. You cannot resume a workflow in any other state. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to resume queue_name (string, optional): If provided, enqueue the resumed workflow onto this queue instead of running it immediately Returns: message (string): Confirmation message w…

ParameterTypeDescription
application_name *string
workflow_id *string
queue_name

fork_workflow

Fork a workflow from a specific step. Creates a new workflow that starts from a specific step of an existing workflow, reusing the recorded outputs of all prior steps. Useful for debugging, testing fixes, or replaying workflows from a specific point. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to fork from start_step (int, required): The step number to start from (use list_steps to find step IDs) application_version (string, optional): Application version for the new…

ParameterTypeDescription
application_name *string
start_step *integer
workflow_id *string
application_version
new_workflow_id
queue_name
queue_partition_key

bulk_cancel_workflows

Cancel multiple workflows at once. Sets each workflow's status to CANCELLED. Each workflow will stop executing at its next step boundary. Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to cancel cancel_children (bool, optional): Also cancel child workflows started by these workflows (default: false) Returns: message (string): Confirmation message count (int): Number of workflows cancelled

ParameterTypeDescription
application_name *string
workflow_ids *array
cancel_childrenboolean

bulk_resume_workflows

Resume multiple workflows at once. Resumes execution of workflows that are in CANCELLED state. You can also use this on workflows in ENQUEUED state to immediately start them, bypassing their queue. Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to resume queue_name (string, optional): If provided, enqueue the resumed workflows onto this queue instead of running them immediately Returns: message (string): Confirmation message count (int): Number of…

ParameterTypeDescription
application_name *string
workflow_ids *array
queue_name

bulk_delete_workflows

Delete multiple workflows at once. Permanently deletes the workflows and their execution history. Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to delete delete_children (bool, optional): Also delete child workflows started by these workflows (default: false) Returns: message (string): Confirmation message count (int): Number of workflows deleted

ParameterTypeDescription
application_name *string
workflow_ids *array
delete_childrenboolean

fork_from_failure

Fork multiple failed workflows from a specific point. Creates new workflows that re-execute from a chosen point, reusing the recorded outputs of all prior steps. Useful for retrying a batch of failed workflows after deploying a fix. IMPORTANT: You must set exactly one of from_last_failure, from_last_step, from_step, or from_step_name. Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to fork application_version (string, optional): Application version for the new…

ParameterTypeDescription
application_name *string
workflow_ids *array
application_version
from_last_failureboolean
from_last_stepboolean
from_step
from_step_name
queue_name
queue_partition_key

delete_workflow

Delete a workflow from DBOS Conductor. Permanently deletes a workflow and its execution history. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to delete delete_children (bool, optional): Also delete child workflows started by this workflow (default: false) Returns: message (string): Confirmation message workflow_id (string): The deleted workflow ID

ParameterTypeDescription
application_name *string
workflow_id *string
delete_childrenboolean

get_workflow_aggregates

Get workflow aggregate metrics from DBOS Conductor. Returns workflow aggregates grouped by one or more dimensions. Useful for dashboards and understanding workflow status at a glance (e.g., "how many workflows failed today?", "how many workflows are pending per queue?", "what's the worst queue-wait time per workflow name?"). Select at least one select_* flag to populate aggregate values. At least one group_by_* flag is mandatory to break the results down by dimension; a query with no group_by_* will fail. Args: application_name (string, required): Nam…

ParameterTypeDescription
application_name *string
app_version
completed_after
completed_before
dequeued_after
dequeued_before
end_time
executor_id
group_by_application_nameboolean
group_by_application_versionboolean
group_by_executor_idboolean
group_by_nameboolean
group_by_queue_nameboolean
group_by_statusboolean
name
queue_name
schedule_name
select_countboolean
select_max_queue_wait_msboolean
select_max_total_latency_msboolean
select_min_created_atboolean
start_time
status
time_bucket_size_ms
workflow_id_prefix

get_workflow_events

Get events published by a workflow from DBOS Conductor. Events are OUTBOUND: a workflow publishes them about its own state or progress via setEvent, and anything holding the workflow ID (another workflow, an HTTP handler, a client) reads them via getEvent. A workflow that never received anything can still have events. To see messages sent TO a workflow, use get_workflow_notifications instead. Each event has a string key and a value. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the w…

ParameterTypeDescription
application_name *string
workflow_id *string

get_workflow_notifications

Get notifications received by a workflow from DBOS Conductor. Notifications are INBOUND: another party sends a message to this workflow on a topic via send, and the workflow consumes it via recv. This is the tool to use for "what did this workflow receive?" — for what a workflow published about itself, use get_workflow_events instead. Unlike events, multiple notifications can be sent on the same topic. Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow Returns: noti…

ParameterTypeDescription
application_name *string
workflow_id *string

list_schedules

List schedules for an application from DBOS Conductor. Schedules automatically trigger workflows on a cron-based schedule. Args: application_name (string, required): Name of the DBOS application status (string, optional): Filter by schedule status (e.g., "ACTIVE", "PAUSED") workflow_name (string, optional): Filter by the workflow function the schedule triggers schedule_name_prefix (string, optional): Filter by schedule name prefix Returns: schedules: Array of schedule objects, each containing: - scheduleId (string): Unique iden…

ParameterTypeDescription
application_name *string
schedule_name_prefix
status
workflow_name

get_schedule

Get details of a specific schedule from DBOS Conductor. Args: application_name (string, required): Name of the DBOS application schedule_name (string, required): Name of the schedule Returns: scheduleId (string): Unique identifier scheduleName (string): Name of the schedule workflowName (string): The workflow function this schedule triggers workflowClass (string, optional): The workflow's class name, if any cronExpression (string): Cron expression defining the schedule status (string): "ACTIVE" or "PAUSED" contex…

ParameterTypeDescription
application_name *string
schedule_name *string

pause_schedule

Pause a schedule, stopping it from triggering new workflows. The schedule can be resumed later with resume_schedule. Args: application_name (string, required): Name of the DBOS application schedule_name (string, required): Name of the schedule to pause Returns: message (string): Confirmation message schedule_name (string): The paused schedule name

ParameterTypeDescription
application_name *string
schedule_name *string

resume_schedule

Resume a paused schedule, allowing it to trigger workflows again. Args: application_name (string, required): Name of the DBOS application schedule_name (string, required): Name of the schedule to resume Returns: message (string): Confirmation message schedule_name (string): The resumed schedule name

ParameterTypeDescription
application_name *string
schedule_name *string

trigger_schedule

Manually trigger a schedule to run its workflow immediately. This does not affect the schedule's regular cron timing. Args: application_name (string, required): Name of the DBOS application schedule_name (string, required): Name of the schedule to trigger Returns: workflow_id (string, optional): The ID of the triggered workflow, if one was created schedule_name (string): The triggered schedule name

ParameterTypeDescription
application_name *string
schedule_name *string

list_application_versions

List all versions of an application from DBOS Conductor. Each time an application connects with a new version string, a new version is recorded. Use set_latest_application_version to control which version is considered current. Args: application_name (string, required): Name of the DBOS application Returns: versions: Array of version objects, each containing: - versionId (string): Unique identifier for this version - versionName (string): The version string - versionTimestamp (string): Version timestamp (ISO 8601)…

ParameterTypeDescription
application_name *string

set_latest_application_version

Set the latest version for an application in DBOS Conductor. This controls which version is considered current. Useful for rolling back to a previous version or promoting a specific version. Args: application_name (string, required): Name of the DBOS application version_name (string, required): The version string to set as latest Returns: message (string): Confirmation message version_name (string): The version that was set as latest

ParameterTypeDescription
application_name *string
version_name *string