X MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Community source release (MIT). Self-host using your own credentials. No NabuxAI production accounts or hosted-service access are included.
X MCP by Nabux
Managed multi-user MCP gateway for the official X API v2.
Production target: https://x.nabuxai.com
MCP endpoint: https://x.nabuxai.com/mcp
Why this exists when X already has XMCP
X publishes an official XMCP server that generates 200+ MCP tools from X's official OpenAPI spec. XMCP is excellent for local/single-user use, but its current implementation keeps OAuth credentials in memory and is not a hosted multi-tenant token vault.
Nabux keeps the official X API surface but adds:
multi-user / multi-account storage
OAuth 2.0 Authorization Code + PKCE
encrypted access and refresh tokens
offline.accesstoken refreshowner-isolated MCP auth
local cache/search for retrieved posts/mentions/DM events
a controlled generic
x_api_requestfor additional official X API v2 endpoints
Related MCP server: XMCP
MCP tools
x_accountsx_profilex_search_recentx_my_postsx_mentionsx_create_postx_delete_postx_likex_unlikex_followx_unfollowx_dm_eventsx_dm_conversationx_send_dmx_search_cached_datax_api_request
x_api_request accepts only relative X API v2 paths and cannot call arbitrary hosts.
OAuth scopes
Default requested scopes:
tweet.read
tweet.write
users.read
offline.access
dm.read
dm.write
like.read
like.write
follows.read
follows.write
bookmark.read
bookmark.write
list.read
list.write
media.writeReduce this list in production if your Meta-style least-privilege product tier does not need all actions.
OAuth callback:
https://x.nabuxai.com/x/callbackData collection
Live official X API reads can be cached into the local database for MCP search. Recent-search results, mentions, owned posts and DM events are cacheable. This is API-backed collection, not cookie/session scraping.
X's DM lookup API currently exposes recent DM events rather than an unlimited personal-history archive, so the gateway should continuously ingest/call the official API if long-term retention is desired.
Coolify
Deploy branch feature/x-mcp-gateway with docker-compose.coolify.yml and route x.nabuxai.com to port 8000.
Required environment:
PUBLIC_BASE_URL=https://x.nabuxai.com
APP_SECRET_KEY=<32+ random chars>
X_CLIENT_ID=<X OAuth2 client id>
X_CLIENT_SECRET=<optional/required for confidential client configuration>
X_REDIRECT_URI=https://x.nabuxai.com/x/callback
INTERNAL_SERVICE_TOKEN=<random secret>Access/refresh tokens are encrypted at rest. MCP bearer tokens are stored hashed.
Status
Production-shaped code; real E2E requires an X Developer app with OAuth 2.0 enabled, the exact callback URL registered, sufficient API credits/access for the endpoints used, and an authorized X account.
This server cannot be deployed
Maintenance
Related MCP Connectors
Managed MCP gateway with OAuth, per-agent permissions, shared accounts and activity logs.
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only X/Twitter MCP server that enables data retrieval for user profiles, tweets, and social graphs using OAuth 2.0 Bearer Token authentication. It supports searching recent tweets, viewing timelines, and tracking engagement metrics like followers, likes, and retweets.3MIT
- AlicenseCqualityDmaintenanceA comprehensive MCP server for X/Twitter featuring over 70 tools for research, engagement, and publishing with granular permission-based access control. It includes specialized Playwright-powered tools for fetching X articles and supports extensive account management and thread operations.6319MIT
- AlicenseBqualityCmaintenanceEnables access to the X API v2 through MCP, covering 175 of 190 published operations with tools for browsing, calling, posting, searching, and managing posts.77 npmMIT
- AlicenseNot gradedqualityBmaintenanceA self-hosted MCP gateway that lets an owner register remote MCP servers, review and grant specific tools and account connections to agent clients, and issue revocable tokens with one-use approvals for protected calls.MIT