Commit 3f057af
Claim Context7 library + fix MCP config for both assistants
Claim the Context7 library: add `url` + `public_key` to context7.json. This is
the `pk_` claim key, which Context7's claim flow explicitly has you commit and
push to the default branch for ownership verification.
Make the bundled MCP config keyless in both mcp.json (Cursor) and .mcp.json
(Claude Code), and correct the README key note.
The files previously forwarded the key with `${env:CONTEXT7_API_KEY}`, which is
Cursor-only syntax. Claude Code doesn't parse the `env:` prefix — it would send
the literal `${env:CONTEXT7_API_KEY}` string as the header and warn on every
startup. The validate-plugins gate also requires the two files to be
byte-identical, which per-tool key syntax makes impossible.
Keyless is correct in both tools, satisfies the byte-identical gate, and drops
the warning. The rate-limit key (ctx7sk-, a secret, not committable) has no
effect until Context7 fetching goes live, so it's wired via env var later,
alongside the .context7-library-id flip.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f1ffc91 commit 3f057af
4 files changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
0 commit comments