1. Conduid
  2. Cloud
  3. kestra-io/mcp-server-python
MCP server · Cloud

kestra-io/mcp-server-python

Python MCP Server for Kestra — you can use it as a tool in Kestra's AI Agents

Unclaimed Apache-2.0 cloud
57Fair

Scored 20 hours ago · breakdown

About kestra-io/mcp-server-python

kestra-io/mcp-server-python is an MCP server published by kestra-io in the Cloud category: python MCP Server for Kestra — you can use it as a tool in Kestra's AI Agents. Conduid read 39 tools from its source: add_execution_labels, backfill_executions, change_taskrun_state, create_flow_from_yaml, delete_execution_logs, delete_flow_logs and 33 more. No package is published for it, so it installs from a source checkout.

The repository has 35 stars and 12 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include cloud.

Install

From source
git clone https://github.com/kestra-io/mcp-server-python

Tools (39)

add_execution_labelsAdd or update labels of a terminated execution. The execution must be in one of the terminal states:
ParameterTypeDescription
execution_id *stringThe execution ID to add labels to
labels *objectThe labels to add as a flat dictionary, e.g. {'team': 'datateam', 'replay': 'true'}.
backfill_executionsBackfill executions for a flow within a time window. You can provide explicit start/end dates or use the `days`/`hours`/`minutes` parameters to calculate the start/end dates relative to the current time. Provide those values as integers, e.g., 2 to backfill executions for the last 2 days/hours/minutes.
ParameterTypeDescription
daysintegerThe number of days to backfill
endstringThe end date of the backfill
flow_id *stringThe id of the flow
hoursintegerThe number of hours to backfill
inputsobjectThe inputs for the backfill
labelsarrayThe labels for the backfill
minutesintegerThe number of minutes to backfill
namespace *stringThe namespace of the flow
startstringThe start date of the backfill
trigger_idstringThe id of the trigger
change_taskrun_stateRestart the execution from a failed task or change the state of a task run.
ParameterTypeDescription
execution_id *stringThe ID of the execution to operate on
statestringThe new state for the task run. Default is 'SUCCESS'.
task_run_idstringThe ID of the task run to operate on. If not provided, the first failed task in the execution is restarted.
create_flow_from_yamlCreate or update a Kestra flow from a raw YAML definition. Returns the created or updated flow's JSON metadata.
ParameterTypeDescription
yaml_definition *stringThe raw YAML definition of the flow to create or update
delete_execution_logsDelete logs for a specific execution with optional filtering.
ParameterTypeDescription
attemptintegerDelete logs for specific attempt number only. Default is None (delete all).
execution_id *stringThe execution ID to delete logs for
min_levelstringMinimum log level filter for deletion. Must be one of: ERROR, WARN, INFO, DEBUG, TRACE. Default is None (delete all logs).
task_idstringDelete logs for specific task ID only. Default is None (delete all).
task_run_idstringDelete logs for specific task run ID only. Default is None (delete all).
delete_flow_logsDelete logs for all executions of a specific flow.
ParameterTypeDescription
flow_id *stringThe flow ID to delete logs for
namespace *stringThe namespace of the flow
trigger_idstringDelete logs for specific trigger ID only. Default is None (delete all).
download_execution_logsDownload logs for a specific execution as plain text.
ParameterTypeDescription
attemptintegerFilter logs by specific attempt number. Default is None.
execution_id *stringThe execution ID to download logs for
min_levelstringMinimum log level filter. Must be one of: ERROR, WARN, INFO, DEBUG, TRACE. Default is None (no filter).
task_idstringFilter logs by specific task ID. Default is None.
task_run_idstringFilter logs by specific task run ID. Default is None.
execute_flow
ParameterTypeDescription
flow_id *stringThe ID of the flow to execute
inputsobjectThe inputs to the flow which must be provided as a flat dictionary, e.g. {'user': 'Harry Potter'}. Do NOT use a list of {'key': ..., 'value': ...} objects for inputs. Default is an empty dictionary.
labelsobjectThe labels for the execution as a flat dictionary, e.g. {'environment': 'test', 'project': 'hogwarts'}. Default is no labels.
namespace *stringThe namespace of the flow to execute
revisionintegerThe revision of the flow to execute. Default is 0.
schedule_datestringThe date to schedule the execution for, which must be provided as a string in ISO 8601 format, e.g. '2025-12-28T12:00:00Z'. Default is an empty string.
waitbooleanWhether to wait for the execution to complete. Default is False.
find_flowFind a flow by approximate or partial name. Use this when you know
ParameterTypeDescription
namespacestringOptional namespace to narrow the search
query *stringNatural language flow name to search for, e.g. 'hello world' or 'data pipeline'
follow_execution_logsFollow logs for a specific execution in real-time.
ParameterTypeDescription
execution_id *stringThe execution ID to follow logs for
min_levelstringMinimum log level filter. Must be one of: ERROR, WARN, INFO, DEBUG, TRACE. Default is None (no filter).
force_run_executionForce run an execution only if it is in CREATED, PAUSED, or QUEUED state.
ParameterTypeDescription
execution_id *stringThe ID of the execution to force run
generate_appGenerate or regenerate an app based on a prompt and existing app context.
ParameterTypeDescription
app_yamlstringExisting app YAML to use as context for regeneration. Optional - if not provided, a new app will be generated from scratch.
auto_createbooleanIf true, automatically create the app after generation. Defaults to false so you can review the YAML first.
provider_idstringOptional AI provider ID to use for generation. Use the list from GET /ai/providers if multiple providers are configured.
user_prompt *stringThe user prompt describing what app to generate
generate_dashboardGenerate or regenerate a dashboard based on a prompt and existing dashboard context.
ParameterTypeDescription
auto_createbooleanIf true, automatically create the dashboard after generation. Defaults to false so you can review the YAML first.
dashboard_yamlstringExisting dashboard YAML to use as context for regeneration. Optional - if not provided, a new dashboard will be generated from scratch.
provider_idstringOptional AI provider ID to use for generation. Use the list from GET /ai/providers if multiple providers are configured.
user_prompt *stringThe user prompt describing what dashboard to generate
generate_flowGenerate or regenerate a flow based on a prompt and existing flow context.
ParameterTypeDescription
auto_createbooleanIf true, automatically create or update the flow after generation. Defaults to false so you can review the YAML first.
flow_yamlstringExisting flow YAML to use as context for regeneration. Optional - if not provided, a new flow will be generated from scratch.
namespacestringOptional namespace to use as context for the generated flow
provider_idstringOptional AI provider ID to use for generation. Use the list from GET /ai/providers if multiple providers are configured.
user_prompt *stringThe user prompt describing what flow to generate
generate_testGenerate or regenerate a unit test suite based on a prompt and existing test context.
ParameterTypeDescription
auto_createbooleanIf true, automatically create the test suite after generation. Defaults to false so you can review the YAML first.
provider_idstringOptional AI provider ID to use for generation. Use the list from GET /ai/providers if multiple providers are configured.
test_yamlstringExisting test suite YAML to use as context for regeneration. Optional - if not provided, a new test suite will be generated from scratch.
user_prompt *stringThe user prompt describing what test suite to generate
get_execution_logsGet logs for a specific execution with optional filtering.
ParameterTypeDescription
attemptintegerFilter logs by specific attempt number. Default is None.
execution_id *stringThe execution ID to get logs for
min_levelstringMinimum log level filter. Must be one of: ERROR, WARN, INFO, DEBUG, TRACE. Default is None (no filter).
task_idstringFilter logs by specific task ID. Default is None.
task_run_idstringFilter logs by specific task run ID. Default is None.
get_instance_infoGet instance metadata: configuration (default) or license info.
ParameterTypeDescription
infostringThe type of instance info to get
invite_userInvite a user to a tenant and and assign either a group or an IAM role. If an invitation already exists for this email, the tool returns the existing invitation details.
ParameterTypeDescription
email *stringThe email address of the user to invite
group_namesarrayOptional list of group names to add the user to
rolestringOptional IAM role to assign: admin, developer, editor, launcher, viewer
list_executions
ParameterTypeDescription
countintegerOptional number of most recent executions to return. If None, returns all executions within the date range.
end_datestringAbsolute end of the date range in ISO 8601 format, e.g. '2025-04-30T23:59:59Z'. Only used with start_date.
flow_idstringOptional flow ID to filter executions
namespace *stringThe namespace to list executions from
page_sizeintegerNumber of executions to fetch per page. Default is 100.
start_datestringAbsolute start of the date range in ISO 8601 format, e.g. '2025-04-01T00:00:00Z'. Takes precedence over time_range.
time_rangestringRelative time range as an ISO 8601 duration, e.g. 'P30D' for the last 30 days, 'P7D' for the last 7 days, 'PT5M' for the last 5 minutes, 'PT1H' for the last hour. Defaults to 'P90D' (last 90 days) when no date filter is provided. Use start_date/end_date instead for an absolute date range.
list_flows_in_namespaceRetrieve all flows in a given namespace.
ParameterTypeDescription
namespace *stringThe namespace to list flows from
list_flows_with_triggersList all flows that have one or more triggers.
ParameterTypeDescription
disabled_onlybooleanWhether to include only flows with disabled triggers. Default is False.
enabled_onlybooleanWhether to include only flows with enabled triggers. Default is False.
namespacestringThe namespace to list flows from. If not provided, all namespaces are scanned.
list_namespace_dependenciesRetrieve all flow-to-flow dependencies within a given namespace and render them as an ASCII dependency graph **using only the flow IDs**. Always return the legend after the graph.
ParameterTypeDescription
namespace *stringThe namespace to list dependencies from
list_namespacesList all existing namespaces, with an option to only include those with flows.
ParameterTypeDescription
page_sizeintegerThe number of namespaces to return per page. Default is 100.
querystringThe query string for full-text search in namespace names
with_flows_onlybooleanWhether to only include namespaces with at least one flow. Default is False.
manage_announcements
ParameterTypeDescription
action *stringThe action to perform: list, create, update, delete
activebooleanWhether the banner is active. Default is True.
endDatestringThe end date in ISO format. Required for create and update actions.
id_stringThe banner ID. Required for update and delete actions.
messagestringThe banner message. Required for create and update actions.
startDatestringThe start date in ISO format. Required for create and update actions.
tenantIdstringThe tenant ID. Optional.
typestringThe banner type. Required for create and update actions.
manage_appsManage an app by an action (create, enable, disable, delete). For 'create', yaml_source is required (YAML string for the app definition). For 'enable', 'disable', or 'delete', uid is required.
ParameterTypeDescription
action *stringThe action to perform: create, enable, disable, delete
uidstringThe UID of the app. Required for 'enable', 'disable', or 'delete' action.
yaml_sourcestringThe YAML string for the app definition. Required for 'create' action. If the app already exists, it will be updated.
manage_executionsManage an execution by action. Base don the action, the tool returns:
ParameterTypeDescription
action *stringThe action to perform: pause, kill, delete, get, change_status. Use 'pause' to pause a running execution, 'kill' to kill an execution (and its subflows if cascade=True), 'delete' to delete an execution by ID, 'get' to retrieve full details for a single execution by its ID, 'change_status' to change the state of an execution (requires 'status').
cascadebooleanWhether to cascade kill to subflows. Only for 'kill', default True.
execution_id *stringThe execution ID to operate on
statusstringThe new status for 'change_status' action. Required for 'change_status' action.
manage_flowManage a flow by action. The action must be one of 'enable', 'disable', 'list_revisions', 'list_dependencies', 'get_yaml', or 'delete'.
ParameterTypeDescription
action *stringThe action to perform: enable, disable, list_revisions, list_dependencies, get_yaml, or delete
flow_id *stringThe ID of the flow
namespace *stringThe namespace of the flow
manage_groupManage a group by action. The action must be one of 'create', 'get', 'update', or 'delete'.
ParameterTypeDescription
action *stringThe action to perform: create, get, update, delete
descriptionstringThe group description. Required for create and update actions.
id_stringThe group ID. Required for get and update actions.
namestringThe group name. Required for create and update actions.
rolestringThe role to assign to the group. Optional.
manage_invitationsManage an invitation by action. The action must be one of 'get' or 'delete'.
ParameterTypeDescription
action *stringThe action to perform: get, delete
id_stringThe invitation ID. Required for get and delete actions.
manage_kv_storePerform a KV operation in the given namespace. Returns:
ParameterTypeDescription
action *stringThe operation to perform: get, set, list, or delete
keystringRequired for 'get', 'set', and 'delete' actions
namespace *stringThe namespace to operate in
valueanyRequired for 'set' action
manage_testsManage a test (unit test) by action. For 'create', yaml_source is required (YAML string for the test definition). If the test already exists (POST 409 or 422), update it. For 'run' or 'delete', namespace and id_ are required.
ParameterTypeDescription
action *stringThe action to perform: create, run, delete
id_stringThe id of the test
namespacestringThe namespace of the test
yaml_sourcestringThe YAML source for the test
namespace_directory_actionPerform a directory operation in the given namespace.
ParameterTypeDescription
action *stringThe action to perform: list, create, move, or delete
namespace *stringThe namespace to operate in
path *stringThe directory path
to_pathstringRequired for 'move' action, the destination path.
namespace_file_actionPerform a file operation in the given namespace. Returns: for 'get', 'create', 'move', 'delete', and 'search' actions, see their respective return types.
ParameterTypeDescription
actionstring
file_contentanyRequired for 'create' action, the content of the file as bytes.
namespace *stringThe namespace to operate in
pathstringThe file path. Not required for 'search' action.
qstringRequired for 'search' action, the query string for full-text search in file paths.
to_pathstringRequired for 'move' action, the destination path.
replay_executionReplay (NOT RESTART, BUT REPLAY) one or more past executions by ID, or the latest execution for a given flow if a list of ids is not provided. Returns a summary string if replaying the latest execution, otherwise the API JSON response.
ParameterTypeDescription
flow_idstringFlow ID (required if ids is not provided)
idsarrayList of execution IDs to replay. If not provided, namespace and flow_id are required to fetch the latest execution.
latest_revisionbooleanUse the latest flow revision (optional)
namespacestringNamespace of the flow (required if ids is not provided)
restart_executionRestart a failed execution. If execution_id is provided, restart that execution. If not, retrieve the latest failed execution for the given namespace and flow_id and restart it.
ParameterTypeDescription
execution_idstringThe ID of the execution to restart. If not provided, the latest failed execution for the given namespace and flow_id is restarted.
flow_id *stringThe ID of the flow
namespace *stringThe namespace of the flow
revisionintegerThe revision of the flow to restart. If not provided, the same revision as the original execution is used.
resume_executionResume one or more paused executions by ID, or the most recent paused execution for a given namespace and flow.
ParameterTypeDescription
execution_idsarrayList of execution IDs to resume. If not provided, namespace and flow_id are required to fetch the most recent paused execution.
flow_idstringFlow ID (required if execution_ids is not provided)
namespacestringNamespace of the flow (required if execution_ids is not provided)
on_resumeobjectKey-value pairs to send as multipart/form-data. If not provided, the bulk resume endpoint is used or the Pause task defaults are used if available.
search_appsList existing apps, optionally filtered by namespace, flowId, tags, or full-text search string.
ParameterTypeDescription
flowIdstringThe flowId to filter by.
namespacestringThe namespace to filter by.
pageintegerThe page number to return. Default is 1.
qstringA string in a full-text search query.
sizeintegerThe number of items to return per page. Default is 10.
sortarrayThe list of sort fields.
tagsarrayThe list of tags to filter by.
search_flowsSearch flows by name or content.
ParameterTypeDescription
pageintegerThe page number to return. Default is 1.
query *stringThe query string for full-text search in flow names and contents
sizeintegerThe number of flows to return per page. Default is 10.
search_logs
ParameterTypeDescription
end_datestringEnd date for log search in ISO 8601 format (e.g., '2024-01-31T23:59:59Z'). Default is None.
flow_idstringFilter logs by flow ID. Default is None.
min_levelstringMinimum log level filter. Must be one of: ERROR, WARN, INFO, DEBUG, TRACE. Default is None (no filter).
namespacestringFilter logs by namespace. Default is None.
pageintegerPage number for pagination. Default is 1.
querystringSearch term to look for in log messages. Default is None.
sizeintegerNumber of results per page. Default is 25.
start_datestringStart date for log search in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Default is None.

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 17 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/server.py:104
Starts other programs
No calls that start other programs
Outbound network calls
35 callssrc/kestra/compat.py:54, src/kestra/compat.py:63, src/kestra/compat.py:103
Writes or deletes files
No file writes or deletes
Lockfile
None in the repository

Pattern matches on the source text of 17 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About kestra-io/mcp-server-python

How do I install kestra-io/mcp-server-python?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is kestra-io/mcp-server-python safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Conduid's scan of 17 source files found that it serves MCP over stdio and makes outbound network calls (35 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is kestra-io/mcp-server-python still maintained?

Yes — the last commit was yesterday. The repository has 35 stars and 12 forks and 5 open issues.

What tools does kestra-io/mcp-server-python provide?

Conduid read 39 tools from the source: add_execution_labels, backfill_executions, change_taskrun_state, create_flow_from_yaml, delete_execution_logs, delete_flow_logs, download_execution_logs, execute_flow and 31 more. 39 of them publish their parameters, listed under Tools above.

What license is kestra-io/mcp-server-python released under?

The repository declares the Apache-2.0 license.