OpenClaw MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenClaw MCP Server π°
Expose your OpenClaw assistant to Claude Desktop (or any MCP client) via Streamable HTTP transport.
This allows you to interact with your OpenClaw assistant from Claude Desktop, effectively bridging two AI systems.
β¨ Features
Streamable HTTP transport β proper MCP spec implementation
SSE streaming β real-time responses
API Key authentication β secure remote access
Easy installation β one script to set everything up
Configurable β customize bot name, session label, port
systemd integration β auto-start on boot
Related MCP server: OpenClaw MCP Server
π Quick Install
On the server where OpenClaw is running:
# Clone the repo
git clone https://github.com/rodgco/openclaw-mcp-server.git
cd openclaw-mcp-server
# Run installer
./install.shThe installer will:
β Check for Node.js 18+ and OpenClaw
π¦ Install dependencies
π Generate an API key
βοΈ Ask for your bot name and session label
π Optionally create a systemd service
π Output the Claude Desktop configuration
π Manual Installation
If you prefer manual setup:
# Clone and install
git clone https://github.com/rodgco/openclaw-mcp-server.git
cd openclaw-mcp-server
npm install
# Configure
cp .env.example .env
# Edit .env with your settings
# Generate API key
openssl rand -base64 32
# Run
npm startβοΈ Configuration
Edit .env file:
# Name of your assistant/bot
BOT_NAME="MyAssistant"
# OpenClaw session label to connect to
OPENCLAW_SESSION_LABEL="main"
# API Key (generate with: openssl rand -base64 32)
MCP_SERVER_API_KEY="your-secret-key-here"
# Port to listen on
PORT=3721
# Bind address (0.0.0.0 for all interfaces)
BIND_ADDRESS="0.0.0.0"
# OpenClaw workspace path
OPENCLAW_WORKSPACE="${HOME}/.openclaw/workspace"π₯οΈ Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"myassistant": {
"transport": "streamable-http",
"url": "http://YOUR_SERVER_IP:3721/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
π οΈ Available Tools
Once connected, Claude Desktop can use these tools:
ask
Send a message or question to your OpenClaw assistant.
memory_search
Search the assistant's long-term memory (MEMORY.md).
sessions_status
Check OpenClaw session status.
π‘ How It Works
Claude Desktop (your computer)
βοΈ HTTP POST/GET + SSE
http://your-server:3721/mcp
βοΈ
openclaw-mcp-server
βοΈ openclaw sessions send
OpenClaw Assistant (remote server)Claude Desktop sends JSON-RPC requests via HTTP POST
MCP server forwards messages to OpenClaw session
Responses stream back via Server-Sent Events (SSE)
π§ systemd Service
If you installed with the script and chose systemd:
# Check status
sudo systemctl status openclaw-mcp-server
# View logs
sudo journalctl -u openclaw-mcp-server -f
# Restart
sudo systemctl restart openclaw-mcp-serverπ Security
API Key required for all MCP requests
Tailscale recommended for secure remote access
Never expose port 3721 to the public internet without additional protection
Consider using HTTPS in production (reverse proxy with nginx/caddy)
π§ͺ Testing
# Health check
curl http://localhost:3721/health
# Server info
curl http://localhost:3721/
# Test MCP endpoint (requires auth)
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
http://localhost:3721/mcpποΈ Uninstall
./uninstall.shOr manually:
sudo systemctl stop openclaw-mcp-server
sudo systemctl disable openclaw-mcp-server
sudo rm /etc/systemd/system/openclaw-mcp-server.service
rm -rf ~/.openclaw/mcp-serverπ MCP Specification
This server implements the Streamable HTTP transport from the Model Context Protocol specification.
π€ Contributing
Pull requests welcome! Please open an issue first to discuss changes.
π License
MIT
π Links
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Talk to your public-facing AI from any MCP client β Claude, ChatGPT, Cursor, Cline, Windsurf.
Deploy, monitor, and manage your OpenClaw AI assistants via natural language.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceExposes locally-built AI tools to Claude, enabling article summarization, promo generation, and semantic search over an Obsidian vault.-
- AlicenseNot gradedqualityAmaintenanceEnables Claude.ai and Claude Desktop to connect securely to self-hosted OpenClaw assistants via OAuth 2.1, with tools for chat, asynchronous task handling, multi-instance routing, and gateway health checks.406 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude.ai and Claude Desktop to delegate tasks to self-hosted OpenClaw assistant gateways through a secure, OAuth 2.1-authenticated bridge. Supports synchronous chat, asynchronous task queuing and polling, health checks, and routing requests across multiple isolated instances.406 npmMIT
- AlicenseNot gradedqualityAmaintenanceBridges Claude.ai and Claude Desktop to self-hosted OpenClaw AI assistants through an OAuth 2.1-secured HTTP endpoint. Enables sending chat messages, tracking long-running tasks, checking gateway health, and routing requests across multiple isolated instances from a single connection.406 npmMIT