Skip to content

Conversation

@ebembi-crdb
Copy link
Contributor

Summary

  • Add MCP (Model Context Protocol) configuration to Kapa AI widget
  • Enable public access to CockroachDB documentation through MCP-compatible AI tools

Changes

Test plan

  • Verify MCP endpoint is accessible at https://cockroachdb.mcp.kapa.ai
  • Test MCP integration with compatible AI tools
  • Ensure existing Kapa widget functionality remains unchanged

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.
@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 626487a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69459c95568d02000841e47f

@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 626487a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69459c95a024730008735af9

@github-actions
Copy link

github-actions bot commented Dec 11, 2025

Files changed:

@netlify
Copy link

netlify bot commented Dec 11, 2025

Netlify Preview

Name Link
🔨 Latest commit 626487a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69459c952031c3000913b816
😎 Deploy Preview https://deploy-preview-21596--cockroachdb-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.

kikiya and others added 3 commits December 15, 2025 09:29
- 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
@ebembi-crdb ebembi-crdb requested a review from a team as a code owner December 15, 2025 17:39
kikiya and others added 2 commits December 15, 2025 15:48
- 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 rmloveland self-requested a review December 18, 2025 16:10
Copy link
Contributor

@rmloveland rmloveland left a 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


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
Copy link
Contributor

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

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.
Copy link
Contributor

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.
Copy link
Contributor

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

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
Copy link
Contributor

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

3. Search for "Claude MCP"
4. Add the following to your MCP configuration:

```json
Copy link
Contributor

Choose a reason for hiding this comment

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

this JSON block needs some indentation in order for the numbered list to render properly. Right now the numbering stops at 4 and restarts at 1 after the code block. I think 4 spaces should work

Screenshot 2025-12-18 at 11 26 48

2. Navigate to MCP Servers configuration
3. Add the CockroachDB Docs server:

```json
Copy link
Contributor

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)

2. Navigate to **Models** → **Model Context Protocol**
3. Add the following configuration:

```json
Copy link
Contributor

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)

ebembi-crdb and others added 5 commits December 18, 2025 22:08
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.
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.

3 participants