reload
Re-read config files and reconcile the MCP server set after edits or tool changes. Clears stale connections and cached schemas; notifies hosts about catalog changes.
Instructions
Reload mcp-hub: re-reads config files and reconciles the server set (added/removed/changed), tears down stale child connections, and drops cached tool schemas. Use after editing the hub's config, or after a child server's tools have changed (code edits, new tool registered). If server is given, only that server is reloaded (faster — no config re-read). For exposed servers, the catalog is re-enumerated and prompts/list_changed + resources/list_changed notifications are emitted so the host re-fetches. Tool schema changes on non-exposed servers are picked up on the next get_server_tools call. Caveat: if the hub started with no exposed servers, the prompts/resources capabilities aren't registered for the session — adding an exposed server via reload won't surface until the host reconnects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | If set, only reload this server. Otherwise, reconcile all servers against config files. |