Skip to content

docs(ENG-58742): add plugin install, Codex and the current Windsurf flow to the MCP page - #657

Open
raj-dubey1 wants to merge 6 commits into
mainfrom
docs/ENG-58742-mcp-install-clients
Open

raj-dubey1 wants to merge 6 commits into
mainfrom
docs/ENG-58742-mcp-install-clients

Conversation

@raj-dubey1

@raj-dubey1 raj-dubey1 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

What this does

Adds the three genuinely useful pieces of #595 to mcp-server.mdx, re-checked against what
docs-mcp v0.2.1 actually ships rather than against #595's copy (which describes v0.1.7):

  • ## Install as a plugin (Claude Code and Codex CLI)
  • ### Codex (and the Codex CLI config)
  • ### Windsurf (Devin Desktop) — replaces the stale ### Windsurf block

Why a new PR instead of #595

#595 rewrote the page against v0.1.7 and in doing so removed the cometchat_* tool reference and
the Signing in / Confirmations / Disconnecting / Privacy sections — the parts of this page that
agents read most. Ketan confirmed on 2 December that #595 should be closed in favour of this.

Non-removal is proved mechanically, not asserted:

Check base (main) head
cometchat_* table rows 48 48
distinct cometchat_* names 50 50
Signing in / Confirmations / Disconnecting / Privacy present present

The whole diff is 50 insertions / 8 deletions; all 8 deletions are the reworded frontmatter
description and intro, plus the old ### Windsurf block that ### Windsurf (Devin Desktop)
replaces.

Dropped from #595 deliberately

Not supported by v0.2.1, so not published: the cursor.com/install-mcp and insiders.vscode.dev
deep links, codex mcp add cometchat --url, the ~/.codex/config.toml block, and the claim that
the CLI, IDE and ChatGPT desktop share one configuration.

Ticket: ENG-58742

Ketan's review (2026-12-03): Codex uninstall command (994dfd2)

mcp-server.mdx told Codex users to remove the server with codex mcp remove cometchat. That does not remove a server installed by the plugin. It now reads:

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.

Verified with codex-cli 0.153.4 in an isolated CODEX_HOME: install the plugin; codex mcp remove cometchat leaves the server listed; codex plugin remove cometchat@cometchat removes it; codex mcp logout cometchat recognises the plugin's server.

Evidence: every URL in the PR returns 200 (mcp.cometchat.com/mcp: 405 on GET, 200 on a POST initialize, as an MCP endpoint should). The earlier review items are still fixed.

Aditya's review (2026-12-04) (18132f6)

  • The Windsurf flow now has a step to open the config file from the This computer list before adding mcpServers, and links Devin Desktop customizations as the source. That page says: "This computer lists the servers your local agent loads… Toggle a server on or off, open its config file, or refresh the list."
  • Title and this description updated: "Install as a plugin" replaced "One-click install"; diff is 50/8.
  • Checks at 18132f6: docs-linkcheck --base origin/main PASS; mint broken-links reports only the existing sdk/android/v4/ai-chatbots-overview.mdx link that is also broken on main.

Known issues (outside this PR)

  • docs-mcp src/dashboard/oauth.ts:756 still tells Codex users codex mcp remove. Needs a docs-mcp change.
  • docs-mcp README.md:45 still has the old hammer-icon Windsurf flow. Needs a docs-mcp change.
  • ui-kit/react/v6/overview.mdx:72-82 uses the name cometchat-docs and www.cometchat.com/docs/mcp. Separate docs fix.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XbguTu9in5yKt5CNV4rjXF

…rf flow to the MCP page

Salvages the three genuinely new items from #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=<base64> and
   insiders.vscode.dev/redirect/mcp/install?...&config=<urlencoded> 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTu9in5yKt5CNV4rjXF
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cometchat 🟢 Ready View Preview Dec 4, 2026, 10:12 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: request changes (the One-click install cards)

The additions match docs-mcp v0.2.1, and the rest of the page is untouched (tool table and Signing in / Confirmations / Disconnecting / Privacy all still present). The new One-click install cards don't do what they say: the Claude card is a 404, and the Cursor card no longer lands on a Cursor install.

