feat: add create_mcp_server and test_mcp_tool builtins
create_mcp_server:
- Scaffolds mcp-servers/<name>/ directory with venv, pyproject.toml,
  app/__init__.py, and annotated mcp_server.py template
- Runs pip install -e . in isolated thread to avoid event-loop issues
- Validates template with python -m py_compile

test_mcp_tool:
- Execute a single MCP tool call for isolated testing
- Detailed diagnostics: not connected, empty response, timeout, crash
- Fallback to module-level _mcp_manager if startup wiring skipped

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 61fa370 commit 457b4cc6f027768f874c434f13b7f82741e6b64f
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 15 May
Showing 3 changed files
View
navi/tools/__init__.py
View
navi/tools/create_mcp_server.py 0 → 100644
View
navi/tools/test_mcp_tool.py 0 → 100644