Skip to content
59 changes: 51 additions & 8 deletions mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "Use CometChat with AI Coding Agents (MCP)"
sidebarTitle: "MCP Integration"
description: "Connect CometChat to Claude, Cursor, Windsurf, VS Code, and any other Model Context Protocol–compatible agent. Search docs and pull implementation bundles with no sign-in, and sign in to let the agent fetch your credentials and manage your CometChat apps."
description: "Connect CometChat to Claude, Cursor, Windsurf, VS Code, Codex, and any other Model Context Protocol–compatible agent. Search docs and pull implementation bundles with no sign-in, and sign in to let the agent fetch your credentials and manage your CometChat apps."
canonical: "https://www.cometchat.com/docs/mcp-server"
---

The **CometChat MCP server** lets Claude, Cursor, Windsurf, VS Code, and any
other Model Context Protocol–compatible agent integrate CometChat into your
The **CometChat MCP server** lets Claude, Cursor, Windsurf, VS Code, Codex, and
any other Model Context Protocol–compatible agent integrate CometChat into your
app from natural-language prompts. Ask the agent to *"add a chat tab where
users can DM each other"* and it uses the MCP to read CometChat's docs,
pick the right components for your stack, and write the integration code.
Expand Down Expand Up @@ -34,6 +34,22 @@
tools use the MCP sign-in flow (OAuth): your AI tool opens a CometChat sign-in
page the first time you use one.

## Install as a plugin

If your agent has a plugin marketplace, you do not need to paste any
configuration. From a terminal:

```bash
# Claude Code
claude plugin marketplace add cometchat/docs-mcp && claude plugin install cometchat@cometchat

# Codex CLI
codex plugin marketplace add cometchat/docs-mcp && codex plugin add cometchat@cometchat
```

You get the same server at the same URL, docs tools included and
account tools behind the sign-in described below.

## Connect from your agent

### Claude (Desktop or claude.ai)
Expand Down Expand Up @@ -71,22 +87,36 @@

3. The first time the agent uses an account tool, Cursor asks you to sign in to CometChat.

### Windsurf
### Windsurf (Devin Desktop)

Windsurf's MCP documentation now lives in Devin's docs, and the in-app surface

Check warning on line 92 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'Windsurf's'?
is **Devin Desktop**'s agent customization page
([Devin Desktop customizations](https://docs.devin.ai/desktop/devin-local/customizations)).

1. Click the **Plugins** (hammer) icon → **Manage plugins** → **View raw config**.
2. Paste:
1. Open the **Customize** page from the **Agents** window and click **MCPs**.

Check warning on line 96 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'MCPs'?
Choose the scope with the **Install MCPs for** selector — for example

Check warning on line 97 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'MCPs'?
**This computer**.
2. In the **This computer** list, open the config file.
3. Add CometChat under `mcpServers`:

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

3. Save and click **Refresh**.
4. Save the file.

The config file is `.devin/mcp_config.json` for one project or
`~/.config/devin/mcp_config.json` for every project
(`%APPDATA%\devin\mcp_config.json` on Windows); `.devin/mcp_config.local.json`
is a gitignored local override. See

Check warning on line 117 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'gitignored'?
[Devin's MCP configuration](https://docs.devin.ai/cli/extensibility/mcp/configuration)
for the full field list.

### Visual Studio Code (Copilot Agent)

Expand All @@ -106,6 +136,19 @@
}
```

### Codex

Install the plugin, which adds this server for you:

```bash
codex plugin marketplace add cometchat/docs-mcp
codex plugin add cometchat@cometchat
```

To sign in to the account tools, run `codex mcp login cometchat`. To sign out,
run `codex mcp logout cometchat`. To remove the server, uninstall the plugin with
`codex plugin remove cometchat@cometchat`.

Any other MCP client that supports sign-in (OAuth) opens the CometChat sign-in
page the first time the agent uses an account tool.

Expand Down Expand Up @@ -279,8 +322,8 @@
| `cometchat_list_webhooks` | Lists an app's webhooks | — |
| `cometchat_create_webhook` | Creates a webhook that sends events to an HTTPS URL | browser |
| `cometchat_delete_webhook` | Deletes a webhook | browser |
| `cometchat_get_push_setup` | Shows whether push is on and lists the FCM and APNs providers | — |

Check warning on line 325 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'APNs'?
| `cometchat_delete_push_provider` | Deletes an FCM or APNs provider | browser |

Check warning on line 326 in mcp-server.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'APNs'?
| `cometchat_list_team` | Lists the people with dashboard access to an app | — |
| `cometchat_invite_team_member` | Invites someone to an app's dashboard | browser |

Expand Down