mcp
v1.1.0MCP 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…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | API 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}' |
body | Request 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_type | string | Content-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… |
method | string | HTTP method. GET for retrieving data, POST for creating/triggering, PUT for updating, DELETE for removing, PATCH for partial updates. Default: GET |
query_params | object | Query 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…
| Parameter | Type | Description |
|---|---|---|
category | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
format * | string | Format of the job definition. Must match the actual format of job_definition. Use 'yaml' for YAML format, 'json' for JSON format |
job_definition * | string | Job 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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Runner name. Must be unique within its scope. |
scope * | string | Creation 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… |
description | string | Human-readable description for the runner. |
installation_type | string | Platform/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_dispatch | object | Optional 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'… |
project | string | Project name — required when scope is 'project'. Example: 'my-project' |
replica_type | string | Replica 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_names | array | Tags 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…
| Parameter | Type | Description |
|---|---|---|
acl_definition * | string | ACL 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation 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 * | string | Policy 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… |
content | string | ACL 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… |
name | string | ACL policy file name. The '.aclpolicy' suffix is added automatically if omitted. Required for all actions except 'list'. Example: 'admin' or 'admin.aclpolicy' |
project | string | Project 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation to perform. - 'list_provider_types': list installed Resource Model Source plugins (GET plugin/list, filtered to service 'ResourceModelSource') — discover which provider names ('type') are… |
config | object | Provider-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… |
content | string | Node 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. |
format | string | Node 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… |
index | integer | 1-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). |
project | string | Project name — required for all actions except 'list_provider_types' and 'describe_provider_config', which query instance-wide plugin metadata, not a project. |
type | string | Resource 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… |
docs_search
Search local Rundeck documentation (markdown under RUNDECK_DOCS_PATH) by keywords and phrases. **When to use:** - Finding where a topic, term, or feature is documented before opening a resource - Exploring the docs when you do not know the exact `rundeck://` URI - Getting ranked excerpts and file paths to narrow which resource to read next **When NOT to use:** - Reading a full document you already identified (use resources/read with the `rundeck://...` URI) - Making API calls to a Rundeck server (use api_call) - Generating jobs (use job_create) **Follow-up:** Prefer `resources/read` on the…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query |
category | string | Limit search to specific category |