Skip to content
Grok

Alter X (Twitter) MCP Server for Grok

io.github.alteraidev/x-mcp

Multi-user X (Twitter) MCP server on the official API with approvals and audit via Alter.

client:Grok transport:stdio runtime:npm

Install Alter X (Twitter) MCP Server in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "x-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alter-ai/x-mcp"
      ],
      "env": {
        "ALTER_AGENT_API_KEY": "<ALTER_AGENT_API_KEY>",
        "ALTER_ACCOUNT": "<ALTER_ACCOUNT>"
      }
    }
  }
}

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

Alter X (Twitter) MCP Server in other clients