Waldur MCP server enables integration between Waldur instance and Claude Desktop by implementing the Model Context Protocol (MCP). This allows Claude to interact with your Waldur instance directly.
-
Install Claude Desktop for your platform from the Claude Desktop releases page
-
Install Python 3.13 or higher.
-
Install uv package manager.
To install the package:
pip install waldur-mcp-server
Or with uv:
uv pip install waldur-mcp-server
- Log in to your Waldur instance
- Navigate to Username > Credentials > API Token
- Generate a new token with appropriate token lifetime - you'll need it for configuration
On Windows: %APPDATA%\Claude\claude_desktop_config.json
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
{
"mcpServers": {
"waldur-mcp-server": {
"command": "uv",
"args": [
"--directory",
"C:\\waldur_service",
"run",
"waldur-mcp-server"
],
"env": {
"WALDUR_API_URL": "https://your-waldur-instance",
"WALDUR_TOKEN": "your-token"
}
}
}
}
Published Servers Configuration
{
"mcpServers": {
"waldur-mcp-server": {
"command": "uvx",
"args": [
"waldur-mcp-server"
],
"env": {
"WALDUR_API_URL": "https://your-waldur-instance",
"WALDUR_TOKEN": "your-token"
}
}
}
}
On macOS, log files are located at ~/Library/Logs/Claude/mcp.log
If you encounter a spawn uvx ENOENT
error, verify that your PATH environment variable includes the Python installation directory where uv
is installed. Alternatively, you can specify the full path to uvx
in the configuration file, for example:
~/Library/Frameworks/Python.framework/Versions/3.13/bin/uvx
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory C:\\waldur_service run waldur-mcp-server
When debugging, you'll need to set the required environment variables. Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
- Invalid token: Verify token permissions and expiration
- Connection issues: Check WALDUR_API_URL is accessible