twitterapi for Grok
io.github.pedrot95dev/twitterapi
Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.
client:Grok
transport:stdio
runtime:npm
Install twitterapi in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"twitterapi": {
"type": "stdio",
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs