MCP server for Rundeck — 50 tools to manage jobs, executions, projects, nodes, and system from Claude Code, Cursor, or any MCP client
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add rundeck --env RUNDECK_URL='<RUNDECK_URL>' --env RUNDECK_API_TOKEN='<RUNDECK_API_TOKEN>' -- npx -y rundeck-mcp-server~/.codex/config.toml
[mcp_servers.rundeck]
command = "npx"
args = ["-y", "rundeck-mcp-server"]
env = { RUNDECK_URL = "<RUNDECK_URL>", RUNDECK_API_TOKEN = "<RUNDECK_API_TOKEN>" }
# codex mcp add rundeck --env RUNDECK_URL='<RUNDECK_URL>' --env RUNDECK_API_TOKEN='<RUNDECK_API_TOKEN>' -- npx -y rundeck-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"rundeck": {
"command": "npx",
"args": [
"-y",
"rundeck-mcp-server"
],
"env": {
"RUNDECK_URL": "<RUNDECK_URL>",
"RUNDECK_API_TOKEN": "<RUNDECK_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rundeck": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rundeck-mcp-server"
],
"env": {
"RUNDECK_URL": "<RUNDECK_URL>",
"RUNDECK_API_TOKEN": "<RUNDECK_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rundeck": {
"command": "npx",
"args": [
"-y",
"rundeck-mcp-server"
],
"env": {
"RUNDECK_URL": "<RUNDECK_URL>",
"RUNDECK_API_TOKEN": "<RUNDECK_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rundeck": {
"command": "npx",
"args": [
"-y",
"rundeck-mcp-server"
],
"env": {
"RUNDECK_URL": "<RUNDECK_URL>",
"RUNDECK_API_TOKEN": "<RUNDECK_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rundeck": {
"command": "npx",
"args": [
"-y",
"rundeck-mcp-server"
],
"env": {
"RUNDECK_URL": "<RUNDECK_URL>",
"RUNDECK_API_TOKEN": "<RUNDECK_API_TOKEN>"
}
}
}
}需要的环境变量
RUNDECK_URLRUNDECK_API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。