Rundeck MCP Server
This is a Model Context Protocol (MCP) server for interacting with the Rundeck CLI. It provides a set of tools that allow you to perform Rundeck operations with AI without directly interacting with the command line.
Features
- Jobs Management: List, get information, execute, and predict
- Executions Management: List, get information, get output, and track
- Projects Management: List and get information
- Nodes and System Information: List nodes and get system information
Installation
Prerequisites
- Node.js (v14 or higher)
- Rundeck CLI tool
Steps
- Clone this repository:
git clone https://github.com/vanisoul/rundeck-mcp-server
cd rundeck-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
- Configure the MCP settings file:
Add the following configuration to your MCP settings file. The location of the settings file depends on your environment:
{
"mcpServers": {
"rundeck": {
"command": "node",
"args": ["/path/to/rundeck-mcp-server/build/index.js"],
"env": {
"RUNDECK_CLI_PATH": "/usr/bin/rd",
"RUNDECK_BASE_URL": "http://your-rundeck-server:port/",
"RUNDECK_API_TOKEN": "your-api-token"
},
"disabled": false,
"alwaysAllow": []
}
}
}
Make sure to replace the following values:
/path/to/rundeck-mcp-server/build/index.js: The absolute path to the built index.js file/usr/bin/rd: The absolute path to the Rundeck CLI toolhttp://your-rundeck-server:port/: Your Rundeck server URLyour-api-token: Your Rundeck API token
- Restart VS Code or Claude Desktop for the settings to take effect.
How to Install Rundeck CLI
- https://docs.rundeck.com/docs/rd-cli/install.html
Troubleshooting
If you encounter issues, check the following:
- Ensure the Rundeck CLI tool is available and working properly
- Make sure the RUNDECK_CLI_PATH environment variable points to the correct Rundeck CLI tool path
- Ensure the RUNDECK_BASE_URL and RUNDECK_API_TOKEN environment variables are set correctly
- Check that the MCP settings file is configured correctly
License
MIT
Recommend MCP Servers 💡
homeassistant-mcp
The server uses the MCP protocol to share access to a local Home Assistant instance with an LLM application. A powerful bridge between your Home Assistant instance and Language Learning Models (LLMs), enabling natural language control and monitoring of your smart home devices through the Model Context Protocol (MCP). This server provides a comprehensive API for managing your entire Home Assistant ecosystem, from device control to system administration.
mcp-task-orchestrator
MCP server that breaks down complex tasks into structured workflows with specialized AI roles and workspace-aware management
ros-mcp
A MCP server for controlling ROS robots via natural language using topics, services, and actions
switchbot
A Model Context Protocol (MCP) server that provides interactive control over SwitchBot smart home devices using the SwitchBot API.
mcp-server-macos-use
An MCP server in Swift that enables AI agents to control macOS applications using accessibility APIs, compatible with any model.
nodemcu-mcp
An MCP service for managing NodeMCU IoT devices with REST API, WebSocket, and AI integration.