From 42eb8d74544f6960ec983f2427d4d0be41f22046 Mon Sep 17 00:00:00 2001 From: rajdubey Date: Wed, 2 Dec 2026 18:04:44 +0530 Subject: [PATCH 1/5] docs(ENG-58742): add one-click install, Codex, and the current Windsurf flow to the MCP page Salvages the three genuinely new items from cometchat/docs#595 without taking the rest of it. #595 was written for docs-mcp v0.1.7 and would have deleted the 48 cometchat_* tool rows and the Signing-in / Confirmations / Disconnecting / Privacy sections (ENG-58742). Nothing is removed here: tool rows 48 -> 48, distinct tool names 50 -> 50, all four sections still present. Each item was re-verified against docs-mcp v0.2.1 rather than copied from #595, and three things in #595 did NOT survive that check: 1. ## One-click install Published with the two directory listings that v0.2.1's own README records under "Marketplaces" -- the Claude connector directory and the Cursor Directory -- plus the two plugin one-liners from its "Quick install" table. DROPPED from #595: the cursor.com/install-mcp?...&config= and insiders.vscode.dev/redirect/mcp/install?...&config= deep links. v0.2.1 contains no such links (no match for install-mcp, vscode.dev or vscode: outside the OAuth callback allowlist in src/dashboard/oauth.ts:580), and neither Cursor's nor VS Code's current documentation could be read to confirm the formats. An unverified deep link is worse than no link. 2. ### Codex Published with the plugin commands, which v0.2.1's README documents verbatim, and the logout/remove commands from src/dashboard/oauth.ts:755. DROPPED from #595: `codex mcp add cometchat --url ...`, the ~/.codex/config.toml block, and "the Codex CLI, the IDE extension, and the ChatGPT desktop app share this configuration". None of the three appears anywhere in v0.2.1. The `url`-only shape (no `type`) matches .codex-plugin/plugin.json and tests/plugin-manifests.test.ts:28. 3. ### Windsurf (Devin Desktop) The existing section was stale in two ways, both confirmed against the vendor: docs.windsurf.com/windsurf/cascade/mcp now 307-redirects to docs.devin.ai/desktop/cascade/mcp, which documents the Customize -> MCPs flow rather than the Plugins/hammer/View-raw-config flow, and the Devin CLI MCP page gives the URL key as `url`, not `serverUrl`. v0.2.1's own README generic snippet also uses `url`. Both are corrected, and the config file paths are added from Devin's page. NOT published, although #595 asserts it: "Windsurf is now Devin Desktop." No page read states that as a fact. The wording here says only what the redirect and the page title support -- that Windsurf's MCP docs now live in Devin's docs and the surface is Devin Desktop's. Gates: docs.json parses (exit 0), docs-linkcheck PASS (exit 0). Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01XbguTu9in5yKt5CNV4rjXF --- mcp-server.mdx | 68 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 60 insertions(+), 8 deletions(-) diff --git a/mcp-server.mdx b/mcp-server.mdx index 1f17019f3..eb71064e8 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -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. @@ -34,6 +34,33 @@ Transport: Streamable HTTP. The docs tools need no authentication. The account tools use the MCP sign-in flow (OAuth): your AI tool opens a CometChat sign-in page the first time you use one. +## One-click install + +If your agent has a directory or a plugin marketplace, you do not need to paste +any configuration. + + + + Open CometChat in Claude's connector directory and add it. + + + Open CometChat in the Cursor Directory and install it. + + + +From a terminal, the plugin installs do the same thing: + +```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 +``` + +Either way 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) @@ -71,22 +98,34 @@ this the first time the agent calls an account tool. 3. The first time the agent uses an account tool, Cursor asks you to sign in to CometChat. -### Windsurf +### Windsurf (Devin Desktop) -1. Click the **Plugins** (hammer) icon → **Manage plugins** → **View raw config**. -2. Paste: +Windsurf's MCP documentation now lives in Devin's docs, and the in-app surface +is **Devin Desktop**'s agent customisation page. + +1. Open the **Customize** page from the **Agents** window and click **MCPs**. + Choose the scope with the **Install MCPs for** selector — for example + **This computer**. +2. Add CometChat under `mcpServers`: ```json { "mcpServers": { "cometchat": { - "serverUrl": "https://mcp.cometchat.com/mcp" + "url": "https://mcp.cometchat.com/mcp" } } } ``` -3. Save and click **Refresh**. +3. 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 +[Devin's MCP configuration](https://docs.devin.ai/cli/extensibility/mcp/configuration) +for the full field list. ### Visual Studio Code (Copilot Agent) @@ -109,6 +148,19 @@ Or add it to `.vscode/mcp.json` in your project: Any other MCP client that supports sign-in (OAuth) opens the CometChat sign-in page the first time the agent uses an account tool. +### Codex + +Install the plugin, which adds this server for you: + +```bash +codex plugin marketplace add cometchat/docs-mcp +codex plugin add cometchat@cometchat +``` + +Codex infers the transport from the URL, so no `type` is needed. To remove it +later, or to sign out of the account tools, use `codex mcp logout cometchat` +and `codex mcp remove cometchat`. + ### Lovable Add it as a custom MCP chat connector with **No authentication**, which gives From a8fdc330e31674ca968ec8febde93392bff106d2 Mon Sep 17 00:00:00 2001 From: rajdubey Date: Thu, 3 Dec 2026 15:47:20 +0530 Subject: [PATCH 2/5] docs(ENG-58742): drop the one-click directory cards, fix the Codex sign-out steps Review round 2 (Ketan, 2026-12-03): - Remove the Claude directory card: claude.com/marketplace/connectors/cometchat returns 404 because the listing is not live yet. - Remove the Cursor directory card: the listing now redirects to Grok Build, not a Cursor install. - Rename the section to "Install as a plugin" and keep the terminal installs. - Codex: drop the sentence about an omitted config block; state logout and remove in the same order as the commands. - US spelling: customization. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd --- mcp-server.mdx | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/mcp-server.mdx b/mcp-server.mdx index eb71064e8..47438f2a1 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -34,21 +34,10 @@ Transport: Streamable HTTP. The docs tools need no authentication. The account tools use the MCP sign-in flow (OAuth): your AI tool opens a CometChat sign-in page the first time you use one. -## One-click install +## Install as a plugin -If your agent has a directory or a plugin marketplace, you do not need to paste -any configuration. - - - - Open CometChat in Claude's connector directory and add it. - - - Open CometChat in the Cursor Directory and install it. - - - -From a terminal, the plugin installs do the same thing: +If your agent has a plugin marketplace, you do not need to paste any +configuration. From a terminal: ```bash # Claude Code @@ -58,7 +47,7 @@ claude plugin marketplace add cometchat/docs-mcp && claude plugin install cometc codex plugin marketplace add cometchat/docs-mcp && codex plugin add cometchat@cometchat ``` -Either way you get the same server at the same URL, docs tools included and +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 @@ -101,7 +90,7 @@ this the first time the agent calls an account tool. ### Windsurf (Devin Desktop) Windsurf's MCP documentation now lives in Devin's docs, and the in-app surface -is **Devin Desktop**'s agent customisation page. +is **Devin Desktop**'s agent customization page. 1. Open the **Customize** page from the **Agents** window and click **MCPs**. Choose the scope with the **Install MCPs for** selector — for example @@ -157,9 +146,8 @@ codex plugin marketplace add cometchat/docs-mcp codex plugin add cometchat@cometchat ``` -Codex infers the transport from the URL, so no `type` is needed. To remove it -later, or to sign out of the account tools, use `codex mcp logout cometchat` -and `codex mcp remove cometchat`. +To sign out of the account tools, run `codex mcp logout cometchat`. To remove +the server, run `codex mcp remove cometchat`. ### Lovable From 994dfd2c79d2a246e0c59a265909e5807e92e4f3 Mon Sep 17 00:00:00 2001 From: rajdubey Date: Fri, 4 Dec 2026 09:50:19 +0530 Subject: [PATCH 3/5] docs(ENG-58742): uninstall the Codex plugin with codex plugin remove `codex mcp remove cometchat` does not remove a plugin-provided server. Verified in an isolated CODEX_HOME with codex-cli 0.153.4: after `codex plugin add cometchat@cometchat`, `codex mcp remove cometchat` printed "No MCP server named 'cometchat' found." and the plugin stayed "installed, enabled"; `codex plugin remove cometchat@cometchat` exited 0 and the plugin became "not installed". `codex mcp logout cometchat` recognises the plugin's server, so the sign-out line stays. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XbguTtbbFDbCMhFp4XRZfm --- mcp-server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp-server.mdx b/mcp-server.mdx index 47438f2a1..6fb6d9418 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -147,7 +147,7 @@ codex plugin add cometchat@cometchat ``` To sign out of the account tools, run `codex mcp logout cometchat`. To remove -the server, run `codex mcp remove cometchat`. +the server, uninstall the plugin with `codex plugin remove cometchat@cometchat`. ### Lovable From 18132f6e1624710af948c14e1ff3dbab14c2b294 Mon Sep 17 00:00:00 2001 From: rajdubey Date: Fri, 4 Dec 2026 14:51:26 +0530 Subject: [PATCH 4/5] docs(ENG-58742): add the open-config-file step to the Windsurf flow Devin Desktop's customizations page says the This computer list lets you open the server config file; add that step before editing mcpServers and link the page as the source. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd --- mcp-server.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mcp-server.mdx b/mcp-server.mdx index 6fb6d9418..98397fe42 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -90,12 +90,14 @@ this the first time the agent calls an account tool. ### Windsurf (Devin Desktop) Windsurf's MCP documentation now lives in Devin's docs, and the in-app surface -is **Devin Desktop**'s agent customization page. +is **Devin Desktop**'s agent customization page +([Devin Desktop customizations](https://docs.devin.ai/desktop/devin-local/customizations)). 1. Open the **Customize** page from the **Agents** window and click **MCPs**. Choose the scope with the **Install MCPs for** selector — for example **This computer**. -2. Add CometChat under `mcpServers`: +2. In the **This computer** list, open the config file. +3. Add CometChat under `mcpServers`: ```json { @@ -107,7 +109,7 @@ is **Devin Desktop**'s agent customization page. } ``` -3. Save the file. +4. Save the file. The config file is `.devin/mcp_config.json` for one project or `~/.config/devin/mcp_config.json` for every project From 023da7c22508e9b8e3b1d5b91990f2c569eb82eb Mon Sep 17 00:00:00 2001 From: rajdubey Date: Fri, 4 Dec 2026 15:42:30 +0530 Subject: [PATCH 5/5] docs(ENG-58742): add the Codex sign-in command; keep the any-other-client note after the last OAuth client codex-cli 0.153.4 lists the plugin's server as 'Not logged in' (OAuth), and 'codex mcp login cometchat' signs in. The generic sign-in note sat after VS Code on main (the last OAuth client before Lovable); Codex was inserted after it, so it moves below Codex. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd --- mcp-server.mdx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mcp-server.mdx b/mcp-server.mdx index 98397fe42..f3389d90f 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -136,9 +136,6 @@ Or add it to `.vscode/mcp.json` in your project: } ``` -Any other MCP client that supports sign-in (OAuth) opens the CometChat sign-in -page the first time the agent uses an account tool. - ### Codex Install the plugin, which adds this server for you: @@ -148,8 +145,12 @@ codex plugin marketplace add cometchat/docs-mcp codex plugin add cometchat@cometchat ``` -To sign out of the account tools, run `codex mcp logout cometchat`. To remove -the server, uninstall the plugin with `codex plugin remove 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. ### Lovable