Blocking

  • mcp-server.mdx — One-click install → Claude card links to https://claude.com/marketplace/connectors/cometchat, which returns 404. The URL pattern is right (/marketplace/connectors/notion returns 200), but CometChat isn't listed in the directory yet: cometchat/docs-mcp's SUBMISSION.md still describes the directory submission as pending. Fix: drop the Claude card (or swap it for the custom-connector steps under Connect from your agent → Claude) until the listing is live, then add it back.
  • mcp-server.mdx, One-click install, Cursor card: cursor.directory/plugins/cometchat now redirects to grok-build.directory/plugins/cometchat. The CometChat listing there offers "Add to Grok Build", not a Cursor install, so "Open CometChat in the Cursor Directory and install it" is no longer accurate. Point the card at Cursor's own install path (or the Connect from your agent → Cursor steps), or drop it.

Non-blocking

  • ### Codex: "Codex infers the transport from the URL, so no type is needed" refers to a config block that was dropped from this PR. Remove the sentence, or add the config back.
  • ### Codex: "To remove it later, or to sign out … use codex mcp logout cometchat and codex mcp remove cometchat" gives the commands in the opposite order to the prose. Swap one or the other.
  • "customisation" (British spelling); the rest of the page uses US spelling.
  • #639 also edits mcp-server.mdx. Whichever merges second will need a quick rebase.

