-
Notifications
You must be signed in to change notification settings - Fork 478
Enable MCP endpoint for Kapa AI widget #21596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add data-mcp-enabled and data-mcp-server-url attributes to the Kapa widget script to enable public MCP (Model Context Protocol) access. This allows users to interact with CockroachDB documentation through MCP-compatible AI tools without requiring authentication.
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
Files changed:
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Add search-as-you-type with Algolia autocomplete - Integrate 'Ask AI' button per Kapa guide - Enable search mode in widget (Chat + Search tabs) - Add MCP dropdown in navigation
…chdb/docs into enable-kapa-mcp-endpoint
- Create documentation page explaining the MCP server integration - Add setup instructions for multiple platforms (Cursor, VS Code, Claude Desktop, etc.) - Include example queries and troubleshooting section - Follow Kapa's documentation structure with CockroachDB-specific content
rmloveland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, couple suggestions and some small nits to fix
src/current/docs-mcp-integration.md
Outdated
|
|
||
| The CockroachDB Docs MCP (Model Context Protocol) server enables AI assistants like Claude Desktop, Cursor, and VS Code to access CockroachDB documentation directly. This allows you to get instant, context-aware answers about CockroachDB without leaving your development environment. | ||
|
|
||
| ## Create your own MCP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this section on building one's own MCP can be removed, it splits the focus of the page from the setup instructions for our MCP server
src/current/docs-mcp-integration.md
Outdated
| docs_area: reference | ||
| --- | ||
|
|
||
| The CockroachDB Docs MCP (Model Context Protocol) server enables AI assistants like Claude Desktop, Cursor, and VS Code to access CockroachDB documentation directly. This allows you to get instant, context-aware answers about CockroachDB without leaving your development environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest making "Model Context Protocol" in parens a link to https://modelcontextprotocol.io/introduction
| ### ChatGPT Desktop | ||
|
|
||
| {{site.data.alerts.callout_info}} | ||
| MCP support for ChatGPT Desktop is coming soon. Check back for updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wild that they still don't have this
src/current/docs-mcp-integration.md
Outdated
| 1. Ensure the configuration file is saved in the correct location | ||
| 2. Check for JSON syntax errors in your configuration | ||
| 3. Fully quit and restart your application (not just reload) | ||
| 4. Verify that `npx` is available in your system PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest wrapping PATH in backticks for code font
src/current/docs-mcp-integration.md
Outdated
| 3. Search for "Claude MCP" | ||
| 4. Add the following to your MCP configuration: | ||
|
|
||
| ```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/current/docs-mcp-integration.md
Outdated
| 2. Navigate to MCP Servers configuration | ||
| 3. Add the CockroachDB Docs server: | ||
|
|
||
| ```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as elsewhere re: the code block needs indentation to render properly (try 4 spaces)
src/current/docs-mcp-integration.md
Outdated
| 2. Navigate to **Models** → **Model Context Protocol** | ||
| 3. Add the following configuration: | ||
|
|
||
| ```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as elsewhere re: the code block needs indentation for the numbered list to render properly (try 4 spaces)
Based on feedback from @rmloveland: - Remove "Create your own MCP" section to maintain focus on setup instructions - Add link to Model Context Protocol documentation in the introduction - Fix code block indentation in numbered lists to preserve list continuity - Fixed indentation for Cursor, VS Code, Claude Code, and Claude Desktop sections - Removed blank lines between list items and code blocks - Added 4-space indentation to code blocks within list items - Wrap PATH in backticks for proper code formatting in troubleshooting section These changes improve document clarity, formatting consistency, and numbered list rendering.
- Rename page title from 'CockroachDB Docs MCP' to 'CockroachDB Docs MCP Server' - Polish content for clarity and consistency - Add 'Docs MCP Server' to Reference section sidebar in all versions (v21.2-v26.1) - Position entry after Cluster API in navigation hierarchy - Update section header from 'What you can do' to 'Capabilities'
The sidebar entries were added in the previous commit, but the build was failing because the actual page files didn't exist in the version directories. This adds the MCP documentation page to all version directories (v21.2 through v26.1) to match the sidebar entries and fix the build errors.

Summary
Changes
Test plan