# X2Chat

> X2Chat is an MCP server for communication. MCP server connecting AI assistants to your X2Chat channels, bots and mini-apps. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web
- **Website:** https://x2chat.com/developers/mcp/
- **MCP Registry name:** com.x2chat/mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

Lets an AI assistant such as Claude or ChatGPT work with the channels, bots and mini-apps you run on X2Chat. Through one remote endpoint you can review post performance and subscriber reach, queue or publish posts, check why a bot has gone quiet, and validate a mini-app before registering it. Sign-in uses OAuth 2.1, and a permissions screen lets you grant only read access or also allow changes.

Writes are deliberately gated. Scheduled posts and bot changes are announced inside X2Chat with a disconnect button, and publishing a post immediately requires you to tap Publish in the app. Per-connection rate limits cap calls, changes and daily posts.

Private chats, groups, calls, contacts and encryption keys are end-to-end encrypted and are not reachable through the server. It suits channel owners and bot developers who already use an assistant and want it to handle routine analytics, scheduling and documentation lookups.

## Features

- **Channel analytics access:** Lists channels and recent posts with views and reactions, plus subscriber and reach statistics.
- **Post scheduling:** Schedules posts and cancels ones the assistant scheduled, with publishing requiring confirmation in X2Chat.
- **Bot diagnostics:** Shows bot settings, delivery logs and reasons a bot may be silent, such as webhook errors.
- **Bot command updates:** Changes a bot's command list when write permission for bots is granted.
- **Mini-app preview deploys:** Validates a mini-app manifest and uploads a version visible only to the owner for preview.
- **Developer docs search:** Searches and reads the Bot API, bot UI schema and mini-app guides, and lists starter templates.
- **Activity log and disconnect:** Shows what connected assistants did on the account and revokes access immediately.

## Good for

- Reviewing which channel posts drew the most views and how subscriber counts changed
- Queuing a channel post for a set time from within an assistant chat
- Finding out why a bot stopped replying using its delivery log
- Checking a mini-app manifest before registering it with X2Chat
- Looking up Bot API details and examples while building a bot

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.x2chat.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.x2chat.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.x2chat.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.x2chat.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.x2chat.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.x2chat.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.x2chat.com/mcp
```

Enter a Name (for example "X2Chat"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.x2chat.com/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 5 of 23 tools change data; 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `docs_search` (name suggests: reads): Search the X2Chat developer docs without sign-in.
- `docs_read` (name suggests: reads): Read a developer docs page without sign-in.
- `templates_list` (name suggests: reads): List starter templates without sign-in.
- `template_get` (name suggests: reads): Get a starter template without sign-in.
- `miniapp_validate` (name suggests: reads): Validate a mini-app without sign-in.
- `whats_new`: Show recent X2Chat changes without sign-in.
- `whoami`: Show the signed-in account profile.
- `activity_log`: Show what assistants did with the account.
- `channels_list` (name suggests: reads): List the user's channels.
- `channel_get` (name suggests: reads): Get details for one channel.
- `channel_posts_list` (name suggests: reads): List recent channel posts with views and reactions.
- `channel_stats`: Show subscriber and reach statistics for a channel.
- `channel_scheduled_list` (name suggests: reads): List scheduled channel posts.
- `approval_status` (name suggests: reads): Check the status of a pending approval.
- `bots_list` (name suggests: reads): List the user's bots.
- `bot_get` (name suggests: reads): Get settings for one bot.
- `bot_delivery_log`: Show a bot's message delivery log.
- `channel_post_schedule` (name suggests: changes): Schedule a channel post.
- `channel_scheduled_cancel` (name suggests: changes): Cancel a scheduled post made by the assistant.
- `channel_post_publish` (name suggests: changes): Request publishing a post now, confirmed in X2Chat.
- `bot_set_commands` (name suggests: changes): Change a bot's command list.
- `miniapp_deploy_preview` (name suggests: changes): Upload a mini-app version for private preview.
- `disconnect`: Disconnect the assistant's access.

## FAQ

### Can the assistant read my private chats?

No. Private chats, groups, notes, calls, contacts and encryption keys are end-to-end encrypted, and the server cannot read them, so the assistant cannot either.

### Can the assistant publish posts without my approval?

Publishing a post right away requires tapping Publish in X2Chat. Scheduled posts and bot changes are announced in X2Chat with a disconnect button.

### How do I connect X2Chat to Claude?

In Claude, open Customize, then Connectors, choose Add custom connector, enter the name X2Chat and the address https://mcp.x2chat.com/mcp, then click Connect and sign in.

### Are there limits on usage?

Each connection is limited to 60 calls a minute, 30 changes an hour and 20 posts a day.

### How do I add X2Chat to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.x2chat.com/mcp

### What are the best alternatives to X2Chat?

The closest alternatives to X2Chat are X (Twitter) MCP by InsightfulPipe, Quickchat AI, ConnectChats, Discord by 1Social and Asks.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [X (Twitter) MCP by InsightfulPipe](https://ai-powered.com/mcp/x-twitter-mcp-by-insightfulpipe): X (Twitter) MCP by InsightfulPipe is an MCP server for communication.
- [Quickchat AI](https://ai-powered.com/mcp/quickchat-ai): Quickchat AI is an MCP server for knowledge and memory.
- [ConnectChats](https://ai-powered.com/mcp/connectchats): ConnectChats is a freemium MCP server for communication.
- [Discord by 1Social](https://ai-powered.com/mcp/discord-by-1social): Discord by 1Social is a paid MCP server for communication.
- [Asks](https://ai-powered.com/mcp/asks-2): Asks is a freemium MCP server for communication.
- [Postlyra](https://ai-powered.com/mcp/postlyra): Postlyra is a freemium MCP server for communication.
- [MCP Slack](https://ai-powered.com/mcp/mcp-slack): MCP Slack is an open-source MCP server for communication.
- [Claw Post](https://ai-powered.com/mcp/claw-post): Claw Post is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/x2chat
