ctx7@0.4.0

upstash/context7ctx7@0.4.0Apr 24, 2026by github-actions[bot]

AI Summary

A minor release introducing research mode for deep documentation answers and enhancing CLI capabilities with update and cleanup commands.

Key Highlights

  • Exposed research mode for deep documentation answers
  • Added `ctx7 upgrade` command for safer updates
  • Added `ctx7 remove` command for cleanup

New Features

  • Research mode
  • CLI update notifications
  • CLI upgrade command
  • CLI remove command

Full Release Notes

### Minor Changes

-   17b864f: Expose research mode through the MCP `researchMode` tool and the CLI `docs --research` flag for deep, agent-driven documentation answers.

### Patch Changes

-   4feee15: Add CLI update notifications and a new `ctx7 upgrade` command. The CLI now checks for newer versions with cached state, shows a non-blocking notice before interactive commands, and provides safer upgrade guidance across npm, pnpm, bun, and ephemeral runner setups.
-   f056b14: Add `ctx7 remove` as the cleanup counterpart to `ctx7 setup`, with safer detection and removal behavior. The command now prompts only for agents with actual Context7 artifacts, preserves non-Context7 MCP configuration when removing entries, and includes stronger test coverage for JSON and TOML cleanup.