Add .gitignore, remove __pycache__ from tracking, and update MCP/orchestrator modules

- Add .gitignore to exclude .env, __pycache__, node_modules, and IDE files
- Remove all __pycache__ bytecode files from version control
- Add MCP config files (mcp.json, mcp.json.example)
- Add MCP manager, registry, and config modules
- Update routes, orchestrator engine, and agent base with latest changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jordan
2026-04-01 23:47:26 +01:00
parent 91cfdaee72
commit 264acc90b4
49 changed files with 749 additions and 68 deletions

View File

@@ -33,7 +33,9 @@ class MCPClient:
timeout: float | None = None,
startup_timeout: float | None = None,
env: dict[str, str] | None = None,
name: str = "mcp",
) -> None:
self.name = name
self._command = command or settings.mcp_server_command
self._args = args if args is not None else list(settings.mcp_server_args)
self._timeout = timeout or settings.mcp_timeout_seconds
@@ -64,7 +66,7 @@ class MCPClient:
logger.warning("No MCP server command configured — skipping start")
return
logger.info("Starting MCP server: %s %s", self._command, self._args)
logger.info("Starting MCP server [%s]: %s %s", self.name, self._command, self._args)
self._process = await asyncio.create_subprocess_exec(
self._command,
*self._args,
@@ -287,5 +289,5 @@ class MCPClient:
name=name,
description=t.get("description", ""),
input_schema=t.get("inputSchema", {}),
server_name="mcp",
server_name=self.name,
)