x-mcp-ai
Safety-first X (Twitter) API v2 MCP server: 41 typed tools across 12 packages, policy-gated.
Documentation & Preview
{ "mcpServers": { "mcp-x-mcp-ai-7dbafc7c29c9c3077027": { "command": "npx", "args": [ "-y", "--package", "x-mcp-ai@0.8.0", "x-mcp-ai" ], "env": { "X_MCP_AUTH_MODE": "${ENV_X_MCP_AUTH_MODE}", "X_MCP_CLIENT_ID": "${ENV_X_MCP_CLIENT_ID}", "X_MCP_CLIENT_SECRET": "${ENV_X_MCP_CLIENT_SECRET}", "X_MCP_BEARER_TOKEN": "${ENV_X_MCP_BEARER_TOKEN}", "X_MCP_TOKEN_FILE": "${ENV_X_MCP_TOKEN_FILE}", "X_MCP_TOKEN_KEYCHAIN": "${ENV_X_MCP_TOKEN_KEYCHAIN}", "X_MCP_POLICY": "${ENV_X_MCP_POLICY}", "X_MCP_POLICY_ALLOW": "${ENV_X_MCP_POLICY_ALLOW}", "X_MCP_POLICY_DENY": "${ENV_X_MCP_POLICY_DENY}", "X_MCP_HIDE_DENIED": "${ENV_X_MCP_HIDE_DENIED}", "X_MCP_MEDIA_DIR": "${ENV_X_MCP_MEDIA_DIR}", "X_MCP_AVAILABILITY": "${ENV_X_MCP_AVAILABILITY}", "X_MCP_PROFILES_FILE": "${ENV_X_MCP_PROFILES_FILE}", "X_MCP_PROFILE": "${ENV_X_MCP_PROFILE}", "X_MCP_TIMEOUT_MS": "${ENV_X_MCP_TIMEOUT_MS}", "X_MCP_LOG_LEVEL": "${ENV_X_MCP_LOG_LEVEL}", "X_MCP_CREDIT_BUDGET": "${ENV_X_MCP_CREDIT_BUDGET}", "X_MCP_BUDGET_MODE": "${ENV_X_MCP_BUDGET_MODE}" } } }, "setup": { "fields": [ { "id": "ENV_X_MCP_AUTH_MODE", "label": "X_MCP_AUTH_MODE", "description": "Authentication mode: oauth2 (default) or app-only.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_CLIENT_ID", "label": "X_MCP_CLIENT_ID", "description": "OAuth 2.0 client ID (oauth2 mode).", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_CLIENT_SECRET", "label": "X_MCP_CLIENT_SECRET", "description": "OAuth 2.0 client secret (confidential clients only).", "required": false, "secret": true, "default": "" }, { "id": "ENV_X_MCP_BEARER_TOKEN", "label": "X_MCP_BEARER_TOKEN", "description": "Application-only bearer token (app-only mode).", "required": false, "secret": true, "default": "" }, { "id": "ENV_X_MCP_TOKEN_FILE", "label": "X_MCP_TOKEN_FILE", "description": "Path to the rotating OAuth 2.0 token store (default: OS-resolved).", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_TOKEN_KEYCHAIN", "label": "X_MCP_TOKEN_KEYCHAIN", "description": "Set to 1 to keep OAuth 2.0 tokens in the OS keychain (macOS, Linux) instead of a token file. Mutually exclusive with an explicit X_MCP_TOKEN_FILE.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_POLICY", "label": "X_MCP_POLICY", "description": "Policy preset: read-only (default), engage, publish, manage, or full.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_POLICY_ALLOW", "label": "X_MCP_POLICY_ALLOW", "description": "Comma-separated op:domain cells to allow on top of the preset (e.g. read:dm,write:dm).", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_POLICY_DENY", "label": "X_MCP_POLICY_DENY", "description": "Comma-separated op:domain cells to deny; deny beats allow beats preset.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_HIDE_DENIED", "label": "X_MCP_HIDE_DENIED", "description": "Set to 1 to drop policy-denied tools from registration entirely instead of registering them annotated as denied.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_MEDIA_DIR", "label": "X_MCP_MEDIA_DIR", "description": "Directory uploads must resolve inside. Media upload is disabled unless this is set.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_AVAILABILITY", "label": "X_MCP_AVAILABILITY", "description": "Comma-separated specially-provisioned access classes to declare: pilot, premium-user, enterprise. Unset means the conservative default (app+user, user-only).", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_PROFILES_FILE", "label": "X_MCP_PROFILES_FILE", "description": "Path to a profiles file holding named configuration blocks.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_PROFILE", "label": "X_MCP_PROFILE", "description": "Name of the profile to select from the profiles file.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_TIMEOUT_MS", "label": "X_MCP_TIMEOUT_MS", "description": "Per-HTTP-request timeout in milliseconds (default 30000).", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_LOG_LEVEL", "label": "X_MCP_LOG_LEVEL", "description": "Diagnostic verbosity on stderr: silent, error, info (default), or debug.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_CREDIT_BUDGET", "label": "X_MCP_CREDIT_BUDGET", "description": "Session spend cap in USD.", "required": false, "secret": false, "default": "" }, { "id": "ENV_X_MCP_BUDGET_MODE", "label": "X_MCP_BUDGET_MODE", "description": "Budget enforcement: warn (default) or hard.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.IvanBBaev/x-mcp-ai", "registryVersion": "0.8.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.IvanBBaev%2Fx-mcp-ai/versions/0.8.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "x-mcp-ai", "version": "0.8.0", "integrity": "sha512-HzzV93kwJ8Xg1dzPJF+YH1eiVuEqMQUhKDPec+FkgI0zxA4zurloyzHyEx6ZMPtszQ1acZWpDk+MaS7B1FKygA==", "registryNameMatched": "io.github.IvanBBaev/x-mcp-ai", "checkedAt": "2026-11-04T17:00:28.408Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }