Repository navigation
docs(ai): refresh MCP Integration page for docs-mcp v0.1.6 and add AI-agent + Docs MCP sections to every UI Kit - #530
ketanyekale wants to merge 4 commits into
Conversation
- Transport is Streamable HTTP, not SSE. Drop "type": "sse" from the Windsurf snippet and the SSE choice from the VS Code steps. - List all four tools, including list_cometchat_bundles, as the server describes them in v0.1.6. - Claude: lead with the connector directory listing (claude.com/connectors/cometchat) and keep the custom connector as the fallback, using the current Customize > Connectors menus. - Add Claude Code and Codex steps, and one-click install links for Cursor and VS Code. - Windsurf is now Devin Desktop: point to its current config file and use "url", which both of its agents accept. - Fix the Source link text (github.com/cometchat/docs-mcp) and replace the "always in sync" claim with how the search index refreshes. - React UI Kit v6 overview: point the Docs MCP accordion at https://mcp.cometchat.com/mcp instead of Mintlify's auto-generated /docs/mcp server, and drop "type": "sse". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
React v7, Angular v5, Android v6 and Flutter V6 had no AI-agent section at all — the pattern only ever landed on the superseded v6/v5/v4 pages, so the deprecated docs had better AI onboarding than the current ones. Adds the full "Integrate with AI Coding Agents" section plus the Docs MCP accordion to those four, with the correct target version, detection story and credentials file per platform. - React Native v5 and iOS v5 already had the section; they get the MCP accordion and the AI Skills quick-reference row. - Vue and Kotlin get the standalone MCP accordion only. agent-skills.mdx lists six supported platforms and neither is one, so a Skills section there would be a false promise; the Docs MCP does index their pages. - Standardises the MCP server name on `cometchat-docs` across mcp-server.mdx (CLI commands, all four JSON/TOML blocks, and name= in all five one-click install URLs) so following the page no longer mounts a second copy of the server the Skills installer already registered. - Corrects "the skill handles it without the MCP": per agent-skills.mdx the installer wires the MCP up by default for Claude Code, Cursor, Gemini and Codex, with --no-mcp to opt out. - Replaces the unsupported "30+ more agents" claim on the current overviews with the 11 agents that agent-skills.mdx and the cometchat-skills README actually list. 14 legacy/integration pages still carry the old claim and are left for a separate pass. - Fixes the "Claude" -> "Claude Desktop" pointer wording. Verified: all ten files compile under @mdx-js/mdx, and every internal link and heading anchor in them resolves. `mint broken-links` is still blocked by the pre-existing parse error at sdk/react-native/authentication-overview.mdx:16, which #527 fixes.
… overview Follow-up to the platform rollout, fixing three regressions that commit introduced plus one long-standing inaccuracy. - Normalise the "30+ more agents" claim in all 16 places, not just the two current overviews touched earlier. Neither agent-skills.mdx nor the cometchat-skills README supports "30+"; the half-done state left the iOS overview and the iOS getting-started guide disagreeing one click apart. All now name the 11 documented agents and link to /agent-skills#supported-agents. - Add the push-notifications bullet to the React v7, Angular and iOS iteration menus. agent-skills.mdx:188-193 lists a `push` skill for all six platforms, so three pages advertising push and three not was arbitrary. - Correct the iOS credentials file to `Secrets.xcconfig`, matching agent-skills.mdx:146; the page said "Secrets.swift or .xcconfig". - Delete ui-kit/kotlin/overview.mdx and redirect it to /ui-kit/android/getting-started-kotlin. The page is absent from docs.json navigation, has no redirect, and documents a v3-era kit superseded by the Kotlin and Jetpack getting-started guides. The redirect keeps the live URL and its three inbound links working. Verified: every changed .mdx compiles under @mdx-js/mdx; every internal link and heading anchor in the PR resolves; the docs.json diff is the single new redirect, with all 49 U+200E version-label marks intact.
… stub sdk/android/3.0/kotlin-overview.mdx is a nav entry whose entire content is a `url:` frontmatter pointer. The value was unquoted, carried a stray trailing quote and a /docs/ prefix, which sent readers to a 404 on production: https://www.cometchat.com/docs/sdk/android/3.0/kotlin-overview -> 307 -> https://www.cometchat.com/docs/docs/ui-kit/kotlin/overview" It now points at /ui-kit/android/getting-started-kotlin, quoted, matching the other 58 internal `url:` values in the repo. Pointing at the live target rather than the redirect this PR adds avoids a needless hop. This was the last malformed `url:` frontmatter on the site.
raj-dubey1
left a comment
There was a problem hiding this comment.
This is still needed. Main's mcp-server.mdx still describes the transport as HTTP with Server-Sent Events and gives a "type": "sse" Windsurf config. I checked the live server at mcp.cometchat.com/mcp (docs-mcp 0.1.6): it speaks Streamable HTTP only, exposes 4 read-only tools with outputSchema, and has 10 bundles plus the skills overview resource. That matches this PR. The Claude Code, Codex and connector-directory steps, and the per-platform AI-agent sections, are not on main yet. Removing ui-kit/kotlin/overview.mdx is safe: it is not in nav, and the redirect you add covers its two inbound links. The sdk/android/3.0/kotlin-overview.mdx url fix is still needed.
Blocking: the branch conflicts with main and needs a rebase.
- docs.json: keep main's new chat-builder redirects and also your /ui-kit/kotlin/overview redirect. The deletion depends on that redirect.
- mcp-server.mdx auto-merges but ends up with two list_cometchat_bundles cards under "Four tools", because main added one in 96a51b5. Drop one, and keep main's Lovable section.
- #568 also rewrites the bundles section, saying bundles are built from doc pages and adding angular-uikit-quickstart, which conflicts with this PR's "ten curated bundles" wording. The live server matches this PR today. Please agree with that PR's author on which wording lands.
Non-blocking points are inline.
|
|
||
| ### Claude (Desktop or claude.ai) | ||
| <Note> | ||
| If you installed [CometChat Agent Skills](/agent-skills), the installer already |
There was a problem hiding this comment.
This reads as if any Agent Skills install already connected the server. npx @cometchat/skills add only writes the cometchat-docs entry for Claude Code, Cursor, Gemini and Codex, and not when --no-mcp is passed. Suggest: "If you installed Agent Skills for Claude Code, Cursor, Gemini or Codex, the installer already added this server as cometchat-docs (unless you passed --no-mcp)."
|
|
||
| Every tool returns structured results that match a declared output schema. | ||
|
|
||
| ### Ten curated implementation bundles |
There was a problem hiding this comment.
| { "mcpServers": { "cometchat-docs": { "url": "https://mcp.cometchat.com/mcp" } } } | ||
| ``` | ||
|
|
||
| No authentication required. `npx @cometchat/skills add` wires this up automatically for Claude Code, Cursor, Gemini, and Codex (pass `--no-mcp` to skip it) — add it by hand only for the other agents. For Claude Desktop, VS Code, and Codex, see [MCP Integration](/mcp-server). |
There was a problem hiding this comment.
Codex appears both in the auto-wired list and in "For Claude Desktop, VS Code, and Codex, see MCP Integration". Suggest "For Claude Desktop, VS Code, and other agents, see MCP Integration." The same sentence is on every platform overview.
Description
Started as a correction to the MCP Integration page for docs-mcp v0.1.6, and grew to cover the gap that fix exposed: the AI-agent guidance only existed on superseded pages, so the deprecated docs had better AI onboarding than the current ones.
1. MCP Integration page — brought in line with docs-mcp v0.1.6 (live on https://mcp.cometchat.com/mcp since 2026-09-22)
GET /mcpis 405,/sseis 404), so the SSE wording and"type": "sse"are removed.list_cometchat_bundles.url, which both of its agents accept.github.com/cometchat/cometchat-mcp, which 404s) and replaces the "always in sync" claim.cometchat-docs— the namenpx @cometchat/skills addalready registers — across the CLI commands, all four JSON/TOML blocks, and thename=parameter of all five one-click install links. Following the page no longer mounts a second copy of a server the reader already has.2. AI-agent + Docs MCP sections on every current UI Kit overview
React v7, Angular v5, Android v6 and Flutter V6 had no AI-agent section at all — the pattern had only ever landed on the v6/v5/v4 pages it replaced. Each of the six now carries an Integrate with AI Coding Agents section and a Recommended: CometChat Docs MCP accordion, written per platform from
agent-skills.mdx: correct target version, detection story, iteration menu, and credentials file (.envprefix ·environment.ts·Secrets.xcconfig·cometchat-settings.json·pubspec.yamlasset).3. Accuracy fixes found along the way
agent-skills.mdxnor thecometchat-skillsREADME supports "30+". Corrected in all 16 places so the claim is consistent site-wide, now linking to/agent-skills#supported-agentsinstead of the repo.agent-skills.mdx, the installer wires the MCP up by default for Claude Code, Cursor, Gemini and Codex (--no-mcpopts out). Corrected in all nine accordions.agent-skills.mdxlists apushskill for all six platforms, so the menus now match.Secrets.xcconfig(the page said "Secrets.swiftor.xcconfig").4. Removes the orphaned Kotlin UI Kit overview
ui-kit/kotlin/overview.mdxis not indocs.jsonnavigation, has no redirect, and documents a v3-era kit superseded by/ui-kit/android/getting-started-kotlinand/ui-kit/android/getting-started-jetpack. Deleted, with a redirect to the Kotlin getting-started guide so the live URL and its three inbound links keep working.Also repairs
sdk/android/3.0/kotlin-overview.mdx, a stub in navigation whose malformedurl:frontmatter (url: /docs/ui-kit/kotlin/overview"— unquoted, stray trailing quote,/docs/prefix) was already sending readers to a 404 on production today:It now reads
url: "/ui-kit/android/getting-started-kotlin", matching the format of the other 58 internalurl:values in the repo. That was the last malformedurl:frontmatter on the site.Related Issue(s)
None.
Type of Change
Checklist
vscode:by design)Additional Information
Verified:
.mdxcompiles under@mdx-js/mdx, including the nested code fences inside<Accordion>.GET /mcp→ 405,GET /sse→ 404,initializereportsserverInfo.version 0.1.6. The four tool names matchsrc/tools/*.tsand the ten bundles matchbundles/*.mdone-for-one.Not fixed here (pre-existing on
main, flagged for a follow-up): dead heading anchors atui-kit/angular/v4/getting-started.mdx:185,198,ui-kit/react-native/expo-integration.mdx:71,251,ui-kit/react-native/react-native-cli-integration.mdx:67,303, andui-kit/ios/core-features.mdx:119.mint broken-linksstill stops on the existing parse error insdk/react-native/authentication-overview.mdx:16, which this PR does not touch and #527 fixes; the two checks above stand in for it.Screenshots (if applicable)
N/A (text only).