twitterapi for Claude Desktop
io.github.pedrot95dev/twitterapi
Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.
client:Claude Desktop
transport:stdio
runtime:npm
Install twitterapi in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"twitterapi": {
"command": "npx",
"args": [
"-y",
"@pedrot95dev/twitterapi.mcp"
],
"env": {
"TWITTERAPI_IO_KEY": "<TWITTERAPI_IO_KEY>",
"TWITTERAPI_IO_AUTH_TOKEN": "<TWITTERAPI_IO_AUTH_TOKEN>",
"TWITTERAPI_IO_CT0": "<TWITTERAPI_IO_CT0>",
"TWITTERAPI_IO_PROXY": "<TWITTERAPI_IO_PROXY>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs