1. Conduid
  2. Blockchain
  3. X Browser MCP
MCP server · Blockchain

X Browser MCP

Read and post to X from your own logged-in browser session, exposed to local AI agents over MCP. No X API keys required.

34Low

Scored 7 days ago · breakdown

About X Browser MCP

X Browser MCP is an MCP server in the Blockchain category: read and post to X from your own logged-in browser session, exposed to local AI agents over MCP. No X API keys required.

The repository has 2 stars and 0 forks.

Install

From source
git clone https://github.com/feitangyuan/x-browser-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about X Browser MCP

Powered by Claude · Grounded in docs

I know everything about X Browser MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

x-browser-mcp

English | 简体中文

x-browser-mcp lets local agents read X (Twitter) from a real logged-in browser session.

It is a browser-backed MCP server for workflows where Claude Code, Codex, and other MCP-capable local agents need fresh X signals without paying for the official X API.

What It Does

  • Checks whether the local X session is ready
  • Starts an interactive login flow when needed
  • Reads the X home timeline
  • Searches recent X discussions
  • Exposes the same capability over MCP and plain HTTP

How It Works

x-browser-mcp is built around an isolated browser profile.

  • The MCP/HTTP service can stay running in the background
  • Browsers are launched only when a request actually needs X access
  • Manual login always opens a visible browser window
  • Normal reads can run in headless mode against the same isolated profile

This keeps the service available to local agents without forcing a permanent browser process to stay alive.

Why This Exists

The official X API is expensive for many personal workflows and often less aligned with what you can see directly in a real browser session.

This project takes a different route:

  • browser-backed instead of API-backed
  • local session reuse instead of developer API credentials
  • MCP-native so local agents can call it directly

Tools

The MCP server exposes these tools:

  • check_login_status
  • start_login
  • read_home_timeline
  • search_x

HTTP API

  • GET /health
  • GET /api/v1/login/status
  • POST /api/v1/login/start
  • GET /api/v1/home?limit=10
  • POST /api/v1/search
  • POST /mcp

Login Model

The login flow is intentionally simple:

  1. Call start_login
  2. A visible browser window opens on the isolated profile
  3. Complete X login in that window
  4. Later requests reuse the same profile

If the session is already valid, the service can keep using the stored profile without asking for login again.

Quick Start

1. Build

go build -o x-browser-mcp .

2. Run the server

./x-browser-mcp -port :18110

3. Start login if needed

curl -X POST http://127.0.0.1:18110/api/v1/login/start

4. Check status

curl http://127.0.0.1:18110/api/v1/login/status

5. Search X

curl -X POST http://127.0.0.1:18110/api/v1/search \
  -H 'Content-Type: application/json' \
  -d '{"query":"model context protocol","mode":"latest","limit":5}'

6. Read the home timeline

curl 'http://127.0.0.1:18110/api/v1/home?limit=10'

Client Integration

x-browser-mcp works with MCP clients that can talk to a streamable HTTP MCP endpoint.

That includes:

  • Claude Code
  • Codex
  • OpenClaw ACP/acpx-backed sessions

Claude Code / Codex

Point your MCP client at:

http://127.0.0.1:18110/mcp

OpenClaw

OpenClaw can attach to this server through ACPX with mcp-remote.

{
  "plugins": {
    "entries": {
      "acpx": {
        "enabled": true,
        "config": {
          "mcpServers": {
            "x-browser-mcp": {
              "command": "npx",
              "args": [
                "-y",
                "mcp-remote@latest",
                "http://127.0.0.1:18110/mcp"
              ]
            }
          }
        }
      }
    }
  }
}

Operational Notes

  • This project is meant for local, personal use
  • It depends on a real browser session and local browser state
  • It uses an isolated browser profile instead of your normal daily browser profile
  • It does not rely on the official X API

Repository Scope

This repository contains the MCP server only.

It does not include:

  • browser profile data
  • local cookies
  • launchd user agents
  • personal Claude / Codex / OpenClaw config files

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About X Browser MCP

How do I install X Browser MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is X Browser MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is X Browser MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.