Enables agents to monitor the status of Coder deployments and manage related infrastructure components.
Allows agents to check for active infrastructure alerts and monitor metrics like CPU usage in real-time.
Supports monitoring Kubernetes pods and deployments, as well as researching and documenting cluster security vulnerabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenClaw MCP Serverspawn a task to monitor the staging cluster for pod restarts for the next hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenClaw MCP Server
Model Context Protocol (MCP) server for delegating tasks to OpenClaw agents.
Overview
This MCP server exposes OpenClaw agent capabilities to MCP clients like Cursor, allowing you to:
Send immediate messages to agents (quick questions, status checks)
Spawn background tasks (long-running research, monitoring)
Check task status
List active sessions
Installation
Prerequisites
Node.js 20+
OpenClaw CLI installed and configured
OpenClaw Gateway running
Quick Install
Configuration
For Cursor
Add to Cursor's MCP settings:
Location: ~/Library/Application Support/Cursor/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
Get absolute path:
Restart Cursor completely after adding config.
Environment Variables
OPENCLAW_GATEWAY_URL- Gateway WebSocket URL (default:ws://localhost:18789)OPENCLAW_AGENT- Default agent ID (default:phoenix)OPENCLAW_TOKEN- Optional authentication token
Usage
From Cursor Chat
Once configured, use OpenClaw tools directly in Cursor:
Quick Message
Background Task
Check Status
List Sessions
From Terminal (CLI Tools)
tron-delegate
Send immediate message to Tron:
tron-spawn
Spawn background task:
MCP Tools
1. send_message
Send immediate message to an agent (conversational).
Parameters:
message(required): Message textagent(optional): Agent ID (default: from env)timeout(optional): Timeout in seconds (default: 60)
Returns:
Use case: Quick questions, status checks
2. spawn_task
Spawn isolated background task (async, long-running).
Parameters:
task(required): Task descriptionagent(optional): Agent ID (default: from env)label(optional): Task labelcleanup(optional): "keep" or "delete" (default: keep)model(optional): Model override (e.g., "sonnet")timeout(optional): Timeout in seconds (default: 300)
Returns:
Use case: Research, monitoring, batch processing
3. check_status
Check status of a spawned task.
Parameters:
taskId(required): Task ID from spawn_task
Returns:
4. list_sessions
List active sessions for an agent.
Parameters:
agent(optional): Agent ID (default: from env)activeMinutes(optional): Filter by activity (default: 60)
Returns:
Use Cases
Quick Infrastructure Check
→ Immediate response from Tron
Long Research Task
→ Background task, notification when done
Monitoring
→ Active monitoring
Status Check
→ See active sessions
Development
Build
Watch Mode
Test
Architecture
Troubleshooting
Server not starting in Cursor
Check absolute paths in config
cd openclaw-mcp && pwd # Use full path + /dist/index.jsVerify Node.js version
node --version # Need v20+Check build succeeded
ls dist/ # Should see: index.js, openclaw.js, types.jsLook at Cursor logs
In Cursor: Help → Show Logs
Search for "mcp" or "openclaw"
Commands failing
Verify OpenClaw CLI works
openclaw status openclaw sessions listCheck Gateway is running
openclaw gateway statusTest agent exists
openclaw sessions send --agent phoenix --message "test"
CLI tools not found
After symlinking, reload shell or add to PATH:
Project Structure
Roadmap
Current (MVP):
✅ Basic tool implementations
✅ CLI-based communication
✅ Cursor integration
✅ CLI tools for terminal use
Future:
Direct WebSocket communication (faster)
Real-time task progress updates
Better error handling
Session history queries
Multi-agent support
Authentication tokens
License
MIT
Created: 2026-02-18
Author: Tron (phoenix agent)
For: Phoenix @ Infinex