rundeck-mcp-server

v1.0.3
io.github.mariomorenodev/rundeck-mcp-server Checked 2 days ago Published 7 months ago

50 tools to manage Rundeck jobs, executions, projects, nodes, and system via MCP

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

rundeck_list_projects

List all projects available in the Rundeck instance

rundeck_get_project

Get project details including description, configuration, and creation info

ParameterTypeDescription
name *stringProject name

rundeck_create_project

Create a new Rundeck project

ParameterTypeDescription
name *stringProject name (alphanumeric, dashes, underscores)
configobjectProject configuration properties as key-value pairs
descriptionstringProject description

rundeck_delete_project

Permanently delete a project and all its jobs, executions, and configuration. This cannot be undone.

ParameterTypeDescription
name *stringProject name to delete

rundeck_get_project_config

Get the full configuration properties for a project

ParameterTypeDescription
name *stringProject name

rundeck_set_project_config

Replace the full configuration for a project with new key-value pairs

ParameterTypeDescription
config *objectComplete configuration properties to set
name *stringProject name

rundeck_list_jobs

List jobs in a project with optional filtering by group, name, or tags

ParameterTypeDescription
project *stringProject name
groupPathstringFilter by group path (e.g., 'admin/utils')
jobFilterstringFilter by job name (substring match)
maxintegerMax results (default 20)
offsetintegerPagination offset
scheduledFilterbooleanFilter by scheduled status
tagsstringFilter by tags (comma-separated)

rundeck_get_job

Get full job definition including steps, options, schedule, and notifications

ParameterTypeDescription
id *stringJob UUID
formatstringResponse format (default json)

rundeck_get_job_metadata

Get job metadata including creation date, author, and modification info

ParameterTypeDescription
id *stringJob UUID

rundeck_run_job

Execute a job with optional arguments, node filter, and log level. Returns the execution ID for monitoring.

ParameterTypeDescription
id *stringJob UUID
asUserstringRun as a different user (requires admin)
logLevelstringLog level override
nodeFilterstringNode filter expression (e.g., 'name: web.*')
optionsobjectJob option values as key-value pairs
runAtTimestringSchedule execution at ISO 8601 time (e.g., '2024-12-01T10:00:00Z')

rundeck_retry_job

Retry a failed job execution, optionally only on previously failed nodes

ParameterTypeDescription
execId *integerExecution ID to retry
id *stringJob UUID
failedNodesbooleanOnly retry on nodes that failed (default false)
optionsobjectOverride job options

rundeck_import_jobs

Import job definitions into a project from JSON, YAML, or XML content

ParameterTypeDescription
content *stringJob definition content (JSON, YAML, or XML)
project *stringTarget project name
dupeOptionstringHow to handle duplicate jobs (default skip)
formatstringContent format (default json)
uuidOptionstringUUID handling (default preserve)

rundeck_export_jobs

Export job definitions from a project in JSON, YAML, or XML format

ParameterTypeDescription
project *stringProject name
formatstringExport format (default json)
groupPathstringFilter by group path
jobFilterstringFilter by job name

rundeck_delete_job

Permanently delete a job definition. This cannot be undone.

ParameterTypeDescription
id *stringJob UUID to delete

rundeck_bulk_delete_jobs

Delete multiple jobs at once. This cannot be undone.

ParameterTypeDescription
ids *arrayArray of job UUIDs to delete

rundeck_enable_job_execution

Enable execution for a job that was previously disabled

ParameterTypeDescription
id *stringJob UUID

rundeck_disable_job_execution

Disable execution for a job. The job cannot be run until re-enabled.

ParameterTypeDescription
id *stringJob UUID

rundeck_enable_job_schedule

Enable the schedule for a scheduled job

ParameterTypeDescription
id *stringJob UUID

rundeck_disable_job_schedule

Disable the schedule for a scheduled job. Manual execution still works.

ParameterTypeDescription
id *stringJob UUID

rundeck_get_job_forecast

Get upcoming scheduled execution times for a job

ParameterTypeDescription
id *stringJob UUID
maxintegerMaximum number of forecasted times
timestringLookahead period (e.g., '1d', '6h', '30m'). Default '1d'

rundeck_list_executions

Query executions for a project with filters for status, job, and time range

ParameterTypeDescription
project *stringProject name
jobIdFilterstringFilter by job UUID
maxintegerMax results (default 20)
offsetintegerPagination offset
recentFilterstringTime window filter (e.g., '1h', '1d', '7d')
statusstringFilter by execution status

