clawd-mCP Server

Provides OpenClaw and Moltbook actions to MCP clients via a local Python-based MCP server.
  • python

1

GitHub Stars

python

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "sandraschi-clawd-mcp": {
      "command": "python",
      "args": [
        "-m",
        "clawd_mcp"
      ],
      "env": {
        "MOLTBOOK_API_KEY": "YOUR_MOLTBOOK_KEY",
        "OPENCLAW_GATEWAY_URL": "http://127.0.0.1:18789",
        "OPENCLAW_MOLTBOOK_URL": "https://www.moltbook.com/api/v1",
        "OPENCLAW_GATEWAY_TOKEN": "YOUR_TOKEN",
        "OPENCLAW_OPENCLAW_PATH": "openclaw"
      }
    }
  }
}

You operate clawd-mcp, a FastMCP 2.14+ server that exposes OpenClaw and Moltbook operations to MCP clients like Cursor and Claude Desktop. It centralizes tool access, session management, routing, and security tasks behind a single HTTP gateway and local helpers, enabling you to build, test, and automate conversations between your MCP clients and the OpenClaw ecosystem.

How to use

You start the MCP server locally and connect your MCP clients to it. The server runs as a local Python process and presents multiple endpoints and tools through a consistent, unified interface. You can invoke agent actions, manage channels, view routing mappings, inspect sessions, and perform security checks from your MCP client.

How to install

Prerequisites: you need Python installed on your system. You will run the MCP server directly with Python and load it as a module.

{
  "mcpServers": {
    "clawd_mcp": {
      "command": "python",
      "args": ["-m", "clawd_mcp"]
    }
  }
}

Additional setup and run instructions

To start the server, run the module as shown in the run command. You can then configure your MCP client to connect to the server using the local process.

python -m clawd_mcp

Configuration and security notes

Configure the gateway URL and tokens for authentication, and ensure you provide the Moltbook API key if you intend to use Moltbook features. The system exposes a gateway at a default URL and expects a bearer token for Tools Invoke and webhooks. Review the available environment variables to customize paths and integrations.

Troubleshooting and notes

If you encounter connectivity issues, verify that the gateway URL is reachable and that your client is configured to point at the local MCP server. Check that required tools (OpenClaw components) are accessible and that the gateway health checks pass.

Package and tool overview

The server organizes capabilities into tools that you invoke via the MCP gateway. Core tools include agent messaging, channel management, session coordination, routing, skills, gateway health, and security audit features. Use the provided tool endpoints to perform corresponding actions from your MCP client.

Available tools

clawd_agent

Agent invocation and messaging, including heartbeat, agent turns, and message delivery to the OpenClaw gateway

clawd_channels

OpenClaw channel visibility and messaging across chat platforms, including listing, configuration, sending, and retrieving recent messages

clawd_routing

Routing topology between channels and agents with get, update, test, and session lookup capabilities

clawd_sessions

Session discovery and agent-to-agent coordination with list, history, and send operations

clawd_skills

Skills management for installed capabilities and workspace integration

clawd_gateway

Gateway health checks and an OpenClaw doctor for maintenance

clawd_security

Security auditing, skill scanning, and hardening provisions for the gateway

clawd_moltbook

Moltbook feed management including search, post, comment, and upvote actions

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational