mcp

v1.1.0
@rundeck/mcp Checked 1 day ago Published 1 month ago

MCP server for Rundeck documentation

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

api_call

Execute a Rundeck API call to interact with a Rundeck instance. **When to use:** - Making API requests to Rundeck (GET, POST, PUT, DELETE, PATCH) - Querying projects, jobs, executions, nodes, or system information - Triggering job executions via API - Managing Rundeck resources programmatically **When NOT to use:** - Reading documentation (use resources instead: rundeck://docs/*) - Runner management (use runner_create instead) - ACL policy management (use acl_manage instead) - Generating job definition YAML/JSON (use job_create instead) - Validating job YAML/JSON structure before import (use…

ParameterTypeDescription
endpoint *stringAPI endpoint path. Can be full path (e.g., '/api/59/projects') or relative (e.g., 'projects'). Examples: 'projects', '/api/59/projects', 'job/{job-id}/run', 'execution/{execution-id}'
bodyRequest body for POST/PUT/PATCH requests. Accepts a JSON object, a JSON array, or a pre-serialized JSON string (sent verbatim). Example (run a job): {"options": {"option-name": "value"}, "nodeFilters"…
content_typestringContent-Type header for the request body. Default: 'application/json'. Use 'application/yaml' when importing job definitions generated by job_create (YAML format). Example: 'application/yaml' for POST…
methodstringHTTP method. GET for retrieving data, POST for creating/triggering, PUT for updating, DELETE for removing, PATCH for partial updates. Default: GET
query_paramsobjectQuery parameters as key-value pairs. Names must match the OpenAPI definition for this route (validation uses docs/.vuepress/public/files/rundeck-api.yml). Example: { max: '20', offset: '0' } for pagin…

api_list

List available Rundeck API endpoints with descriptions and categories. **When to use:** - Discovering available API endpoints - Finding endpoints for specific categories (jobs, projects, executions, etc.) - Understanding API structure before making calls **When NOT to use:** - Making actual API calls (use api_call instead) - Reading API documentation (use rundeck://api resource instead) **Example:** List all job-related endpoints by calling with category: "jobs" **If you can't complete this with the information available** (missing or ambiguous parameters, an unclear target project/scope/i…

ParameterTypeDescription
categorystringFilter endpoints by category. Options: 'jobs' (job management), 'projects' (project operations), 'executions' (execution history), 'system' (system info/metrics), 'authentication' (auth endpoints), 'g…

job_create

Generate a Rundeck job definition in YAML or JSON format. **When to use:** - Creating new job definitions from structured parameters - Generating job YAML/JSON for import into Rundeck - Building jobs programmatically **When NOT to use:** - Validating existing job definitions (use job_validate instead) - Making API calls (use api_call instead) - Reading job documentation (use rundeck://docs/manual/jobs resource instead) **Guidance Mode:** Call without required params (name, project, workflow_steps) to get step-by-step guidance on job creation. **Resources:** See rundeck://docs/manual/jobs fo…

job_validate

Validate a Rundeck job definition against Rundeck schemas. **When to use:** - Validating job YAML/JSON before importing - Checking job syntax and structure - Debugging job definition errors **When NOT to use:** - Creating job definitions (use job_create instead) - Making API calls (use api_call instead) - Reading job schema (use rundeck://jobs/schema resource instead) **Guidance Mode:** Call without required params (job_definition, format) to get validation guidance. **Output:** Returns validation result with errors and warnings. **Prioritized over `api_call`** for validating job YAML/JSON…

ParameterTypeDescription
format *stringFormat of the job definition. Must match the actual format of job_definition. Use 'yaml' for YAML format, 'json' for JSON format
job_definition *stringJob definition as a YAML or JSON string. Example YAML: 'name: My Job\nproject: my-project\nsequence:\n commands:\n - exec: echo Hello' Example JSON: '{"name":"My Job","project":"my-project","seque…

runner_create

Create a Rundeck Runner at system or project scope, on any supported platform (Docker, Kubernetes, Linux, or Windows). **When to use:** - Creating a runner for a specific project or global to the system - Provisioning a runner on any platform: Docker, Kubernetes, Linux, or Windows - `installation_type` (platform) and `replica_type` (ephemeral vs manual) are independent — each defaults sensibly (Docker/Kubernetes → ephemeral, Linux/Windows → manual) but any combination is valid, e.g. a manual Docker runner or an ephemeral Kubernetes runner **When NOT to use:** - Expecting the runner to…

ParameterTypeDescription
name *stringRunner name. Must be unique within its scope.
scope *stringCreation scope. - 'system': global runner via POST runnerManagement/runners. Can later be associated to projects. - 'project': runner scoped directly to a project via POST project/{project}/runnerMana…
descriptionstringHuman-readable description for the runner.
installation_typestringPlatform/method the runner is installed on. - 'docker': Docker image (recommended for ephemeral runners). - 'kubernetes': runs as a Kubernetes workload. - 'linux': standalone JAR on a Linux host. - 'w…
node_dispatchobjectOptional Node Dispatch configuration, applied via a follow-up call to POST project/{project}/runnerManagement/nodeDispatch/config right after the runner is created. Only valid when scope is 'project'…
projectstringProject name — required when scope is 'project'. Example: 'my-project'
replica_typestringReplica type. - 'ephemeral': short-lived runner (e.g. Docker container spun up per job). - 'manual': long-lived persistent runner. If omitted, defaults based on installation_type — 'manual' for 'lin…
tag_namesarrayTags to assign to the runner. Used for filtering and targeting. Example: ['DOCKER', 'PRODUCTION', 'US-EAST']

acl_validate

Validate a Rundeck ACL Policy YAML document offline against the aclpolicy v1.0 format. **When to use:** - Checking ACL policy structure (context, for, by/notBy, allow/deny) before creating or updating it - Debugging why a policy might be silently rejecting access (missing match clause, missing by/notBy, etc.) **When NOT to use:** - Actually creating/updating/deleting a policy on the server (use acl_manage instead) - Making generic API calls (use api_call instead) **Reference docs (read these directly — do not guess the URI or list all resources):** - `rundeck://docs/manual/document-format…

ParameterTypeDescription
acl_definition *stringACL Policy file contents as a YAML string. May contain multiple '---'-separated policy documents. Example: 'description: Admin\ncontext:\n application: rundeck\nfor:\n resource:\n - equals:\n…

acl_manage

List, get, create, update, or delete a Rundeck ACL Policy file at system or project scope. **When to use:** - Managing stored ACL policies (system/acl/* or project/{project}/acl/*) without hand-building api_call requests - Auditing which ACL policies exist in a scope, or reading one's current contents - Creating/updating a policy after validating it with acl_validate **When NOT to use:** - Editing ACL policy files on the server's local filesystem (not supported by this or any Rundeck API) - Validating policy structure only, without submitting it (use acl_validate instead) **Scopes:** - `sco…

ParameterTypeDescription
action *stringOperation to perform. - 'list': list ACL policy files in scope (GET .../acl/) - 'get': fetch one policy's YAML contents (GET .../acl/{name}) - 'create': create a new policy (POST .../acl/{name}) — r…
scope *stringPolicy scope. - 'system': stored ACL policies at system/acl/* — apply cluster/instance-wide. - 'project': stored ACL policies at project/{project}/acl/* — apply to one project only. Requires 'proj…
contentstringACL policy YAML contents. Required for 'create' and 'update'. Strongly recommended: validate with acl_validate before submitting — Rundeck will reject invalid policies with a 400 and a list of per-d…
namestringACL policy file name. The '.aclpolicy' suffix is added automatically if omitted. Required for all actions except 'list'. Example: 'admin' or 'admin.aclpolicy'
projectstringProject name — required when scope is 'project'. Example: 'my-project'

resource_model_source_manage

Configure a project's Resource Model Sources (where Nodes come from) and, when possible, load node definitions into them directly — all without hand-building requests against plugin/list, plugin/detail, project/{project}/sources, project/{project}/source/{index}/resources, or project/{project}/config. **The canonical 3-step flow this tool is built around:** 1. **Configure the requested plugin** — call `describe_provider_config` (after `list_provider_types` if the exact installed name is unknown) to get that plugin's real `props` schema, then `add_source` with a `config` built from those p…

ParameterTypeDescription
action *stringOperation to perform. - 'list_provider_types': list installed Resource Model Source plugins (GET plugin/list, filtered to service 'ResourceModelSource') — discover which provider names ('type') are…
configobjectProvider-specific configuration for 'add_source', written as `resources.source.{index}.config.{key}` for each entry — mirrors Rundeck's own flat key convention exactly, so any provider's documented…
contentstringNode definition document contents for 'set_resources' — a YAML, JSON, or XML string matching 'format'. See the Node Definition Format reference in this tool's description.
formatstringNode definition format for 'set_resources' — mapped to the request's Content-Type header (application/yaml, application/json, application/xml). Unrelated to the 'format' key inside 'config' (add_sou…
indexinteger1-based Resource Model Source index. Required for 'get_source', 'remove_source', 'get_resources', and 'set_resources'. Not used for 'list_sources' or 'add_source' (index is auto-assigned).
projectstringProject name — required for all actions except 'list_provider_types' and 'describe_provider_config', which query instance-wide plugin metadata, not a project.
typestringResource Model Source provider type — required for 'add_source' (which provider to configure) and 'describe_provider_config' (which provider's config schema to fetch). No default: a caller must pick…