Skip to main content
Glama
cometchat

CometChat Docs

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind host0.0.0.0
PORTNoHTTP port3000
NODE_ENVNoproduction makes bundle loading strict — a malformed bundle aborts boot instead of being skippeddevelopment
LOG_LEVELNodebug / info / warn / errorinfo
INDEX_PATHNoSQLite FTS5 index location. Server still boots if missing; search returns backend_unavailable and /health is 503../data/index.sqlite
SKILLS_DIRNoOrientation skill (overview.md) directory./skills
BUNDLES_DIRNoMarkdown bundles directory./bundles
ALLOWED_HOSTSNoComma-separated Host header allowlist for DNS-rebinding protection<HOST>:<PORT>,localhost:<PORT>,127.0.0.1:<PORT>
DOCS_BASE_URLNoUsed for URLs in responses + the .md fetch fallbackhttps://www.cometchat.com/docs
RATE_LIMIT_MAXNoMax requests per window per IP120
ALLOWED_ORIGINSNoComma-separated CORS origin allowlist
FETCH_TIMEOUT_MSNoPer-fetch HTTP timeout5000
RATE_LIMIT_ENABLEDNoSet false to disable per-IP rate limiting on /mcptrue
RATE_LIMIT_WINDOW_MSNoRate-limit window in ms60000
DNS_REBINDING_PROTECTIONNoSet false only if an upstream already validates Hosttrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 version filter to scope results to a specific documentation version.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
cometchat-overviewUse 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-quickstartAndroid UI Kit Quickstart (Jetpack Compose) — android. Implementation bundle: prerequisites, install, configuration, working code.
flutter-uikit-quickstartFlutter UI Kit Quickstart — flutter. Implementation bundle: prerequisites, install, configuration, working code.
ios-uikit-quickstartiOS UI Kit Quickstart (SwiftUI) — ios. Implementation bundle: prerequisites, install, configuration, working code.
js-sdk-messaging-basicsJavaScript SDK — Messaging Basics — javascript. Implementation bundle: prerequisites, install, configuration, working code.
moderation-setupModeration Setup — any. Implementation bundle: prerequisites, install, configuration, working code.
multi-tenant-chatMulti-Tenant SaaS Chat — any. Implementation bundle: prerequisites, install, configuration, working code.
presence-and-typingPresence and Typing Indicators — any. Implementation bundle: prerequisites, install, configuration, working code.
react-native-uikit-quickstartReact Native UI Kit Quickstart — react-native. Implementation bundle: prerequisites, install, configuration, working code.
react-uikit-quickstartReact UI Kit Quickstart — react. Implementation bundle: prerequisites, install, configuration, working code.
widget-embedWidget Embed (No-Code) — widget. Implementation bundle: prerequisites, install, configuration, working code.

Latest Blog Posts

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