- Docs tools search CometChat’s documentation and return implementation bundles. They’re read-only and need no account, sign-in or API key.
- Account tools work with your CometChat account: fetch an app’s credentials, turn features on, create test users and groups, manage API keys and webhooks, check usage and more. The first time your agent uses one, your AI tool asks you to sign in to CometChat in the browser.
Connector URL
Connect from your agent
Claude (Desktop or claude.ai)
- Open Settings → Connectors.
- Click Add custom connector.
- Name it
CometChat, paste the URLhttps://mcp.cometchat.com/mcp, and click Add. - To use the account tools, click Connect on the connector and sign in to CometChat.
- In a new conversation, attach CometChat from the connectors picker and prompt away.
Claude Code
/mcp,
pick cometchat, and choose Authenticate. Claude Code also tells you to do
this the first time the agent calls an account tool.
Cursor
Cmd+Shift+P(macOS) /Ctrl+Shift+P(Windows) → Open MCP settings.- Click Add custom MCP and paste:
- The first time the agent uses an account tool, Cursor asks you to sign in to CometChat.
Windsurf
- Click the Plugins (hammer) icon → Manage plugins → View raw config.
- Paste:
- Save and click Refresh.
Visual Studio Code (Copilot Agent)
Cmd+Shift+P/Ctrl+Shift+P→ MCP: Add Server.- Choose HTTP, enter the URL
https://mcp.cometchat.com/mcp, and name itcometchat.
.vscode/mcp.json in your project:
Lovable
Add it as a custom MCP chat connector with No authentication, which gives Lovable the docs tools. See Build CometChat Apps with Lovable for the steps.With the CometChat Agent Skills
npx @cometchat/skills add installs the Agent Skills and adds
this server to your agent’s MCP config for you.
Example prompts
Once connected, try these in a fresh agent conversation:- “Add a chat tab where users can DM each other in my React app.”
- “Let project members talk in a group chat with file sharing.”
- “Add video calling between two users with a click-to-call button.”
- “Set up content moderation so banned words are blocked before delivery.”
- “Build a multi-tenant SaaS chat where each workspace’s users are isolated.”
- “Add presence indicators and typing dots to my conversation list.”
- “Use my CometChat app ‘Support Chat’ and put its credentials in
.env.” - “Turn on reactions and polls for my app.”
- “Create five test users and a group with all of them in it.”
- “How many monthly active users did my app have in the last 30 days?”
Signing in for the account tools
The first time your agent calls an account tool, your AI tool opens a CometChat sign-in page in your browser. Sign in with your CometChat dashboard account. The page lists what your AI tool will be able to do before you continue.- Full or read-only access. A known AI tool can read and, with your OK, change your account. Known tools are ones running on your machine, Claude’s connector, ChatGPT, Grok, Antigravity, Mistral Le Chat and Perplexity. Any other app is marked Unverified and gets read-only access. Anyone can register an app under any name, so check the name and the address it returns to, and only sign in from a link your own AI tool opened.
- ChatGPT shows as Unverified? Remove the CometChat connector in ChatGPT and add it again.
- A read-only connection can’t change your account. It can still read app credentials, including the Auth Key. Other API key values stay hidden.
- Your sign-in stays in your AI tool. The server stores nothing. Access tokens last one hour, and a sign-in lasts at most seven days.
Confirmations and approvals
Account tools never change anything on their own. How much they ask first depends on the change:
The browser approval guards against text inside your app (a message, a user
name) talking your agent into a risky change. Only approve changes you asked
for.
The account tools can’t delete apps, change billing, transfer ownership or
ban users.
Tools
Docs tools (no sign-in)
Account tools (sign-in)
In the Asks first column, chat means the agent needs your OK in the chat, and browser means you approve the change in your browser. Account and apps
Features and settings
API keys and login tokens
Users and groups
Conversations, messages and calls
Moderation
Webhooks, push and team
Eleven implementation bundles
Each bundle is compiled from the current pages of these docs, so it always matches what the docs say.Orientation skill resource
The MCP also exposes acometchat://skills/overview resource — a structured
markdown document the agent reads once to orient itself on CometChat’s
products, decision tree, and common pitfalls.
Disconnecting
Remove the CometChat connection in your AI tool to stop it using your account (Claude Code:/mcp, pick cometchat, Clear authentication). A sign-in
copied off your device keeps working until it expires; changing your CometChat
password cuts off every copy within an hour. Step-by-step help:
mcp.cometchat.com/oauth/cometchat/disconnect.
Privacy
- Docs tools serve CometChat’s public documentation. They don’t request, store or send your code, prompts or personal data.
- Account tools pass your requests to your CometChat account and return the results to your AI tool. Results can include your users’ names, emails and message text. The server stores nothing; for security it logs one audit line per account action (a pseudonymous id for you, the tool, the app and the ids it acted on, never message text, names or secrets).
Source
The MCP server is open-source atgithub.com/cometchat/docs-mcp.
Its docs tools are built from this very documentation repository, so the
content they surface is always in sync with what you see on the docs site.