Checks passed: 0 dangling nav refs, 0 removed URLs, 0 broken internal links, Claude Code plugin command matches docs-mcp .claude-plugin/marketplace.json (cometchat@cometchat), Devin MCP docs link resolves. The −77 redirect delta is only the branch being behind main (docs.json isn't in this PR).

Review drafted with Claude Code.

…gn-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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd
@raj-dubey1

Copy link
Copy Markdown
Contributor Author

@ketanyekale thanks — all addressed in a8fdc33, ready for re-review.

Blocking

  • Claude card (404): removed. Re-checked: claude.com/marketplace/connectors/cometchat still returns 404 today. It goes back once the directory listing is live.
  • Cursor card (redirects to Grok Build): removed. The section is now Install as a plugin and keeps only the terminal installs (Claude Code and Codex plugin commands, unchanged). The per-agent Connect from your agent → Cursor steps still cover Cursor.

Non-blocking

Checks: mint broken-links → "success no broken links found" (exit 0). The #one-click-install anchor isn't referenced anywhere in the repo, so renaming the heading breaks no link.

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the plugin uninstall command in mcp-server.mdx:149–150 to codex plugin remove cometchat@cometchat. After a successful install in an isolated profile, codex mcp remove cometchat reported no matching server and left the plugin enabled. The plugin removal command succeeded.

`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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTtbbFDbCMhFp4XRZfm
ketanyekale
ketanyekale previously approved these changes Dec 4, 2026

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the documented Codex commands in a clean profile. Installation enables the MCP server and plugin removal removes it from the server list.

@raj-dubey1 raj-dubey1 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mechanical verdict: approve (no blocking issues). I can't approve my own PR on GitHub, so this is a comment review.

The page content checks out against what docs-mcp v0.2.1 ships and against the tools themselves. Three small points below, none blocking.

Introduced by this PR

  1. F1 Minor, mcp-server.mdx:95-117, Windsurf (Devin Desktop) steps never say which file to edit. Step 1 opens Customize > MCPs. Step 2 says "Add CometChat under mcpServers" and step 3 says "Save the file". No step says to open the config file. The paths only appear after step 3. Devin Desktop's own page says the This computer list lets you open a server's config file. Fix: say "open the config file for that scope" in step 1 or 2, and put the path paragraph before the JSON.
  2. F2 Minor, mcp-server.mdx:37, the PR title and body promise a "One-click install" section that is not on the page. ENG-58742 criterion 2 names ## One-click install. After the earlier review the cards were removed (the Claude card 404ed) and the section became ## Install as a plugin. The removal was right. Retitle the PR and fix the body, and update ENG-58742 criterion 2 to match (Ketan asked for the cards to be removed on 3 Dec and approved the result on 4 Dec), or restore one-click links when the Claude directory listing is live.
  3. F3 Nit, mcp-server.mdx:137-140, Codex gives sign-out but not sign-in, and the "Any other MCP client" sentence now sits above it. codex mcp login exists in codex-cli 0.153.4, so one sentence on signing in would match the Claude Code and Cursor sections. Move lines 137-138 to the end of the client list. Whether Codex prompts for sign-in by itself was not tested (unverified).

Pre-existing / not touched by this PR

  • mint broken-links reports 1 broken link on main: sdk/android/v4/ai-chatbots-overview.mdx -> /ai-chatbots/overview. The file is not in this PR. Minor. Recommend a ticket. It does not block.

What was verified (all passed)

  • Codex, run in an isolated CODEX_HOME with codex-cli 0.153.4: codex plugin marketplace add cometchat/docs-mcp and codex plugin add cometchat@cometchat install the server at https://mcp.cometchat.com/mcp. codex mcp remove cometchat does not remove it. codex mcp logout cometchat recognises it. codex plugin remove cometchat@cometchat removes it.
  • Claude Code, run in an isolated config dir: claude plugin marketplace add cometchat/docs-mcp and claude plugin install cometchat@cometchat install version 0.2.1.
  • Plugin manifests at tag v0.2.1 use the same server URL as the page.
  • Windsurf (Devin Desktop): checked against docs.devin.ai/desktop/cascade/mcp (where docs.windsurf.com/windsurf/cascade/mcp now redirects) and the linked CLI configuration page. The Customize > MCPs flow, the Install MCPs for selector, the three config paths, the Windows path, the gitignored local override and the url field all match docs.devin.ai.
  • Tool table: 48 cometchat_* rows on base and on head. Signing in, Confirmations, Disconnecting and Privacy sections are all still there.
  • URLs: docs.devin.ai MCP configuration 200, app.cometchat.com 200, mcp.cometchat.com/mcp GET 405 and POST initialize 200.
  • The old #windsurf anchor has no inbound references (git grep 'mcp-server#' and docs.json).

Gates

  • python3 -I -c "import json;json.load(open('docs.json'))" -> exit 0
  • mint broken-links -> exit 1 (one pre-existing broken link outside this PR; the same command on main df5c565 also exits 1 with the same link; none in mcp-server.mdx)
  • docs-linkcheck --base df5c5650 --port 3972 . -> exit 0, PASS
  • analyze_docs_pr.py --pr 657 -> exit 0, no moves, renames or deletes, no docs.json change
  • review-ledger.py gate -> exit 0, complete

Scope: round 1, head 9bfa819, base df5c565, 1 file reviewed in full (mcp-server.mdx).

Reviewed with Claude Code (Sonnet reviewer, findings checked at the cited lines). Ledger: round 1 frozen.

@adityagokula2210 adityagokula2210 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve, with small fixes. Reviewed at 9bfa819b. The plugin commands, cometchat@cometchat and the url key match docs-mcp v0.2.1, and nothing else on the page changed. I also checked the Windsurf section against Devin's docs: Devin Desktop reads the same files as the CLI (.devin/mcp_config.json, .devin/mcp_config.local.json, ~/.config/devin/mcp_config.json), so the paths are right.

Before merge:

  1. The title and description still describe the removed "One-click install" section. The section is now "Install as a plugin", and the diff is 48 / 8, not 60 / 8. Please retitle, for example "add plugin install, Codex and the current Windsurf flow to the MCP page", and update the body, since a squash merge keeps the title as the commit subject.
  2. Windsurf section:
    • Cite the desktop page (https://docs.devin.ai/desktop/devin-local/customizations) next to or instead of the CLI page at mcp-server.mdx:116.
    • Step 3 "Save the file" (:110) needs a step that opens it. On the MCPs tab, This computer lets you open the config file.

Follow-ups (not for this PR):

  • The server's disconnect page, which :357 links, still tells Codex users to run codex mcp remove, which doesn't remove a plugin install (cometchat/docs-mcp src/dashboard/oauth.ts, disconnectPage()).
  • The docs-mcp README still shows the old Windsurf hammer-icon flow, and ui-kit/react/v6/overview.mdx:77-80 uses a different server name and URL. Worth aligning.
  • Optional: the Codex commands appear twice (:47 and :145-146).

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd
@raj-dubey1 raj-dubey1 changed the title docs(ENG-58742): add one-click install, Codex and the current Windsurf flow to the MCP page docs(ENG-58742): add plugin install, Codex and the current Windsurf flow to the MCP page Dec 4, 2026
@raj-dubey1

Copy link
Copy Markdown
Contributor Author

@adityagokula2210 thanks. Fixed in 18132f6.

  • Windsurf (Devin Desktop). There is now a step to open the config file from the This computer list before adding mcpServers. The section links Devin Desktop customizations as the source. That page says the This computer list lets you "Toggle a server on or off, open its config file, or refresh the list."
  • Title and description. The title is now "add plugin install, Codex and the current Windsurf flow to the MCP page". "Install as a plugin" replaces "One-click install" in the description, and the diff is 50 insertions / 8 deletions.
  • Checks at 18132f6. docs-linkcheck PASS. mint broken-links reports only the sdk/android/v4/ai-chatbots-overview.mdx link that is also broken on main.

Known issues (outside this PR)

ketanyekale
ketanyekale previously approved these changes Dec 4, 2026

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Windsurf instructions now tell readers to open the config file under This computer before editing, consistent with the linked Devin Desktop documentation. The title describes plugin installation and the previously tested Codex commands are unchanged.

…ient 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTvmgXRuAZGjBjcjyxd
@raj-dubey1

Copy link
Copy Markdown
Contributor Author

Pushed 023da7c:

  • Codex sign-in: the Codex section now says how to sign in to the account tools (codex mcp login cometchat), sign out, and remove the plugin. I checked this with codex-cli 0.153.4: the plugin's server shows "Not logged in" until you sign in.
  • "Any other MCP client" paragraph: moved below the client list, after Codex and before Lovable, where it sits on main.

@raj-dubey1

Copy link
Copy Markdown
Contributor Author

@adityagokula2210 @ketanyekale ready for re-review at 023da7c.

Known, outside this PR: the three items under "Known issues (outside this PR)" in the description: the docs-mcp oauth.ts Codex message, the docs-mcp README Windsurf steps, and ui-kit/react/v6/overview.mdx. They need separate changes.
Merge order: #642 → #641 → #657 → #639 → #655 → #659.

@raj-dubey1

Copy link
Copy Markdown
Contributor Author

The two docs-mcp known issues (the Codex removal command on the disconnect page, and the README Windsurf steps) are fixed in cometchat-team/docs-mcp#76. The only known issue left outside this PR is ui-kit/react/v6/overview.mdx.

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the explicit Codex OAuth login syntax against the CLI in a clean profile. Install, logout and plugin removal remain consistent with the verified commands. The generic OAuth note now follows the client-specific instructions.

@adityagokula2210 adityagokula2210 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. Re-reviewed at 023da7c2.

  • The title and description now match the change.
  • The Windsurf flow has the open-config-file step.
  • The Codex sign-in, sign-out and plugin-removal commands match docs-mcp v0.2.1.

Optional, before or after merge:

  • The Codex plugin has a removal step (:150), but the Claude Code plugin install (:44) has none. Under Disconnecting, the only Claude Code step (:357) is "Clear authentication", which was written for the claude mcp add route. Add one line after the install block, e.g. claude plugin uninstall cometchat@cometchat, after checking the subcommand once.
  • Windsurf step 1 gives This computer only as an example. Step 2 then assumes it. Write "choose This computer", or make step 2 scope-neutral.
  • ### Codex (:139) uses only codex CLI commands. ### Codex CLI matches the label at :46.

@raj-dubey1

Copy link
Copy Markdown
Contributor Author

@adityagokula2210 I checked all three optional points at 023da7c2. Each one holds:

  • Claude Code plugin removal. claude plugin uninstall|remove <plugin> exists (claude plugin --help, Claude Code 2.1.336). The only Claude Code step under Disconnecting (:357) is "Clear authentication", so a removal line is missing.
  • Windsurf. Step 1 gives This computer only as an example (:97-98), and step 2 (:99) assumes it was chosen.
  • ### Codex (:139) uses only codex CLI commands, and the label at :46 is Codex CLI. Nothing in the repo links mcp-server#codex, so renaming it breaks no anchor.

Both approvals are on this head, and you marked these optional, so I'm leaving this PR as it is. The three changes go in a follow-up commit after merge, under ENG-58742.

This branch was successfully deployed

1 active deployment
staging — 023da7c2 Deployed Dec 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants