Install x-mcp-ai for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"ivanbbaev-x-mcp": {
"command": "npx",
"args": [
"-y",
"x-mcp-ai@0.8.0"
],
"env": {
"X_MCP_AUTH_MODE": "",
"X_MCP_CLIENT_ID": "",
"X_MCP_CLIENT_SECRET": "YOUR_X_MCP_CLIENT_SECRET",
"X_MCP_BEARER_TOKEN": "YOUR_X_MCP_BEARER_TOKEN",
"X_MCP_TOKEN_FILE": "",
"X_MCP_TOKEN_KEYCHAIN": "",
"X_MCP_POLICY": "",
"X_MCP_POLICY_ALLOW": "",
"X_MCP_POLICY_DENY": "",
"X_MCP_HIDE_DENIED": "",
"X_MCP_MEDIA_DIR": "",
"X_MCP_AVAILABILITY": "",
"X_MCP_PROFILES_FILE": "",
"X_MCP_PROFILE": "",
"X_MCP_TIMEOUT_MS": "",
"X_MCP_LOG_LEVEL": "",
"X_MCP_CREDIT_BUDGET": "",
"X_MCP_BUDGET_MODE": ""
}
}
}
}