Skip to main content
Glama
dataofmen

OpenClaw X-to-ACP

by dataofmen

OpenClaw X-to-ACP

An MCP (Model Context Protocol) server designed specifically for OpenClaw to fetch and read X.com (Twitter) threads and long-form articles natively.

Monetization & Support

With OpenClaw v2026.3.8+, this tool supports the --provenance meta+receipt flag natively. OpenClaw will automatically generate monetization receipts for tool usage.

Additionally, if you find this tool valuable, please consider supporting the development:

GitHub Sponsors

Why sponsor?

  • Sustainability: X.com backend changes frequently; sponsorship keeps the maintenance alive.

  • Priority Features: Bulk processing, advanced analytics, and PDF export are on the roadmap for sponsors.

  • Community: Help us keep AI agents capable of understanding real-time social context.

Related MCP server: tweetsave-mcp

Installation & Setup

We recommend using pipx to install this globally so OpenClaw can always access it.

  1. Install the package:

    pipx install .
    # OR for development:
    # pip install -e .
  2. Install Playwright Browsers:

    playwright install chromium
  3. Zero-Touch Configuration: Run the following setup command. Thanks to the integrated browser-cookie3 module, the server will automatically extract your X.com session from your local browser (Chrome/Safari/Edge) at runtime. You simply need to run the setup script to register the tool with OpenClaw. It will ask if you want to provide manual fallback cookies (optional):

    openclaw-x-acp-setup

Connecting to OpenClaw

Add the following to your OpenClaw or AI Agent configuration file (e.g. gateway.config.json):

{
  "mcpServers": {
    "openclaw-x-acp": {
      "command": "/path/to/openclaw-x-acp/.venv/bin/python",
      "args": [
        "/path/to/openclaw-x-acp/server.py"
      ]
    }
  }
}

Start OpenClaw with provenance enabled to track receipts:

openclaw acp --provenance meta+receipt

How to use

When using the agent, simply provide a URL.

The agent will seamlessly request the data from the local server using your cookies, parsing standard short text, threaded replies, and navigating via Playwright to parse long-form articles.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Connects AI assistants to Twitter/X using cookie-based authentication to read timelines, search tweets, and perform actions like posting and liking. It leverages Twitter's internal GraphQL API to provide full functionality without requiring a developer account.
    8 npm
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to search X posts and read user timelines without API costs, using cookie authentication.
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables reading public X (Twitter) content like profiles, tweets, and search results via a stealth browser, without official API costs.
    11
    MIT