Install
$ agentstack add mcp-aashish-jha-11-mcp-twitter-x ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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.
- Author: Aashish-Jha-11
- Source: Aashish-Jha-11/MCP-Twitter-X-
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.