ctx7-2660: support EMA through Claude Code plugin - #3135
Open
fahreddinozcan wants to merge 9 commits into
Open
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
|
Docs7 for context7.com
Commit |
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
https://mcp.context7.com/mcp?client=claude-code-pluginHow it works
The
client=claude-code-pluginquery marks marketplace traffic and makes authentication mandatory. It does not select EMA itself.The shared protected-resource metadata advertises both authorization servers. Claude uses Context7 JWT-bearer and ID-JAG when managed authorization is enabled for the organization; otherwise it uses interactive Clerk OAuth. Context7 validates JWTs by issuer, including EMA signature and audience validation against the shared MCP resource.
The runtime path is the composition of the merged Claude Code plugin authentication work in #3028 and the existing Context7 EMA token support. No parallel request handler or
/mcp/emaendpoint is added.Verification
/mcp?client=claude-code-pluginquery-docsexecutionpnpm --filter @upstash/context7-mcp lint:checkpnpm --filter @upstash/context7-mcp typecheckpnpm --filter @upstash/context7-mcp test— 71 tests passedpnpm --filter @upstash/context7-mcp build