rundeck_list_running_executions

List currently running executions in a project

ParameterTypeDescription
project *stringProject name

rundeck_get_execution

Get detailed information for a specific execution including status, duration, and nodes

ParameterTypeDescription
id *integerExecution ID

rundeck_get_execution_output

Get log output from an execution. Use node and stepctx params to filter specific logs.

ParameterTypeDescription
id *integerExecution ID
maxlinesintegerMax log lines to return (default 500)
nodestringFilter by node name
offsetintegerLog offset for pagination
stepctxstringFilter by step context (e.g., '1' for first step)

rundeck_abort_execution

Abort a running execution. The execution will be marked as 'aborted'.

ParameterTypeDescription
id *integerExecution ID to abort

rundeck_get_job_executions

List execution history for a specific job

ParameterTypeDescription
id *stringJob UUID
maxintegerMax results (default 20)
offsetintegerPagination offset
statusstringFilter by status

rundeck_delete_job_executions

Delete all execution history for a job. This cannot be undone.

ParameterTypeDescription
id *stringJob UUID

rundeck_bulk_delete_executions

Delete multiple executions by ID. This cannot be undone.

ParameterTypeDescription
ids *arrayArray of execution IDs to delete

rundeck_list_nodes

List nodes in a project with optional filter expression. Returns node inventory with hostname, OS, and tags.

ParameterTypeDescription
project *stringProject name
filterstringNode filter expression (e.g., 'tags: web', 'name: prod-.*', 'os-family: unix')

rundeck_get_node

Get detailed information for a specific node in a project

ParameterTypeDescription
name *stringNode name
project *stringProject name

rundeck_system_info

Get Rundeck server version, uptime, JVM stats, and system information

rundeck_get_execution_mode

Check if the server is in active or passive execution mode

rundeck_set_execution_mode

Enable or disable execution mode system-wide. When disabled, no jobs can run.

ParameterTypeDescription
mode *string'enable' to allow executions, 'disable' to block all executions

rundeck_get_metrics

Get server performance metrics including timers, gauges, and counters

rundeck_healthcheck

Run a server health check. Returns pass/fail status for system components.

rundeck_list_users

List all Rundeck users with their roles and last activity

rundeck_get_log_storage

Get log storage status including incomplete uploads and storage usage

rundeck_list_acl_policies

List all system-level ACL policy files

rundeck_get_acl_policy

Get the content of a specific ACL policy file

ParameterTypeDescription
name *stringACL policy file name (e.g., 'admin.aclpolicy')

rundeck_create_acl_policy

Create a new system ACL policy file with YAML content

ParameterTypeDescription
content *stringACL policy content in YAML format
name *stringPolicy file name (e.g., 'mypolicy.aclpolicy')

rundeck_update_acl_policy

Update an existing system ACL policy file

ParameterTypeDescription
content *stringUpdated ACL policy content in YAML format
name *stringPolicy file name

rundeck_delete_acl_policy

Delete a system ACL policy file. This cannot be undone.

ParameterTypeDescription
name *stringPolicy file name to delete

rundeck_list_keys

List keys and directories at a path in the key storage. Use to browse the key tree.

ParameterTypeDescription
pathstringStorage path (e.g., 'keys/myapp'). Empty for root.

rundeck_get_key_metadata

Get metadata for a stored key (type, name, path). Does NOT return the secret value.

ParameterTypeDescription
path *stringFull key path (e.g., 'keys/myapp/password')

rundeck_create_key

Store a new key (password, public key, or private key) in the key storage

ParameterTypeDescription
path *stringStorage path for the key (e.g., 'keys/myapp/db-password')
type *stringType of key to store
value *stringThe key/password value to store

rundeck_delete_key

Delete a key from the key storage. This cannot be undone.

ParameterTypeDescription
path *stringFull key path to delete

rundeck_list_webhooks

List all webhooks configured in a project

ParameterTypeDescription
project *stringProject name

rundeck_get_webhook

Get details for a specific webhook including its configuration and auth token

ParameterTypeDescription
id *integerWebhook ID
project *stringProject name

rundeck_create_webhook

Create a new webhook that triggers a job when called

ParameterTypeDescription
jobId *stringJob UUID to trigger
name *stringWebhook display name
project *stringProject name
enabledbooleanEnable the webhook (default true)
rolesstringAuthorization roles (comma-separated)

rundeck_delete_webhook

Delete a webhook. This cannot be undone.

ParameterTypeDescription
id *integerWebhook ID to delete
project *stringProject name