mcpbeat Sign in

X MCP AI MCP Server

local only

X MCP AI runs on your own machine — the client starts it, so there is no endpoint to ping. 44 installs a week from npm. Last commit 2 Sep 2026.

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

Installs per day peak 129 · avg 5
a month agotoday
44
Installs / week
npm · x-mcp-ai
0
Stars
0 open issues
2 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 23 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command src/api/oauth2/keychain.ts:250
        child = spawn(invocation.command, [...invocation.args], {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add x-mcp-ai -- npx -y x-mcp-ai
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "x-mcp-ai": {
      "args": [
        "-y",
        "x-mcp-ai"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.x-mcp-ai]
command = "npx"
args = ["-y", "x-mcp-ai"]
.cursor/mcp.json
{
  "mcpServers": {
    "x-mcp-ai": {
      "args": [
        "-y",
        "x-mcp-ai"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "x-mcp-ai": {
      "args": [
        "-y",
        "x-mcp-ai"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: X_MCP_AUTH_MODE (Authentication mode: oauth2 (default) or app-only.), X_MCP_CLIENT_ID (OAuth 2.0 client ID (oauth2 mode).), X_MCP_CLIENT_SECRET (OAuth 2.0 client secret (confidential clients only).), X_MCP_BEARER_TOKEN (Application-only bearer token (app-only mode).), X_MCP_TOKEN_FILE (Path to the rotating OAuth 2.0 token store (default: OS-resolved).), X_MCP_TOKEN_KEYCHAIN (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 (Policy preset: read-only (default), engage, publish, manage, or full.), X_MCP_POLICY_ALLOW (Comma-separated op:domain cells to allow on top of the preset (e.g. read:dm,write:dm).), X_MCP_POLICY_DENY (Comma-separated op:domain cells to deny; deny beats allow beats preset.), X_MCP_HIDE_DENIED (Set to 1 to drop policy-denied tools from registration entirely instead of registering them annotated as denied.), X_MCP_MEDIA_DIR (Directory uploads must resolve inside. Media upload is disabled unless this is set.), X_MCP_AVAILABILITY (Comma-separated specially-provisioned access classes to declare: pilot, premium-user, enterprise. Unset means the conservative default (app+user, user-only).), X_MCP_PROFILES_FILE (Path to a profiles file holding named configuration blocks.), X_MCP_PROFILE (Name of the profile to select from the profiles file.), X_MCP_TIMEOUT_MS (Per-HTTP-request timeout in milliseconds (default 30000).), X_MCP_LOG_LEVEL (Diagnostic verbosity on stderr: silent, error, info (default), or debug.), X_MCP_CREDIT_BUDGET (Session spend cap in USD.), X_MCP_BUDGET_MODE (Budget enforcement: warn (default) or hard.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to X MCP AI

same job, measured the same way
Sorsa MCP
by sorsa-io

MCP server for the Sorsa.io X/Twitter data API

34 installs/wk local only
Social Data MCP
by mrocker

X/Twitter, YouTube and TikTok data tools in one stdio MCP server (Apify-hosted). Pay per result.

44 installs/wk local only
Twitterapi MCP Server
by kaitoinfra

Twitter/X read-only MCP server — 12 tools: search, users, tweets, followers, timelines, trends.

12 tools answering
X Archive RAG
by mameshivaa

Local-first MCP tools for searching and drafting from your X/Twitter archive.

local only
Altmetric MCP
by altmetric-mcp

MCP server for Altmetric APIs - track research attention across news, policy, social media, and more

answering
SocialDataX X / Twitter MCP
by 52choujiang

X / Twitter public post, comment, reply, user, and search tools.

16 tools answering
Postfast MCP
by peturgeorgievv-factory

MCP server for the PostFast API — schedule and manage social media posts via AI tools

395 installs/wk local only
Xbird
by checkra1neth

Twitter/X MCP server — 30 tools with x402 micropayments. Runs locally from your IP.

local only

X MCP AI — questions

Answers built from our own checks of this server.

Why is there no uptime for X MCP AI?
X MCP AI runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package x-mcp-ai was installed 44 times last week.
How do I connect X MCP AI?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls x-mcp-ai straight from npm; nothing to host, nothing to sign up for.
How many people use X MCP AI?
The npm package x-mcp-ai was installed 44 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is X MCP AI open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.