Skip to content

docs: restart the AI client after upgrading (MCP servers don't hot-reload)#76

Merged
rajeeja merged 1 commit into
mainfrom
rajeeja/docs-restart-after-upgrade
Jul 13, 2026
Merged

docs: restart the AI client after upgrading (MCP servers don't hot-reload)#76
rajeeja merged 1 commit into
mainfrom
rajeeja/docs-restart-after-upgrade

Conversation

@rajeeja

@rajeeja rajeeja commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds guidance telling users to restart their AI client after upgrading the
package. This was the one real gap found during a full local + remote validation
of the tool surface.

Why

MCP servers are launched once when the AI client (Claude Desktop, Claude Code,
Cursor, …) starts and are not hot-reloaded. After uv tool upgrade (or
pulling new code in a checkout), the running server keeps executing the old
version until the client is restarted.

This was reproduced live: after merging the remote-execution PRs, use_remote
calls for zonal_anomaly / remap_to_rectilinear failed through the MCP server
with "Grid file not found" on an HPC path — because the still-running server
had the old, local-only versions of those tools. Restarting the client resolved
it completely (verified: all remote ops then returned execution_venue: hpc:chrysalis, and the curl vector-component guardrail warning appeared).

What changed

  • README: new "Upgrading" section with the upgrade command and a prominent
    restart warning, including the exact confusing symptom to watch for.
  • docs/getting-started.md: a restart-after-upgrade note in the setup steps,
    plus a Troubleshooting entry mapping "I upgraded but new tools/fixes are
    missing, or a use_remote call fails with file-not-found" straight to the fix.

Testing

  • uv run pre-commit run — all hooks pass (docs-only change).
  • Docs-only; no code paths affected.

MCP servers are launched once by the AI client and are not hot-reloaded,
so after 'uv tool upgrade' (or pulling new code) the running server keeps
executing the old version until the client is restarted. This surfaced in
testing: after upgrading, use_remote calls on HPC-only paths failed with
'file not found' because the old local-only tool was still loaded.

- README: new 'Upgrading' section with a restart warning
- getting-started: restart-after-upgrade note + a troubleshooting entry
  mapping the exact symptom to the fix
@rajeeja
rajeeja merged commit fbc3096 into main Jul 13, 2026
7 checks passed
@rajeeja
rajeeja deleted the rajeeja/docs-restart-after-upgrade branch July 13, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant