Context7 mcpb-v4.7.0
Search and read a library's source code at the version its documentation describes.
Share
Before you upgrade to mcpb-v4.7.0
2 to fix`resolveLibraryId` returns a no-libraries message for no matches; `queryDocs` returns a no-documentation message for unknown IDs. Other errors no longer append advice to check the API key.
Replace `/facebook/react` with `/reactjs/react.dev` in React documentation commands; the old ID redirects to another library and returns no documentation.
Read the evidence
For Vercel OIDC, pass your actual `store_…` or `ir_…` resource ID to `getIntegrationToken`, not `context7`. Use @vercel/integrations 0.1.2+ and a token-provider function for refresh.
Read the evidence
The documented API-key permission is now Write access: ordinary keys can read, while mutations require Write access. Some personal data also requires Write access.
What changed in mcpb-v4.7.0
`ctx7 search` and `ctx7 code` add cross-library documentation search and source inspection. MCP research preview adds `query-code`, `submit-docs-feedback` and paginated `get-upgrade-guide`; SDK 0.7.0 returns empty search results instead of 404 exceptions.
Also: Search docs across libraries from the CLI; preview paginated upgrade guides and docs feedback; configure Pi and T3 Code; preserve setup files; handle empty SDK searches.
CLI 0.11.1 needs Node.js 22.13+; MCP 4.7.0 needs Node.js 20.18.1+. MCP preview tools require `--research-preview` or `CONTEXT7_RESEARCH_PREVIEW=1` for stdio, or `?research_preview=1` on the HTTP URL.
New things you can do
`ctx7 code` and MCP `query-code` support `grep`, `definition`, `references`, `outline`, `read` and `list`; library results identify searchable source.
`get-upgrade-guide` arrives in 4.6.0; 4.7.0 adds `page`, migration details first, and retry timing for unavailable guides. A page beyond the end is not a tool error.
`submit-docs-feedback` accepts a score, issue and comment. Enabling research preview also adds server guidance requesting feedback after documentation-based answers.
`ctx7 setup --pi` and `ctx7 remove --pi` support project scope and `PI_CODING_AGENT_DIR`, preserving Pi's existing context-file precedence.
Read the evidence
`ctx7 setup --t3` configures both providers; `ctx7 remove --t3` removes their setup. Use `--claude` or `--codex` for one provider.
The tagged snapshot adds `open_console`, with a summary card and expanded console for usage, libraries, Docs7 traffic and Ask questions.
Read the evidence
Fixed and improved
`ctx7 search <query>` searches across libraries without resolving an ID first; `--library`, `--library-version`, `--language` and `--json` filter or format results.
Read the evidence
Stdio ignores unset API-key placeholders, falls back to `CONTEXT7_API_KEY`, and runs anonymously with a warning if neither is usable. Keys are trimmed; HTTP authentication is unchanged.
`resolve-library-id` retains the teamspace library-filter notice even when no libraries match.
Setup repairs misplaced OpenCode 2.x entries under `mcp.servers`, handles CRLF rule sections, and preserves Cursor/VS Code JSONC comments when an in-place edit is safe; unsafe edits still rewrite the file.
Removal finds OpenCode entries in both layouts and removes CRLF rule sections. Cursor/VS Code JSONC comments are preserved when an in-place edit is safe; unsafe edits still rewrite the file.
Canary users receive the update notice once the matching stable CLI version is released.
Read the evidence
Admin MCP adds library ownership/version management, Ask-site deletion and feedback reporting. Destructive tools show confirmation forms in clients supporting MCP elicitation; other clients use `confirm`.
Read the evidence
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.