fix(mcp): point hermes mcp add and configure at /reload-mcp
`mcp add` now also says how to load the tools into open sessions. `mcp configure` changes a live server's tool selection, which a new session does not re-read, so it points at /reload-mcp instead of "start a new session". Co-authored-by: spfcraze <spfcraze@users.noreply.github.com>
This commit is contained in:
@@ -692,7 +692,7 @@ def cmd_mcp_add(args):
|
||||
_success(
|
||||
f"Saved '{name}' to {display_hermes_home()}/config.yaml ({tool_count}/{len(tools)} tools enabled)"
|
||||
)
|
||||
_info("Start a new session to use these tools.")
|
||||
_info("Start a new session to use these tools, or run /reload-mcp to load them into open sessions.")
|
||||
|
||||
|
||||
def cmd_mcp_remove(args):
|
||||
@@ -1064,7 +1064,7 @@ def cmd_mcp_configure(args):
|
||||
config.setdefault("mcp_servers", {})[name] = server_entry
|
||||
save_config(config)
|
||||
_success(f"Updated config: {len(chosen)}/{total} tools enabled")
|
||||
_info("Start a new session for changes to take effect.")
|
||||
_info("Run /reload-mcp for changes to take effect.")
|
||||
|
||||
|
||||
_MCP_USAGE = (
|
||||
|
||||
Reference in New Issue
Block a user