CometChat Docs
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Bind host | 0.0.0.0 |
| PORT | No | HTTP port | 3000 |
| NODE_ENV | No | production makes bundle loading strict — a malformed bundle aborts boot instead of being skipped | development |
| LOG_LEVEL | No | debug / info / warn / error | info |
| INDEX_PATH | No | SQLite FTS5 index location. Server still boots if missing; search returns backend_unavailable and /health is 503. | ./data/index.sqlite |
| SKILLS_DIR | No | Orientation skill (overview.md) directory | ./skills |
| BUNDLES_DIR | No | Markdown bundles directory | ./bundles |
| ALLOWED_HOSTS | No | Comma-separated Host header allowlist for DNS-rebinding protection | <HOST>:<PORT>,localhost:<PORT>,127.0.0.1:<PORT> |
| DOCS_BASE_URL | No | Used for URLs in responses + the .md fetch fallback | https://www.cometchat.com/docs |
| RATE_LIMIT_MAX | No | Max requests per window per IP | 120 |
| ALLOWED_ORIGINS | No | Comma-separated CORS origin allowlist | |
| FETCH_TIMEOUT_MS | No | Per-fetch HTTP timeout | 5000 |
| RATE_LIMIT_ENABLED | No | Set false to disable per-IP rate limiting on /mcp | true |
| RATE_LIMIT_WINDOW_MS | No | Rate-limit window in ms | 60000 |
| DNS_REBINDING_PROTECTION | No | Set false only if an upstream already validates Host | true |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_cometchat_docsA | Searches CometChat documentation including SDK guides (JavaScript, React, iOS, Android, Flutter, React Native), UI Kit references, REST API documentation, integration tutorials, and OpenAPI specs. Returns ranked snippets with titles and direct links to source pages. Supports an optional |
| fetch_cometchat_doc_pageA | Fetches the full content of a single CometChat documentation page by URL or path. Returns the page content as markdown along with title and section metadata. Path can be passed as a full https://www.cometchat.com/docs URL or as a relative path such as '/sdk/javascript/overview'. |
| get_cometchat_implementation_bundleA | Returns a curated implementation bundle for a named CometChat integration scenario. Each bundle includes prerequisites, install commands, configuration, working code examples, and common pitfalls. Available bundles cover common integration patterns across React, Flutter, iOS, Android, React Native, and the JavaScript SDK. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| cometchat-overview | Use when building real-time chat, voice/video calling, or messaging features into web and mobile applications. Reach for this skill when integrating messaging APIs, configuring authentication, building UI components, managing users/groups, or implementing calling functionality. |
| android-uikit-quickstart | Android UI Kit Quickstart (Jetpack Compose) — android. Implementation bundle: prerequisites, install, configuration, working code. |
| flutter-uikit-quickstart | Flutter UI Kit Quickstart — flutter. Implementation bundle: prerequisites, install, configuration, working code. |
| ios-uikit-quickstart | iOS UI Kit Quickstart (SwiftUI) — ios. Implementation bundle: prerequisites, install, configuration, working code. |
| js-sdk-messaging-basics | JavaScript SDK — Messaging Basics — javascript. Implementation bundle: prerequisites, install, configuration, working code. |
| moderation-setup | Moderation Setup — any. Implementation bundle: prerequisites, install, configuration, working code. |
| multi-tenant-chat | Multi-Tenant SaaS Chat — any. Implementation bundle: prerequisites, install, configuration, working code. |
| presence-and-typing | Presence and Typing Indicators — any. Implementation bundle: prerequisites, install, configuration, working code. |
| react-native-uikit-quickstart | React Native UI Kit Quickstart — react-native. Implementation bundle: prerequisites, install, configuration, working code. |
| react-uikit-quickstart | React UI Kit Quickstart — react. Implementation bundle: prerequisites, install, configuration, working code. |
| widget-embed | Widget Embed (No-Code) — widget. Implementation bundle: prerequisites, install, configuration, working code. |
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