Migrate MCP tool naming from mcp:server:tool to mcp__server__tool
The colon separator (mcp:server:tool) confuses many LLMs during
tool-calling because colons appear in schemas and URLs. Switch to
double-underscore separator (mcp__server__tool) for robust parsing.

Key changes:
- navi/mcp/tools.py: add build_mcp_name(), parse_mcp_name(), is_mcp_tool()
- navi/core/tool_executor.py: update _resolve_tool() with new helpers
  and legacy colon fallback for old sessions
- navi/core/tool_utils.py, subagent_runner.py: use build_mcp_name()
- navi/api/routes/{admin,agents}.py: prefix via build_mcp_name()
- navi/tools/{list_tools,reload_tools}.py: migrated
- All profile configs + system_prompt.txt: replace mcp: with mcp__
- manuals/{model_3d,lint_scad,render_3d,spawn_agent}.md: updated
- mcp_servers.d/gnexus-book.json: instructions updated
- docs/{api,profiles,tools,mechanics,visual.html}: updated
- tests: test_tool_executor.py and test_mcp.py aligned

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d4c91f3 commit 119776ae71b450a0d2d5c6bddc4f731f3aeb857c
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 21 May
Showing 29 changed files
View
docs/api.md
View
docs/mechanics.md
View
docs/profiles.md
View
docs/tools.md
View
docs/visual.html
View
manuals/lint_scad.md
View
manuals/model_3d.md
View
manuals/render_3d.md
View
manuals/spawn_agent.md
View
mcp_servers.d/gnexus-book.json
View
navi/api/routes/admin.py
View
navi/api/routes/agents.py
View
navi/core/subagent_runner.py
View
navi/core/tool_executor.py
View
navi/core/tool_utils.py
View
navi/mcp/tools.py
View
navi/profiles/developer/config.json
View
navi/profiles/discuss/system_prompt.txt
View
navi/profiles/modeler_3d/config.json
View
navi/profiles/modeler_3d/subagent_system_prompt.txt
View
navi/profiles/modeler_3d/system_prompt.txt
View
navi/profiles/secretary/config.json
View
navi/profiles/secretary/system_prompt.txt
View
navi/profiles/server_admin/config.json
View
navi/profiles/server_admin/system_prompt.txt
View
navi/tools/list_tools.py
View
navi/tools/reload_tools.py
View
tests/unit/core/test_tool_executor.py
View
tests/unit/test_mcp.py