PluginBench
MCP Server
Maintained
Apache-2.0

CometChat Docs MCP Server

io.github.cometchat/docs-mcp

Search CometChat docs and get implementation bundles to add chat, voice, video & moderation to your app via AI agents.

What is the CometChat Docs MCP server?

The CometChat Docs MCP server provides AI agents like Claude and Cursor access to CometChat's documentation and curated implementation bundles for integrating real-time chat, voice, video, and moderation features. It requires no authentication and serves read-only access to public docs, SDKs guides, UI Kit references, and REST API documentation.

This server lets you prompt an AI agent to integrate CometChat's communications platform into your app. Ask natural-language questions like "add a chat tab where users can DM each other" and the agent reads CometChat's docs, selects the right components for your stack (React, React Native, iOS, Android, Flutter, etc.), and writes working integration code. It includes curated implementation bundles for common scenarios (quickstarts, multi-tenant chat, moderation, presence indicators) and a full-text search tool across SDKs, UI Kits, and REST API docs.

How to install CometChat Docs

Copy-paste configuration for popular MCP clients.

transport: http
Config generated by PluginBench — verify against the source before use.
~/.cursor/mcp.json
{
  "mcpServers": {
    "docs-mcp": {
      "url": "https://mcp.cometchat.com/mcp"
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • search_cometchat_docs — Search across SDK guides, UI Kit references, REST API documentation, and OpenAPI specs. Returns ranked snippets with titles and direct links. Supports optional version filtering.
  • fetch_cometchat_doc_page — Fetch the full content of any documentation page as markdown by URL or relative path.
  • get_cometchat_implementation_bundle — Return a curated implementation bundle for a named scenario with prerequisites, install commands, configuration, and working code.
  • list_cometchat_bundles — List all available implementation bundles with identifier, title, framework, and last-verified date for discovery.

Use cases

  • Add a real-time chat interface to a React or React Native app using the UI Kit quickstart bundle
  • Set up multi-tenant chat isolation for a SaaS platform with server-issued Auth Tokens
  • Implement content moderation with AI rules and image scanning before message delivery
  • Add presence indicators, typing dots, and read receipts to a conversation list
  • Embed a no-code chat widget on a static HTML, Webflow, Squarespace, or WordPress site

CometChat Docs MCP server FAQ

What is the CometChat MCP server?

It's a read-only MCP server that gives AI agents access to CometChat's documentation and implementation bundles. You can ask an agent to integrate chat, voice, video, or moderation into your app, and it reads the docs and writes the code.

Do I need a CometChat account or API key to use this server?

No. The server is read-only and requires no authentication. However, to actually deploy the code the agent writes, you'll need a free CometChat account (100 monthly active users free at app.cometchat.com) with an App ID, Auth Key, and Region.

How do I install this in Cursor or Claude Desktop?

In Claude Desktop: Settings → Connectors → Add custom connector → URL: https://mcp.cometchat.com/mcp. In Cursor: Cmd+Shift+P → Open MCP settings → Add custom MCP → paste the config with url: https://mcp.cometchat.com/mcp.

What frameworks and platforms does CometChat support?

SDKs for JavaScript, React Native, iOS, Android, and Flutter. UI Kits for React, React Native, iOS (SwiftUI), Android (Jetpack Compose), Flutter, Angular, and Vue. Also a no-code widget for HTML, Webflow, Squarespace, Wix, WordPress, and Shopify.

What are implementation bundles?

Curated markdown recipes for common scenarios (React UI Kit quickstart, multi-tenant chat, moderation setup, presence indicators, etc.). Each includes prerequisites, install commands, configuration snippets, and working code examples ready to adapt to your project.

Is this server free?

Yes. The MCP server itself is free and open-source (Apache-2.0). CometChat's free tier covers 100 monthly active users with no credit card required.

README (reference)

Source of truth, from the repository.

<div align="center">

CometChat MCP Server

Add real-time chat, voice, video, and moderation to your app through your AI coding agent.

CI Release MCP Registry smithery badge docs-mcp MCP server Listed on ClaudePluginHub License MCP Status

Docs • CometChat • Get an account (free, 100 MAU)

</div>

CometChat's first-party MCP server. Connect Claude, Cursor, Windsurf, VS Code Copilot, Codex, or any other Model Context Protocol–compatible agent and integrate CometChat into your app from natural-language prompts.

Ask the agent: "add a chat tab where users can DM each other" — it reads CometChat's documentation, picks the right components for your stack, and writes the integration code.

Read-only. No account, no API key, no authentication required.


Demo

CometChat MCP server in action

An AI agent reading CometChat's docs and writing a working chat integration from a single prompt.


Quick install

AgentHow to add
Claude.ai / Claude DesktopSettings → Connectors → Add custom connector → URL: https://mcp.cometchat.com/mcp
CursorCmd+Shift+P → Open MCP settings → Add custom MCP → paste config below
WindsurfPlugins (hammer icon) → Manage plugins → View raw config → paste config below
VS Code (Copilot Agent)Cmd+Shift+P → MCP: Add MCP Server → URL: https://mcp.cometchat.com/mcp, Transport: HTTP
Claude Code (CLI)claude mcp add --transport http cometchat https://mcp.cometchat.com/mcp
Smitherynpx -y smithery mcp add cometchat/docs-mcp
Codex CLIcodex plugin marketplace add cometchat/docs-mcp

Config snippet (Cursor / Windsurf / generic MCP clients)

{
  "mcpServers": {
    "cometchat": {
      "url": "https://mcp.cometchat.com/mcp"
    }
  }
}

Usage

After connecting, prompt your agent with any of these:

  • "How do I install the React UI Kit in my Vite project?"
  • "Walk me through multi-tenant chat for a Next.js SaaS where workspaces are isolated."
  • "Show me how to add presence indicators and typing dots to my iOS conversation list."
  • "Set up content moderation so banned words are blocked before delivery."
  • "Build a no-code chat widget for my Webflow site."
  • "What's the rate limit for sending messages, and what error code do I get when I hit it?"

The agent reads CometChat's documentation, pulls the relevant implementation bundle, and writes the integration code into your project.


Tools

  • search_cometchat_docs — Search across SDK guides, UI Kit references, REST API documentation, and OpenAPI specs. Returns ranked snippets with titles + direct links. Optional version filter.
  • fetch_cometchat_doc_page — Fetch the full content of any documentation page as markdown by URL or relative path.
  • get_cometchat_implementation_bundle — Return a curated implementation bundle for a named scenario — prerequisites, install commands, configuration, working code.
  • list_cometchat_bundles — List every available implementation bundle (identifier, title, framework, last-verified date) for discovery.

All four carry readOnlyHint: true, a title annotation, and a declared outputSchema with structured results. Names are ≤ 64 characters. Descriptions describe contracts only — no behavioral instructions to the agent, no cross-tool routing, no marketing language.

Resources

URIPurpose
cometchat://skills/overviewAgent orientation skill — Product summary, decision guidance, workflow, common gotchas, verification checklist
cometchat://bundles/react-uikit-quickstartReact UI Kit install + init + login + chat surface
cometchat://bundles/react-native-uikit-quickstartReact Native UI Kit with navigation and chat screen
cometchat://bundles/flutter-uikit-quickstartFlutter UI Kit install + init + basic chat
cometchat://bundles/ios-uikit-quickstartiOS UI Kit (SwiftUI) install + chat view
cometchat://bundles/android-uikit-quickstartAndroid UI Kit (Jetpack Compose) install + chat screen
cometchat://bundles/js-sdk-messaging-basicsVanilla JS SDK — send/receive text and media messages
cometchat://bundles/widget-embedNo-code widget embed for HTML, Squarespace, Webflow, Wix, WordPress, Shopify
cometchat://bundles/moderation-setupAI moderation rules, image moderation, webhooks
cometchat://bundles/multi-tenant-chatMulti-tenant SaaS chat — tenant isolation, server-issued Auth Tokens
cometchat://bundles/presence-and-typingOnline presence, typing indicators, read receipts

How it works

  1. You prompt your agent in natural language.
  2. The agent reads the orientation skill (cometchat://skills/overview) to understand which tool/bundle fits your request.
  3. For top scenarios, the agent pulls a curated implementation bundle — ready-to-run code with prerequisites, install commands, configuration, and working examples.
  4. For long-tail questions, the agent searches CometChat's docs and reads specific reference pages.
  5. The agent writes the code into your project, using the bundle as the source of truth and your project structure as the constraint.

CometChat in 30 seconds

CometChat is a real-time communications platform for adding chat, voice, and video calling to web and mobile apps. Used in production across SaaS, marketplaces, gaming, healthcare, education, and creator platforms.

  • Free tier: first 100 monthly active users, no credit card required.
  • SDKs: JavaScript, React Native, iOS, Android, Flutter.
  • UI Kits: React, React Native, iOS, Android, Flutter, Angular, Vue.
  • No-code: chat widget for any HTML site.
  • Sign up: app.cometchat.com — you'll need an App ID, Auth Key, and Region to build with the code the agent writes.

Server identity

FieldValue
Display nameCometChat Docs
Version0.1.6
ProtocolMCP 2025-06-18
TransportStreamable HTTP (with SSE)
AuthenticationNone (public docs only)
Capabilitiestools, resources
Health endpointGET https://mcp.cometchat.com/health

Architecture

Your agent (Claude / Cursor / Windsurf / …)
        ↓ MCP over Streamable HTTP
        ↓
  mcp.cometchat.com/mcp  (this server)
        ↓
  ├── search_cometchat_docs     → SQLite FTS5 index of cometchat/docs
  ├── fetch_cometchat_doc_page  → cometchat.com/docs/*.md (first-party)
  └── get_cometchat_implementation_bundle → bundled markdown recipes
  • Stateless server, single universal endpoint, no user-specific state.
  • Search index rebuilds from github.com/cometchat/docs on every push to that repo's main branch.
  • Implementation bundles carry a last_verified date and are re-checked against live SDK versions quarterly.

Local development

# Clone the docs repo (used to build the search index)
git clone --depth 1 https://github.com/cometchat/docs.git ../cometchat-docs-repo

# Install + build the FTS index + run the server
npm install
DOCS_REPO=../cometchat-docs-repo npm run build:index
npm run dev

# Run the test suite (36 tests across validation, truncation, bundles, tools, resources, fetch)
npm test

The server listens on http://0.0.0.0:3000 by default. Health probe at GET /health, MCP endpoint at POST /mcp.

Inspect with the MCP Inspector

npx @modelcontextprotocol/inspector
# add server: http://localhost:3000/mcp

You should see all 4 tools with readOnlyHint: true and all 11 resources.

Repo layout

docs-mcp/
├── src/
│   ├── server.ts                  # MCP server entry, transport, tool dispatch
│   ├── tools/{search,fetch,bundle}.ts
│   ├── search/sqlite.ts           # SQLite FTS5 client
│   ├── bundles/loader.ts          # markdown bundle store
│   ├── resources/registry.ts      # skill + bundle resources
│   └── lib/{errors,truncate,validation,logger}.ts
├── scripts/build-index.ts         # builds SQLite FTS5 index from cometchat/docs
├── bundles/                       # 10 curated implementation bundles
├── skills/overview.md             # agent orientation skill
├── tests/                         # vitest suite
├── .claude-plugin/
│   ├── plugin.json                # Claude Code plugin manifest
│   └── marketplace.json           # Claude Code marketplace manifest
├── .codex-plugin/plugin.json      # Codex plugin manifest
├── .cursor-plugin/plugin.json     # Cursor Marketplace manifest
├── .mcp.json                      # MCP config (Claude Code auto-discovery)
├── mcp.json                       # Open Plugins standard manifest
└── assets/logo.svg                # CometChat logo

Configuration

Env varDefaultNotes
PORT3000HTTP port
HOST0.0.0.0Bind host
DOCS_BASE_URLhttps://www.cometchat.com/docsUsed for URLs in responses + the .md fetch fallback
INDEX_PATH./data/index.sqliteSQLite FTS5 index location. Server still boots if missing; search returns backend_unavailable and /health is 503.
BUNDLES_DIR./bundlesMarkdown bundles directory
SKILLS_DIR./skillsOrientation skill (overview.md) directory
FETCH_TIMEOUT_MS5000Per-fetch HTTP timeout
LOG_LEVELinfodebug / info / warn / error
NODE_ENVdevelopmentproduction makes bundle loading strict — a malformed bundle aborts boot instead of being skipped
ALLOWED_HOSTS<HOST>:<PORT>,localhost:<PORT>,127.0.0.1:<PORT>Comma-separated Host header allowlist for DNS-rebinding protection
ALLOWED_ORIGINSunsetComma-separated browser Origin allowlist for /mcp. Unset allows none: a request with an Origin gets 403. Clients that send no Origin (IDEs, CLIs, hosted connectors) are unaffected
DNS_REBINDING_PROTECTIONtrueSet false only if an upstream already validates Host
RATE_LIMIT_ENABLEDtrueSet false to disable per-IP rate limiting on /mcp. Exactly true or false; other values fail startup
RATE_LIMIT_MAX120Max requests per window per IP. Positive integer; 0 fails startup (disable with RATE_LIMIT_ENABLED=false)
RATE_LIMIT_WINDOW_MS60000Rate-limit window in ms. Positive integer
INDEX_AUTO_REFRESHfalseSet true to rebuild the search index in-container when cometchat/docs changes. Requires git in the image and a writable INDEX_WORK_DIR.
INDEX_POLL_INTERVAL_MS600000How often to check the docs repo for a new commit (a git ls-remote, ~1s)
INDEX_WORK_DIR./data/generationsWhere rebuilt index generations are written (tmpfs in production)
INDEX_KEEP_GENERATIONS2Previous index generations retained on disk for instant fallback
INDEX_MIN_PAGES2000Absolute floor: a candidate index with fewer pages is rejected
INDEX_MAX_DROP_RATIO0.2Relative floor: reject a candidate losing more than this fraction of the served page count, or of the served pages whose versions come from docs.json navigation
DOCS_REPO_URLhttps://github.com/cometchat/docs.gitPublic docs repo; cloned anonymously, no credentials
DOCS_REFmainBranch to follow
DOCS_COMMIT_PINunsetFreeze on one commit and stop following HEAD (incident escape hatch)
POSTHOG_KEYunsetPostHog project API key. Unset = usage analytics fully disabled (no-op)
POSTHOG_HOSThttps://us.i.posthog.comPostHog instance host
ANALYTICS_SALTunsetRequired when POSTHOG_KEY is set (analytics stays off without it). Salts client fingerprints/IP hashes; rotating it resets all fingerprints

Deployment

See DEPLOY.md for container build, environment, and platform notes.


Marketplaces

The same server URL is listed across multiple agent marketplaces:

MarketplaceListing
Smitherysmithery.ai/servers/cometchat/docs-mcp
Glamaglama.ai/mcp/servers/cometchat/docs-mcp
Cursor Marketplacecursor.com/marketplace
Cursor Directorycursor.directory
Anthropic Connector Directoryclaude.com/connectors
Codex Marketplacecodex-marketplace.com

Support

  • Issues / feedback: open an issue in this repo.
  • CometChat support: support@cometchat.com.
  • Live MCP status: curl https://mcp.cometchat.com/health returns {"status":"ok"} when healthy.

Contributing

PRs welcome — especially:

  • New implementation bundles for under-served scenarios (drop a markdown file in bundles/ with the required frontmatter).
  • Bundle refreshes when SDK versions change (last_verified date in the bundle's frontmatter triggers a CI warning if older than 6 months).
  • Tool improvements behind the existing read-only contract.

Out of scope today:

  • Tools that write to a customer's CometChat app (separate authenticated connector, on the roadmap).
  • Mixed read/write tools (Anthropic auto-rejection rule).

Privacy

The CometChat MCP server is read-only and requires no account, API key, or authentication. It serves only CometChat's public documentation and does not request, store, or transmit your code, prompts, or personal data. Standard request metadata (such as IP address) may be processed transiently for rate limiting and abuse prevention.

For full details, see CometChat's privacy policy: cometchat.com/legal-privacy-policy.


License

Apache-2.0. See LICENSE.

Related MCP servers

RETIRED - this server is discontinued and its backend is offline. Do not use.

0
MIT
View repository →

RETIRED - this server is discontinued and its backend is offline. Do not use.

0
MIT
View repository →

RETIRED - this server is discontinued and its backend is offline. Do not use.

0
MIT
View repository →

Read-only health and storage diagnostics for an enrolled CMDOP machine fleet.

0
Go
Apache-2.0
View repository →

Preserve a user-authorized judgment and append later answers. No model verdict or human score.

2
TypeScript
View repository →

AI agent access to Commoner's DAO — auction, governance, treasury, and discussion board on Solana.

0
JavaScript
View repository →