Repository navigation
docs: enable Kapa WebMCP - #928
dannyneira wants to merge 1 commit into
Conversation
Load the official Kapa website widget script with data-webmcp-enabled so visiting agents can call search_warp_knowledge_sources. Hide only the default floating widget button so the custom React Ask chat stays the human entry point. No consent flow changes; CSP already allowlists the widget host. Co-Authored-By: Warp <agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR adds a Kapa WebMCP loader to the docs head, centralizes the widget attributes, documents the public env behavior, and adds focused tests for conditional emission and attribute values.
Concerns
- No blocking concerns found in the changed files.
- Security pass: no diff-tied security findings; the new script origin is already allowed by the existing CSP, and the integration ID remains public configuration.
- Spec alignment: no approved or repository spec context was provided, so no spec-drift review was applicable.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Summary
search_warp_knowledge_sourcestool.PUBLIC_KAPA_INTEGRATION_IDis configured.This follows Kapa's WebMCP launch guidance. Unsupported browsers ignore the WebMCP attribute and continue using the docs normally.
Related issues
None; source context: Kapa now supports WebMCP.
Validation
npm run test:kapa-webmcp- passed, 2/2 testsnpm run test:heading-vars- passed, 5/5 testsnpm run typecheck- passed with 0 errorsnpm run buildwithPUBLIC_KAPA_INTEGRATION_IDconfigured - passednpm run test:homepage-json-ld- passednpm run test:heading-tocs- passed, 3,381 TOC entries across 397 HTML filesdata-webmcp-enabled="true"anddata-button-hide="true"Screenshots
Not applicable; this intentionally adds no visual UI and preserves the existing custom Ask AI entry points.
Follow-ups
Co-Authored-By: Warp agent@warp.dev
Warp artifacts