fix(mcp): auto-register tools on startup and support cross-platform setup for all major AI IDEs

- Fix missing mcp_server.tools import on server initialization so mobile_run_task, mobile_manage_task, mobile_get_device_state, and mobile_inspect_trace are automatically registered.

- Inject PYTHONPATH in generated and installed MCP configurations to guarantee Python module resolution across Windows, macOS, and Linux regardless of IDE CWD.

- Expand artemis mcp --install and --generate-config to support VS Code, Cline, Roo Code, Claude Code CLI (~/.claude.json), Cursor, Windsurf, Antigravity, and OpenClaw.

- Enhance config file merging with robust exception handling and fallback initialization.
This commit is contained in:
somew1nd committed 2026-08-18 17:49:47 -07:00
1 parent fc6ddad655
commit 9e5aee85c8
12 files changed
+202 -67

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ except Exception:
from mcp_server.base import mcp
# 2. Import tools to register them
import mcp_server.tools # noqa: F401
def main(transport: str = "stdio", host: str = "127.0.0.1", port: int = 8001):