Enables interaction with X (formerly Twitter) for retrieving tweets, creating new posts, and replying to existing ones.
X Integration MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Enables interaction with X (formerly Twitter) for retrieving tweets, creating new posts, and replying to existing ones.
A Model Context Protocol (MCP) server for X (Twitter) integration. Provides 26 tools for reading timelines, posting, searching, engagement (likes, retweets, bookmarks), user lookup, follower export, mentions, likes, articles, and lists. Designed for use with Claude desktop and other MCP-compatible clients.
Once X Integration is connected, these are the calls the assistant has available:
Pay-per — call pricing: $0.001 / call, $0.05 / 1K tweetsTier — CostFree — $0Basic — $200/monthPro — $5,000/monthPay-Per-Use — Credit-basedEngagement — The Engagement tool exposed by this serverUsers — The Users tool exposed by this serverArticles — The Articles tool exposed by this servernpm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
You will need 8 environment variables: TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_SECRET, TWITTER_OAUTH2_ACCESS_TOKEN, TWITTER_CLIENT_ID, TWITTER_CLIENT_SECRET, TWITTER_OAUTH2_REFRESH_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. X Integration's toolset — Pay-per, Tier, Free and 6 more — is a fair guide to whether it matches your workflow. It is maintained by DataWhisker; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Pay-per | call pricing: $0.001 / call, $0.05 / 1K tweets |
| Tier | Cost |
| Free | $0 |
| Basic | $200/month |
| Pro | $5,000/month |
| Pay-Per-Use | Credit-based |
| Engagement | The Engagement tool exposed by this server. |
| Users | The Users tool exposed by this server. |
| Articles | The Articles tool exposed by this server. |
{
"mcpServers": {
"x": {
"command": "node",
"args": ["C:/path/to/x-mcp-server/build/index.js"],
"env": {
"TWITTER_API_KEY": "your-api-key",
"TWITTER_API_SECRET": "your-api-secret",
"TWITTER_ACCESS_TOKEN": "your-access-token",
"TWITTER_ACCESS_SECRET": "your-access-secret",
"TWITTER_OAUTH2_ACCESS_TOKEN": "your-oauth2-token"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| TWITTER_API_KEY | Credential the server authenticates with. | Yes |
| TWITTER_API_SECRET | Credential the server authenticates with. | Yes |
| TWITTER_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| TWITTER_ACCESS_SECRET | Credential the server authenticates with. | Yes |
| TWITTER_OAUTH2_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| TWITTER_CLIENT_ID | Configuration value read at startup. | Optional |
| TWITTER_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| TWITTER_OAUTH2_REFRESH_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.