CometChat Docs
OfficialA read-only MCP server that gives AI coding agents access to CometChat's documentation, enabling them to research and write real-time chat, voice, video, and moderation integrations from natural-language prompts. No account, API key, or authentication is required.
Tools:
search_cometchat_docs: Search across SDK guides (JavaScript, React, iOS, Android, Flutter, React Native), UI Kit references, REST API docs, integration tutorials, and OpenAPI specs. Returns ranked snippets with titles and direct links. Supports an optional version filter (e.g.v4,v3).fetch_cometchat_doc_page: Retrieve the full markdown content of any CometChat documentation page by providing a full URL or relative path.get_cometchat_implementation_bundle: Retrieve a curated, ready-to-run implementation bundle for a specific integration scenario, including prerequisites, install commands, configuration steps, working code examples, and common pitfalls. Available bundles cover:React UI Kit quickstart
React Native UI Kit quickstart
Flutter UI Kit quickstart
iOS UI Kit (SwiftUI) quickstart
Android UI Kit (Jetpack Compose) quickstart
Vanilla JS SDK messaging basics
No-code widget embed (HTML, Webflow, Wix, WordPress, Shopify, Squarespace)
Moderation setup (AI rules, image moderation, webhooks)
Multi-tenant SaaS chat (tenant isolation, Auth Tokens)
Presence indicators, typing indicators, and read receipts
Compatible with Claude, Cursor, Windsurf, VS Code Copilot, Codex, and any MCP-compatible agent.
Enables integration with Android apps using the CometChat Android UI Kit (Jetpack Compose) and SDK for real-time chat, voice, and video.
Provides Angular UI Kit integration for adding chat, voice, and video capabilities to Angular applications.
Allows Flutter apps to integrate real-time chat, voice, and video using the CometChat Flutter UI Kit and SDK.
Enables iOS apps to integrate real-time chat, voice, and video using the CometChat iOS UI Kit (SwiftUI) and SDK.
Provides the JavaScript SDK for integrating real-time messaging and media into web applications.
Supports Android app integration using the Jetpack Compose-based CometChat UI Kit for modern Android development.
Facilitates integration with Next.js applications, leveraging React UI Kit for building chat features.
Allows React applications to add real-time chat, voice, and video using the CometChat React UI Kit.
Provides a no-code widget integration for Shopify stores to add chat functionality.
Offers a no-code widget for embedding chat into Squarespace websites.
Enables Swift-based iOS apps to integrate CometChat using the SwiftUI UI Kit and SDK.
Provides a no-code widget for adding chat to Webflow sites.
Offers a no-code widget for embedding chat into Wix websites.
Enables a no-code widget integration for adding chat to WordPress sites.
CometChat MCP Server
Add real-time chat, voice, video, and moderation to your app through your AI coding agent.
Docs • CometChat • Get an account (free, 100 MAU)
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

An AI agent reading CometChat's docs and writing a working chat integration from a single prompt.
Related MCP server: ElevenLabs MCP Server
Quick install
Agent | How to add |
Claude.ai / Claude Desktop | Settings → Connectors → Add custom connector → URL: |
Cursor |
|
Windsurf | Plugins (hammer icon) → Manage plugins → View raw config → paste config below |
VS Code (Copilot Agent) |
|
Claude Code (CLI) |
|
Smithery |
|
Codex CLI |
|
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
Name | Purpose |
| Search across SDK guides, UI Kit references, REST API documentation, and OpenAPI specs. Returns ranked snippets with titles + direct links. Optional |
| Fetch the full content of any documentation page as markdown by URL or relative path. |
| Return a curated implementation bundle for a named scenario — prerequisites, install commands, configuration, working code. |
All three carry readOnlyHint: true and a title annotation. Names are ≤ 64 characters. Descriptions describe contracts only — no behavioral instructions to the agent, no cross-tool routing, no marketing language.
Resources
URI | Purpose |
| Agent orientation skill — Product summary, decision guidance, workflow, common gotchas, verification checklist |
| React UI Kit install + init + login + chat surface |
| React Native UI Kit with navigation and chat screen |
| Flutter UI Kit install + init + basic chat |
| iOS UI Kit (SwiftUI) install + chat view |
| Android UI Kit (Jetpack Compose) install + chat screen |
| Vanilla JS SDK — send/receive text and media messages |
| No-code widget embed for HTML, Squarespace, Webflow, Wix, WordPress, Shopify |
| AI moderation rules, image moderation, webhooks |
| Multi-tenant SaaS chat — tenant isolation, server-issued Auth Tokens |
| Online presence, typing indicators, read receipts |
How it works
You prompt your agent in natural language.
The agent reads the orientation skill (
cometchat://skills/overview) to understand which tool/bundle fits your request.For top scenarios, the agent pulls a curated implementation bundle — ready-to-run code with prerequisites, install commands, configuration, and working examples.
For long-tail questions, the agent searches CometChat's docs and reads specific reference pages.
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
Field | Value |
Display name | CometChat Docs |
Version | 0.1.5 |
Protocol | MCP |
Transport | Streamable HTTP (with SSE) |
Authentication | None (public docs only) |
Capabilities |
|
Health endpoint |
|
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 recipesStateless server, single universal endpoint, no user-specific state.
Search index rebuilds from
github.com/cometchat/docson every push to that repo'smainbranch.Implementation bundles carry a
last_verifieddate 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 testThe 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/mcpYou should see all 3 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 logoConfiguration
Env var | Default | Notes |
|
| HTTP port |
|
| Bind host |
|
| Used for URLs in responses + the |
|
| SQLite FTS5 index location. Server still boots if missing; search returns |
|
| Markdown bundles directory |
|
| Orientation skill ( |
|
| Per-fetch HTTP timeout |
|
|
|
|
|
|
|
| Comma-separated |
| unset | Comma-separated CORS origin allowlist |
|
| Set |
|
| Set |
|
| Max requests per window per IP |
|
| Rate-limit window in ms |
Deployment
See DEPLOY.md for container build, environment, and platform notes.
Marketplaces
The same server URL is listed across multiple agent marketplaces:
Marketplace | Listing |
Smithery | |
Glama | |
Cursor Marketplace |
|
Cursor Directory |
|
Anthropic Connector Directory |
|
Codex Marketplace |
|
Support
Issues / feedback: open an issue in this repo.
CometChat support:
support@cometchat.com.Live MCP status:
curl https://mcp.cometchat.com/healthreturns{"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_verifieddate 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.
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cometchat/docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server