woclaw-mcp
v0.1.2
Published
WoClaw MCP Bridge - exposes WoClaw Hub memory and topics as MCP tools
Downloads
345
Readme
WoClaw MCP Bridge
Connect any MCP-capable AI agent (Claude Desktop, Cursor, Windsurf, etc.) to the WoClaw Hub.
What it does
Exposes WoClaw Hub's memory pool and topic messaging as MCP tools:
woclaw_memory_read/woclaw_memory_write/woclaw_memory_listwoclaw_topics_list/woclaw_topic_messages/woclaw_topic_send/woclaw_topic_join
Quick Start
# Build
cd mcp-bridge
npm install
npm run build
# Run (connects to local Hub)
node dist/index.js --hub ws://localhost:8082 --token your-token --rest-url http://localhost:8083
# Or install globally
npm install -g
woclaw-mcp --hub ws://your-hub:8082 --token your-token --rest-url http://your-hub:8083MCP Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"woclaw": {
"command": "node",
"args": ["/path/to/woclaw-mcp/dist/index.js", "--hub=ws://vm153:8082", "--token=ClawLink2026", "--rest-url=http://vm153:8083"]
}
}
}Cursor / Windsurf
Add to MCP Settings:
{
"mcpServers": {
"woclaw": {
"command": "node",
"args": ["/path/to/woclaw-mcp/dist/index.js", "--hub=ws://vm153:8082", "--token=ClawLink2026", "--rest-url=http://vm153:8083"]
}
}
}Available Tools
| Tool | Description |
|------|-------------|
| woclaw_memory_read | Read a value from shared memory |
| woclaw_memory_write | Write to shared memory (with optional tags) |
| woclaw_memory_list | List all memory entries (filter by tags) |
| woclaw_topics_list | List all available topics |
| woclaw_topic_messages | Get recent messages from a topic |
| woclaw_topic_send | Send a message to a topic |
| woclaw_topic_join | Join a topic |
Architecture
Claude Desktop (MCP) ──stdin/stdout──▶ WoClaw MCP Bridge ──WebSocket──▶ WoClaw Hub
│
└──HTTP REST──▶ Hub REST :8083