Refactor MCP integration: server groups in profiles
- mcp_servers.json: add 'groups' (read/write/admin) for gnexus-book
- AgentProfile: new 'mcp_servers' field (server_name -> group list)
- Profile loader: parse and persist 'mcp_servers' in config.json
- Agent._tool_list(): expands mcp_servers into concrete tool names
  via McpManager.resolve_group(), wildcard '*' supported
- /agents/profiles API: includes 'mcp_servers' in response
- Profiles no longer list individual mcp_ tools in 'enabled_tools'
- discuss: gnexus-book read group
- server_admin: gnexus-book read+write+admin groups

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 127077b commit 651731c685ee17bd553a1f7cff1021b1381f3a67
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 11 May
Showing 10 changed files
View
mcp_servers.json
View
navi/api/deps.py
View
navi/api/routes/agents.py
View
navi/core/agent.py
View
navi/mcp/config.py
View
navi/mcp/manager.py
View
navi/profiles/base.py
View
navi/profiles/discuss/config.json
View
navi/profiles/loader.py
View
navi/profiles/server_admin/config.json