Skip to content

docs: add MCP server documentation#268

Merged
chris-absmartly merged 9 commits into
masterfrom
mcp-server-doc
Jun 4, 2026
Merged

docs: add MCP server documentation#268
chris-absmartly merged 9 commits into
masterfrom
mcp-server-doc

Conversation

@chris-absmartly
Copy link
Copy Markdown
Collaborator

@chris-absmartly chris-absmartly commented Jun 4, 2026

What

Adds a new MCP Server section under Product Documentation, mirroring the absmartly/mcp README.

Pages

  • Overview — what the MCP server is, quick install, the 4 tools
  • Setup — per-client setup with tabbed auth variants:
    Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini (CLI + Code Assist + Enterprise), ChatGPT, DXT extension
  • Authentication — API key vs OAuth, supported Authorization header formats, local stdio, security model
  • Tools Referencediscover_commands, get_command_docs, execute_command, get_auth_status, command groups, resources, prompts
  • Usage Examples — natural-language prompts mapped to MCP tool calls

Editorial notes

  • Long per-client README sections collapsed into @theme/Tabs with a shared groupId, so picking "OAuth" once selects it across every client section
  • GitHub-flavored callouts converted to Docusaurus admonitions
  • Cross-links between the 5 pages
  • VS Code / Cursor deeplinks (vscode:, vscode-insiders:, cursor://) wrapped in <BrowserOnly> — Docusaurus 2.4.3's broken-link checker doesn't recognize custom URI schemes, this defers rendering to the client
  • Screenshots copied from absmartly/mcp/docs/images/

Build

npm run build passes clean.

Follow-ups (not in this PR)

  • Troubleshooting section
  • "Your first experiment via MCP" walkthrough using ABsmartly screenshots
  • Cross-links from existing Experiments / Metrics docs into the MCP section
  • Reconcile the source repo's older docs/mcp-features.md (describes a previous 3-meta-tool architecture) with the current README

Summary by CodeRabbit

  • Documentation
    • Added comprehensive MCP server documentation including overview, authentication methods (API key and OAuth), and setup guides for multiple AI clients (Claude Desktop, Cursor, Windsurf, VS Code, Gemini, ChatGPT).
    • Added tools reference documentation and usage examples for interacting with the MCP server.

Mirror the absmartly/mcp README into Product Documentation:
- Overview, setup (per-client tabs), authentication, tools reference, usage examples
- Screenshots copied from the source repo
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 4, 2026

Deploy Preview for absmartly-docs ready!

Name Link
🔨 Latest commit a2a2617
🔍 Latest deploy log https://app.netlify.com/projects/absmartly-docs/deploys/6a21906449f33f000803f8ee
😎 Deploy Preview https://deploy-preview-268--absmartly-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Review Change Stack

Warning

Review limit reached

@chris-absmartly, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 13 minutes and 26 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 632bf4ac-726e-4a5f-970b-7a2b303e0252

📥 Commits

Reviewing files that changed from the base of the PR and between 6dcc773 and a2a2617.

⛔ Files ignored due to path filters (3)
  • docs/APIs-and-SDKs/MCP-Server/images/claude-desktop-add-custom-connector.png is excluded by !**/*.png
  • docs/APIs-and-SDKs/MCP-Server/images/claude-desktop-connectors.png is excluded by !**/*.png
  • docs/APIs-and-SDKs/MCP-Server/images/oauth-endpoint-prompt.png is excluded by !**/*.png
📒 Files selected for processing (12)
  • docs/APIs-and-SDKs/MCP-Server/_category_.json
  • docs/APIs-and-SDKs/MCP-Server/authentication.mdx
  • docs/APIs-and-SDKs/MCP-Server/overview.mdx
  • docs/APIs-and-SDKs/MCP-Server/quick-start.mdx
  • docs/APIs-and-SDKs/MCP-Server/setup.mdx
  • docs/APIs-and-SDKs/MCP-Server/tools-reference.mdx
  • docs/APIs-and-SDKs/MCP-Server/troubleshooting.mdx
  • docs/APIs-and-SDKs/MCP-Server/usage-examples.mdx
  • docs/APIs-and-SDKs/_category_.json
  • docs/APIs-and-SDKs/overview.mdx
  • docs/get-started.mdx
  • docusaurus.config.js

Walkthrough

This PR introduces a complete documentation suite for the ABsmartly MCP server across six new documentation files. A category configuration organises the new section at position 9. The overview page explains the server's core functionality and offers quick install guidance. A dedicated authentication page covers API key, OAuth, and local CLI credential methods alongside security model details. An extensive setup guide provides client-specific configuration instructions for nine platforms including Claude Desktop, Cursor, VS Code, and Gemini, with exported install URL constants for streamlined setup links. A tools reference documents the four exposed tools (discover_commands, get_command_docs, execute_command, and get_auth_status), available MCP resources, built-in prompts, and command group catalogue. Finally, a usage examples page demonstrates practical prompt patterns for common workflows and provides behavioural guidance for destructive operations and confirmation flows.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • marcio-absmartly
  • mario-silva
  • calthejuggler
  • bmsilva

Poem

🐰 Through docs so fine, the MCP way
Claude, Cursor, VS Code all play
With auth secure and setup clear,
Your experiments shall flourish here!
From tools to prompts, examples bright—
This documentation shines just right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: add MCP server documentation' accurately summarises the main change—adding comprehensive MCP Server documentation across five new pages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mcp-server-doc

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🧹 Nitpick comments (1)
docs/web-console-docs/mcp-server/authentication.mdx (1)

85-86: 💤 Low value

Consider adding a comma before "so" for clarity.

When "so" connects two independent clauses, British English style typically includes a comma for improved readability.

✨ Proposed refinement
-- **API error surfacing** — validation errors from the API are returned with
-  full detail so the assistant can correct them.
+- **API error surfacing** — validation errors from the API are returned with
+  full detail, so the assistant can correct them.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/mcp-server/authentication.mdx` around lines 85 - 86,
The sentence under the "API error surfacing" bullet is missing a comma before
"so"; update the text "- **API error surfacing** — validation errors from the
API are returned with full detail so the assistant can correct them." to insert
a comma before "so" so it reads "...with full detail, so the assistant can
correct them." to improve clarity and conform to British English punctuation.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/web-console-docs/mcp-server/overview.mdx`:
- Line 67: Change the noun "license" to British English "licence" in the
sentence that currently reads "The MCP server is open source under the MIT
license: see" so it becomes "The MCP server is open source under the MIT
licence: see"; update the same phrase wherever it appears in the document (look
for the exact string "MIT license" or "open source under the MIT license") to
maintain en-GB spelling consistency.
- Around line 16-17: The download link text "Download the DXT extension" points
to the URL https://mcp.absmartly.com/absmartly-mcp.dxt which currently returns
200, but we should validate it serves the expected installable file; update the
content or CI to perform an HTTP HEAD/GET check against that URL and assert
response headers like Content-Type (expected e.g. application/octet-stream or
the DXT-specific MIME) and Content-Disposition (attachment;
filename="absmartly-mcp.dxt") are present and correct, and then edit the
documentation line to mention that the link has been verified or fix the URL if
headers don’t match.

In `@docs/web-console-docs/mcp-server/setup.mdx`:
- Line 42: Multiple Tabs components use different groupId values so auth
selection doesn't persist across clients; unify their groupId to the same
identifier (e.g., replace differing groupId values with "claude-desktop-auth"
for all auth Tabs instances). Locate the Tabs elements (the Tabs component with
groupId attributes around the OAuth/auth selection blocks) and set the same
string for each groupId across the occurrences noted (lines referenced: Tabs
groupId="claude-desktop-auth" and the other auth tab groups) so tab state is
shared across clients.

In `@docs/web-console-docs/mcp-server/usage-examples.mdx`:
- Line 8: Replace the awkward phrase "connected in your AI assistant" with the
idiomatic "connected to your AI assistant" in the sentence that currently reads
"Once the MCP server is connected in your AI assistant (see [Setup](./setup)),",
updating that exact text in the docs file so it reads "Once the MCP server is
connected to your AI assistant (see [Setup](./setup))".

---

Nitpick comments:
In `@docs/web-console-docs/mcp-server/authentication.mdx`:
- Around line 85-86: The sentence under the "API error surfacing" bullet is
missing a comma before "so"; update the text "- **API error surfacing** —
validation errors from the API are returned with full detail so the assistant
can correct them." to insert a comma before "so" so it reads "...with full
detail, so the assistant can correct them." to improve clarity and conform to
British English punctuation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fe624b1c-353e-43e4-9640-afb55566095b

📥 Commits

Reviewing files that changed from the base of the PR and between eba1349 and 6dcc773.

⛔ Files ignored due to path filters (3)
  • docs/web-console-docs/mcp-server/images/claude-desktop-add-custom-connector.png is excluded by !**/*.png
  • docs/web-console-docs/mcp-server/images/claude-desktop-connectors.png is excluded by !**/*.png
  • docs/web-console-docs/mcp-server/images/oauth-endpoint-prompt.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • docs/web-console-docs/mcp-server/_category_.json
  • docs/web-console-docs/mcp-server/authentication.mdx
  • docs/web-console-docs/mcp-server/overview.mdx
  • docs/web-console-docs/mcp-server/setup.mdx
  • docs/web-console-docs/mcp-server/tools-reference.mdx
  • docs/web-console-docs/mcp-server/usage-examples.mdx

Comment thread docs/web-console-docs/mcp-server/overview.mdx Outdated
Comment thread docs/web-console-docs/mcp-server/overview.mdx Outdated

## Claude Desktop

<Tabs groupId="claude-desktop-auth">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use a shared groupId for auth tabs to enable cross-client sync.

These tabs currently use different groupId values, so selecting (for example) “OAuth” in one client section will not persist to others. If the intended behaviour is synced auth selection across sections, set the same groupId for all auth tab groups.

Also applies to: 129-129, 216-216, 296-296, 373-373, 474-474

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/mcp-server/setup.mdx` at line 42, Multiple Tabs
components use different groupId values so auth selection doesn't persist across
clients; unify their groupId to the same identifier (e.g., replace differing
groupId values with "claude-desktop-auth" for all auth Tabs instances). Locate
the Tabs elements (the Tabs component with groupId attributes around the
OAuth/auth selection blocks) and set the same string for each groupId across the
occurrences noted (lines referenced: Tabs groupId="claude-desktop-auth" and the
other auth tab groups) so tab state is shared across clients.


# Usage Examples

Once the MCP server is connected in your AI assistant (see [Setup](./setup)),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use idiomatic wording for connection state.

Line 8 reads awkwardly: “connected in your AI assistant”. “connected to your AI assistant” is clearer for end users.

Suggested edit
-Once the MCP server is connected in your AI assistant (see [Setup](./setup)),
+Once the MCP server is connected to your AI assistant (see [Setup](./setup)),
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Once the MCP server is connected in your AI assistant (see [Setup](./setup)),
Once the MCP server is connected to your AI assistant (see [Setup](./setup)),
🧰 Tools
🪛 LanguageTool

[uncategorized] ~8-~8: The preposition ‘to’ seems more likely in this position.
Context: ...mples Once the MCP server is connected in your AI assistant (see Setup...

(AI_HYDRA_LEO_REPLACE_IN_TO)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/mcp-server/usage-examples.mdx` at line 8, Replace the
awkward phrase "connected in your AI assistant" with the idiomatic "connected to
your AI assistant" in the sentence that currently reads "Once the MCP server is
connected in your AI assistant (see [Setup](./setup)),", updating that exact
text in the docs file so it reads "Once the MCP server is connected to your AI
assistant (see [Setup](./setup))".

Christophe Perrin added 8 commits June 4, 2026 16:02
- Quick Start: zero-to-running in 5 min via Claude Desktop + OAuth
- Troubleshooting: auth, connection, commands, performance
- Overview: add why-use-it section, positioning vs SDK/Web Console API
- Reorder sidebar: Overview, Quick Start, Setup, Auth, Usage Examples,
  Troubleshooting, Tools Reference
MDX v1 wrapped <BrowserOnly>{() => ...}</BrowserOnly> children as an
object, not a function, triggering Docusaurus's render-function guard.
Extract the deeplinks into component exports so the render function
is preserved.
- Rename sidebar label "APIs & SDKs" -> "Developer Tools"
- Move docs/web-console-docs/mcp-server/ -> docs/APIs-and-SDKs/MCP-Server/
- Slot MCP Server at position 4 in the section (after Platform API)
- Refresh Developer Tools overview to mention MCP

URL changes from /docs/web-console-docs/mcp-server/* to
/docs/APIs-and-SDKs/MCP-Server/*. Safe to do now: the MCP section
is not yet in master, so no external links point at the old paths.
Rewrite the section overview to actually describe what's inside:

- 4 subsections (SDK Guide, SDK API, Platform API, MCP Server) with
  what each contains and direct links to the most useful entry points
- "Which one should I use?" decision table
- "New to ABsmartly?" suggested reading path
- Mention LaunchPad + Product Documentation for non-developer paths
…I link

- Rename section heading "APIs & SDKs" -> "Developer Tools"
- Fix Platform API link (was incorrectly pointing at the Collector API)
- Add MCP Server to the section bullet list
- Update "what to do next" footer to match
@chris-absmartly chris-absmartly merged commit 4cbb87a into master Jun 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant