Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-mswdev-better-unraid-mcp": {
"command": "npx",
"args": [
"-y",
"better-unraid-mcp"
],
"env": {
"UNRAID_API_URL": "<VALUE>",
"UNRAID_API_KEY": "<YOUR_VALUE>",
"UNRAID_SSH_HOST": "<VALUE>",
"UNRAID_SSH_PASSWORD": "<YOUR_VALUE>",
"MCP_READ_ONLY": "false",
"LOG_LEVEL": "info",
"MCP_HTTP_HOST": "127.0.0.1",
"MCP_HTTP_PORT": "3000",
"MCP_TRANSPORT": "stdio",
"UNRAID_SSH_PORT": "22",
"UNRAID_SSH_USER": "root",
"MCP_HTTP_SESSIONS": "false",
"MCP_METRICS_HISTORY": "false",
"UNRAID_SSH_KEY_PATH": "<VALUE>",
"MCP_HTTP_BEARER_TOKEN": "<VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<VALUE>",
"UNRAID_SSH_IDLE_SECONDS": "90",
"UNRAID_ALLOW_SELF_SIGNED": "false",
"MCP_HTTP_ALLOW_UNAUTHENTICATED": "false"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| UNRAID_API_URL | Yes | Full Unraid GraphQL endpoint, including /graphql. |
| UNRAID_API_KEY secret | Yes | API key from Quick start step 1. |
| UNRAID_SSH_HOST | No | Turns on every tool marked SSH above, plus the SSH fallback for docker_stats. Requires a password or key path. |
| UNRAID_SSH_PASSWORD secret | No | SSH password. Prefer UNRAID_SSH_KEY_PATH where you can. |
| MCP_READ_ONLY | No | Set true to register only the read-only tools. Default: false |
| LOG_LEVEL | No | Log level: fatal, error, warn, info, debug, trace, or silent. Default: info |
| MCP_HTTP_HOST | No | Bind address for the http transport. Default: 127.0.0.1 |
| MCP_HTTP_PORT | No | Port for the http transport. Default: 3000 |
| MCP_TRANSPORT | No | MCP transport: stdio (local clients) or http (remote clients). Default: stdio |
| UNRAID_SSH_PORT | No | SSH port. Default: 22 |
| UNRAID_SSH_USER | No | SSH user. Unraid administration is normally done as root. Default: root |
| MCP_HTTP_SESSIONS | No | Set true for stateful HTTP sessions (SSE responses), which carry server-initiated messages: progress notifications, elicitation prompts, and live-resource updates. Default: false |
| MCP_METRICS_HISTORY | No | Set true to record CPU, memory, and network history in memory for metrics_history and unraid://live/history. Default: false |
| UNRAID_SSH_KEY_PATH | No | Path to an SSH private key file (readable by the MCP server process). |
| MCP_HTTP_BEARER_TOKEN | No | Required for the http transport: clients must send Authorization: Bearer <token>. |
| MCP_HTTP_ALLOWED_HOSTS | No | Comma-separated Host allow-list; turns on DNS-rebinding protection. |
| UNRAID_SSH_IDLE_SECONDS | No | Idle seconds before the persistent SSH connection closes (it reconnects when next needed). Default: 90 |
| UNRAID_ALLOW_SELF_SIGNED | No | Set true only for a self-signed TLS certificate on the LAN. Default: false |
| MCP_HTTP_ALLOW_UNAUTHENTICATED | No | Explicit opt-in to run the http transport with no auth (trusted networks only). Default: false |