You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: MCP servers added in one profile are accessible in another profile. #4280
I have added MCP servers while running hermes under profile A. Switched to profile B, and those MCP servers are available, but profiles should be isolated.
Steps to Reproduce
launch hermes profile A
add MCP server (ask Hermes A to add it)
quite
launch hermes profile B
ask if MCP is available
Automated hermes-sweeper review: this appears implemented on current main.
Evidence:
hermes_cli/main.py:336 pre-parses --profile / -p and sets HERMES_HOME before later Hermes imports.
hermes_cli/config.py:595 resolves config.yaml from get_hermes_home(), making config reads/writes profile-scoped.
hermes_cli/mcp_config.py:87 saves mcp_servers through load_config() / save_config(), so hermes mcp add writes into the active profile's config.
tools/mcp_tool.py:2542 loads MCP servers through the same profile-scoped config path during discovery.
I also verified with a read-only smoke check that changing HERMES_HOME changes get_config_path() from one profile directory to the other on current main. Thanks for the original report.
Activity
teknium1 commentedon Jun 10, 2026
Automated hermes-sweeper review: this appears implemented on current main.
Evidence:
hermes_cli/main.py:336pre-parses--profile/-pand setsHERMES_HOMEbefore later Hermes imports.hermes_cli/config.py:595resolvesconfig.yamlfromget_hermes_home(), making config reads/writes profile-scoped.hermes_cli/mcp_config.py:87savesmcp_serversthroughload_config()/save_config(), sohermes mcp addwrites into the active profile's config.tools/mcp_tool.py:2542loads MCP servers through the same profile-scoped config path during discovery.I also verified with a read-only smoke check that changing
HERMES_HOMEchangesget_config_path()from one profile directory to the other on current main. Thanks for the original report.