X (Twitter) MCP by usefulapi
v1.3.1Look up users, search and read posts, and publish or delete your own posts in X.
Remote (hosted) discovery passed
Run in a terminal
claude mcp add --transport http twitter-x https://twitter-x.usefulapi.io/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"twitter-x": {
"args": [
"-y",
"mcp-remote",
"https://twitter-x.usefulapi.io/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"twitter-x": {
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"twitter-x": {
"type": "http",
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.twitter-x]
command = "npx"
args = ["-y", "mcp-remote", "https://twitter-x.usefulapi.io/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: twitterx_get_user_by_username, twitterx_get_user, twitterx_get_me, twitterx_get_followers, twitterx_get_following, twitterx_get_post, twitterx_get_posts, twitterx_search_recent_posts, ….
- If it fails, check that the required runtime is installed (none) and that the values above are set.
Machine-readable: install.md · manifest.json