Merge PR #291: feat: add MCP (Model Context Protocol) client support

Authored by 0xbyt4. Adds MCP client with official SDK, direct tool registration,
auto-injection into hermes-* toolsets, and graceful degradation.
This commit is contained in:
teknium1
2026-03-02 18:24:31 -08:00
7 changed files with 1299 additions and 2 deletions

5
cli.py
View File

@@ -386,6 +386,11 @@ def _run_cleanup():
_cleanup_all_browsers()
except Exception:
pass
try:
from tools.mcp_tool import shutdown_mcp_servers
shutdown_mcp_servers()
except Exception:
pass
# ============================================================================
# ASCII Art & Branding