Quick reference for all Runloop MCP commands.
Automatically configure Claude Desktop to use Runloop MCP:
rli mcp installThis command:
- Finds your Claude Desktop config file automatically
- Adds Runloop MCP server configuration
- Preserves existing MCP servers
- Prompts before overwriting existing Runloop configuration
After running this, restart Claude Desktop.
Start the MCP server in stdio mode:
rli mcp startThis mode is used by Claude Desktop and other local AI assistants. The server communicates via stdin/stdout.
Start the MCP server in HTTP mode:
rli mcp start --httpThis starts an HTTP server on port 3000 by default, using Server-Sent Events (SSE) for communication.
Start the HTTP server on a specific port:
rli mcp start --http --port 8080When you run rli mcp install, it creates this configuration in your Claude Desktop config:
{
"mcpServers": {
"runloop": {
"command": "rli",
"args": ["mcp", "start"]
}
}
}To use the development environment:
{
"mcpServers": {
"runloop": {
"command": "rli",
"args": ["mcp", "start"],
"env": {
"RUNLOOP_ENV": "dev"
}
}
}
}Once configured, Claude can use these tools:
list_devboxes- List all devboxesget_devbox- Get devbox detailscreate_devbox- Create a new devboxexecute_command- Run commands on a devboxshutdown_devbox- Shutdown a devboxsuspend_devbox- Suspend a devboxresume_devbox- Resume a devbox
list_blueprints- List available blueprints
list_snapshots- List all snapshotscreate_snapshot- Create a snapshot
Once set up, you can ask Claude:
"List all my devboxes"
"Create a new devbox called 'test-server'"
"Execute 'python --version' on devbox abc123"
"What blueprints are available?"
"Create a snapshot of my devbox"
Test the stdio server manually:
rli mcp startYou should see: Runloop MCP server running on stdio
Test the HTTP server:
rli mcp start --httpYou should see:
Runloop MCP HTTP server running on http://localhost:3000
SSE endpoint: http://localhost:3000/sse
Message endpoint: http://localhost:3000/message
If you get "command not found: rli":
- Install globally:
npm install -g @runloop/rl-cli - Check your PATH includes npm global bin directory
Run rli auth before using the MCP server.
For HTTP mode, use a different port:
rli mcp start --http --port 8080- CLAUDE_SETUP.md - Detailed setup guide for Claude Desktop
- MCP_README.md - Complete MCP documentation