Resolve command to long message

This commit is contained in:
Auto
2026-01-12 13:39:34 +02:00
parent f31ea403ea
commit 9816621e99
2 changed files with 4 additions and 4 deletions

View File

@@ -198,9 +198,8 @@ def create_client(project_dir: Path, model: str, yolo_mode: bool = False):
"command": sys.executable, # Use the same Python that's running this script
"args": ["-m", "mcp_server.feature_mcp"],
"env": {
# Inherit parent environment (PATH, ANTHROPIC_API_KEY, etc.)
**os.environ,
# Add custom variables
# Only specify variables the MCP server needs
# (subprocess inherits parent environment automatically)
"PROJECT_DIR": str(project_dir.resolve()),
"PYTHONPATH": str(Path(__file__).parent.resolve()),
},