fix: make hosted MCP connector compatible with Claude and Grok - #2334
Open
richiemcilroy wants to merge 2 commits into
Open
richiemcilroy wants to merge 2 commits into
richiemcilroy wants to merge 2 commits into
Conversation
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
http://localhost:<port>OAuth callbacks for native MCP clients. Claude Code 2.1.278 uses this callback and currently receivesinvalid_client_metadatafrom Cap during dynamic client registration.openWorldHint: falsefor the three read-only, owned-library tools, as required by OpenAI's public plugin submission checklist.https://grok.comas a browser origin for the hosted endpoint.Validation
127.0.0.1callback returned 201.claude mcp login cap-hosted-testagainst production failed at registration with HTTP 400 before user consent. Claude Code's bundled OAuth client metadata uses alocalhostcallback; the existing Cap validation and unit test rejected it.git diff --checkpassed.Rollout
After deployment, retry Claude Code OAuth, tool discovery, and a read-only tool call with an account containing a test recording before submitting to host directories.
The PR appears safe to merge with no actionable correctness, security, or repository-rule issues identified.
Summary
This PR improves hosted MCP interoperability with Claude and Grok while refining read-only tool metadata.
http://localhost:<port>OAuth redirect URIs while preserving strict redirect validation and exact matching.https://grok.combrowser origin without weakening bearer-token authentication.openWorldHint: false.Reviews (1) · Last reviewed commit: "fix: make hosted MCP connector compatibl..."