From x-api
Connects Claude to the Twitter/X API v2 for read-only access. Runs locally via Bun and needs an X bearer token.
Ships in x-api. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"x-api": {
"command": "bun",
"args": [
"run",
"${CLAUDE_PLUGIN_ROOT}/mcp/index.ts"
],
"env": {
"X_BEARER_TOKEN": "${X_BEARER_TOKEN}"
}
}
}
}Environment variables set when the server starts
X_BEARER_TOKEN=${X_BEARER_TOKEN}Command-line arguments passed to the server process
Server configuration and connection parameters
bunnpx claudepluginhub nathanvale/side-quest-marketplace-old --plugin x-api