Other / x-mcp-ai
x-mcp-ai
io.github.IvanBBaev/x-mcp-ai · v0.8.0
Safety-first X (Twitter) API v2 MCP server: 41 typed tools across 12 packages, policy-gated.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #949 of 1,679 Other servers on Socketlist by score, with 1 GitHub stars and a last code push 2mo ago.
Install
npx -y x-mcp-aiAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect x-mcp-ai to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env X_MCP_CLIENT_SECRET=<x_mcp_client_secret> --env X_MCP_BEARER_TOKEN=<x_mcp_bearer_token> --transport stdio x-mcp-ai -- npx -y x-mcp-ai.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"x-mcp-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x-mcp-ai"
],
"env": {
"X_MCP_CLIENT_SECRET": "${X_MCP_CLIENT_SECRET}",
"X_MCP_BEARER_TOKEN": "${X_MCP_BEARER_TOKEN}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"x-mcp-ai": {
"command": "npx",
"args": [
"-y",
"x-mcp-ai"
],
"env": {
"X_MCP_CLIENT_SECRET": "${env:X_MCP_CLIENT_SECRET}",
"X_MCP_BEARER_TOKEN": "${env:X_MCP_BEARER_TOKEN}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
X_MCP_AUTH_MODE | No | No | Authentication mode: oauth2 (default) or app-only. |
X_MCP_CLIENT_ID | No | No | OAuth 2.0 client ID (oauth2 mode). |
X_MCP_CLIENT_SECRET | No | Yes | OAuth 2.0 client secret (confidential clients only). |
X_MCP_BEARER_TOKEN | No | Yes | Application-only bearer token (app-only mode). |
X_MCP_TOKEN_FILE | No | No | Path to the rotating OAuth 2.0 token store (default: OS-resolved). |
X_MCP_TOKEN_KEYCHAIN | No | No | 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. |
X_MCP_POLICY | No | No | Policy preset: read-only (default), engage, publish, manage, or full. |
X_MCP_POLICY_ALLOW | No | No | Comma-separated op:domain cells to allow on top of the preset (e.g. read:dm,write:dm). |
X_MCP_POLICY_DENY | No | No | Comma-separated op:domain cells to deny; deny beats allow beats preset. |
X_MCP_HIDE_DENIED | No | No | Set to 1 to drop policy-denied tools from registration entirely instead of registering them annotated as denied. |
X_MCP_MEDIA_DIR | No | No | Directory uploads must resolve inside. Media upload is disabled unless this is set. |
X_MCP_AVAILABILITY | No | No | Comma-separated specially-provisioned access classes to declare: pilot, premium-user, enterprise. Unset means the conservative default (app+user, user-only). |
6 more are listed in the registry entry; see the README for the full set.
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"x-mcp-ai"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 1 |
| npm weekly downloads | 38 |
| Last push | 2mo ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-08-29 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers
Apache Pinot MCP Server
Score 81Query and manage Apache Pinot through MCP with typed tools and preview-first safety.
deepadb
Score 86Full-featured ADB MCP server — 209 tools across 49 modules, from UI to baseband.
ChainRPC MCP
Score 81Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.