search-console-mcp handles updates automatically.
Interactive Update Prompts
When running commands directly in an interactive terminal (TTY):- The CLI performs a quick version check in the background.
- If a newer version is available on npm, a notice appears:
- Pressing
Enterautomatically triggersnpm install -g search-console-mcpto update the package, after which the CLI exits so you can restart the tool. Pressing any other key skips the update and runs your command immediately.
Background Update Checking
To prevent network calls from adding latency to every execution, update checks are cached locally for 24 hours. The CLI only queries the npm registry if the cached check has expired, ensuring tool runs remain fast.Manual Update Command
If you want to force check and apply updates immediately, use the dedicatedupdate subcommand:
Agent-Facing Notifications
When running in MCP Server mode (over standard I/O inside Claude Desktop or Cursor), displaying interactive terminal prompts is disabled to prevent breaking communication protocols. Instead, if a new version is available:- The server appends a system notice to the bottom of the tool’s text response.
- This notice alerts the AI agent (e.g. Claude) that a newer version is available.
- The agent can then inform you during your chat session, recommending that you run the
npx search-console-mcp updatecommand in your terminal.
