How to install Twitter/X MCP in Codex
To install Twitter/X MCP in Codex, run "codex mcp add twitter-x-mcp -- npx -y @granitebps/twitter-mcp" in your terminal, then type /mcp in Codex to check it.
Built from the published package · server updated 11 days ago
- 1
Run the install command
In a terminal, run:
codex mcp add twitter-x-mcp -- npx -y @granitebps/twitter-mcp - 2
Check it
Inside Codex, type /mcp to see the server and its tools.
MCP servers run with your permissions. If Twitter/X MCP needs an API key, add it under env in the config. Check its README.
Install Twitter/X MCP in another app
Similar servers
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.
Visit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…
Questions
Does Twitter/X MCP work in Codex?
Yes. Codex supports mcp servers in the codex cli and ide extension, and Twitter/X MCP installs with the steps above.
Twitter/X MCP does not show up in Codex. What now?
Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Twitter/X MCP safe?
It scores 77 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
