Skip to content

docs: enable the Kapa MCP server in the docs widget - #12915

Merged
naorpeled merged 5 commits into
masterfrom
claude/typeorm-mcp-docusaurus-bac06c
Sep 30, 2026
Merged

naorpeled merged 5 commits into
masterfrom
claude/typeorm-mcp-docusaurus-bac06c

Conversation

@naorpeled

@naorpeled naorpeled commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Description of change

Configures the Kapa docs widget to expose the TypeORM MCP server by adding data-mcp-enabled="true" and data-mcp-server-url="https://typeorm.mcp.kapa.ai" to the widget script tag in docs/docusaurus.config.ts.

Verified with a production build (pnpm run build in docs/, since the Kapa script is only injected when NODE_ENV === "production"): the generated build/index.html includes both attributes on the Kapa script tag, and with pnpm run serve the widget shows a "Use MCP" option.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links a relevant issue using a closing keyword: N/A
  • There are new or updated tests validating the change (tests/**.test.ts): N/A
  • Documentation has been updated to reflect this change (docs/docs/**.md): N/A

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (1) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Action required

1. Users lack guidance for the new MCP option 📘 Rule violation ⚙ Maintainability
Description
The Kapa widget now exposes the TypeORM MCP server through two new data attributes without adding
user-facing documentation. Anyone discovering the MCP option through the docs widget has no updated
usage or setup guidance in the documentation pages.
Code

docs/docusaurus.config.ts[R51-52]

+                      "data-mcp-subdomain": "typeorm",
+                      "data-mcp-server-name": "TypeORM MCP",
Evidence
The checklist requires docs or samples to be updated for user-facing changes. The diff adds
data-mcp-subdomain and data-mcp-server-name to the production docs widget, while the PR
checklist states that no documentation pages were updated.

Rule 2: Docs updated for user-facing changes
docs/docusaurus.config.ts[51-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The docs widget now exposes the TypeORM MCP server, but the user-facing documentation does not explain this new option or how to use it.
## Fix Focus Areas
- docs/docusaurus.config.ts[51-52]
- docs/docs/**.md[1-1]
## Recommended Fix
Add or update a user-facing documentation page under `docs/docs/` describing the TypeORM MCP server exposed by the Kapa widget, including its purpose and usage or setup guidance.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.

Grey Divider

Tip of the day
💡 Did you know, you can route each severity your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Deploying typeorm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 27de43e
Status:🚫  Build failed.

View logs

@naorpeled
naorpeled enabled auto-merge (squash) September 30, 2026 16:49
@naorpeled
naorpeled requested a review from gioboa September 30, 2026 16:52
@naorpeled
naorpeled merged commit 78ddeaf into master Sep 30, 2026
14 of 15 checks passed
@naorpeled
naorpeled deleted the claude/typeorm-mcp-docusaurus-bac06c branch September 30, 2026 17:33
@github-actions github-actions Bot added this to the 2.0.next milestone Sep 30, 2026
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.

2 participants