Skip to content
Claude Desktop

x mcp ai for Claude Desktop

io.github.ivanbbaev/x-mcp-ai

Safety-first X (Twitter) API v2 MCP server: 41 typed tools across 12 packages, policy-gated.

client:Claude Desktop transport:stdio runtime:npm

Install x mcp ai in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

{
  "mcpServers": {
    "x-mcp-ai": {
      "command": "npx",
      "args": [
        "-y",
        "x-mcp-ai"
      ],
      "env": {
        "X_MCP_AUTH_MODE": "<X_MCP_AUTH_MODE>",
        "X_MCP_CLIENT_ID": "<X_MCP_CLIENT_ID>",
        "X_MCP_CLIENT_SECRET": "<X_MCP_CLIENT_SECRET>",
        "X_MCP_BEARER_TOKEN": "<X_MCP_BEARER_TOKEN>",
        "X_MCP_TOKEN_FILE": "<X_MCP_TOKEN_FILE>",
        "X_MCP_TOKEN_KEYCHAIN": "<X_MCP_TOKEN_KEYCHAIN>",
        "X_MCP_POLICY": "<X_MCP_POLICY>",
        "X_MCP_POLICY_ALLOW": "<X_MCP_POLICY_ALLOW>",
        "X_MCP_POLICY_DENY": "<X_MCP_POLICY_DENY>",
        "X_MCP_HIDE_DENIED": "<X_MCP_HIDE_DENIED>",
        "X_MCP_MEDIA_DIR": "<X_MCP_MEDIA_DIR>",
        "X_MCP_AVAILABILITY": "<X_MCP_AVAILABILITY>",
        "X_MCP_PROFILES_FILE": "<X_MCP_PROFILES_FILE>",
        "X_MCP_PROFILE": "<X_MCP_PROFILE>",
        "X_MCP_TIMEOUT_MS": "<X_MCP_TIMEOUT_MS>",
        "X_MCP_LOG_LEVEL": "<X_MCP_LOG_LEVEL>",
        "X_MCP_CREDIT_BUDGET": "<X_MCP_CREDIT_BUDGET>",
        "X_MCP_BUDGET_MODE": "<X_MCP_BUDGET_MODE>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

x mcp ai in other clients