AgentStack
MCP verified MIT Self-run

MCP Twitter X

mcp-aashish-jha-11-mcp-twitter-x · by Aashish-Jha-11

MCP for Twitter(X)

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add mcp-aashish-jha-11-mcp-twitter-x

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of MCP Twitter X? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP Twitter X

MCP Twitter X is a small Model Context Protocol server for posting to X/Twitter with the twitter-api-v2 client. It exposes an SSE transport so an MCP client can connect to the server and call the included tools.

Tools

| Tool | Purpose | | --- | --- | | addTwoNumbers | Example tool that adds 2 numbers. | | createPost | Posts a status update through configured X/Twitter API credentials. |

Setup

Install the server dependencies:

cd server
npm install

Create server/.env with your X/Twitter app credentials:

TWITTER_API_KEY=replace-me
TWITTER_API_SECRET=replace-me
TWITTER_ACCESS_TOKEN=replace-me
TWITTER_ACCESS_TOKEN_SECRET=replace-me

Start the MCP server:

npm start

The server listens on http://localhost:3001, with:

  • SSE endpoint: http://localhost:3001/sse
  • Message endpoint: http://localhost:3001/messages

Client Notes

Point any MCP client that supports SSE transports at the /sse endpoint. Keep the .env file local, do not paste credentials into prompts, and review every createPost call before allowing the server to publish.

OpenClaw Companion

If an OpenClaw workflow needs account-scoped public X/Twitter context before it calls this MCP server, TweetClaw can provide a separate reviewed source step:

openclaw plugins install npm:@xquik/tweetclaw

Use that step for bounded searches, tweet or reply lookup, follower exports, media context, monitor evidence, webhook events, and giveaway draw inputs. Keep posting through this MCP server's configured X/Twitter API credentials unless you deliberately move a workflow to another approved publishing tool.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.