mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
7e29a67b50
Set CODER_AGENT_EXP_MCP_CONFIG_FILES to ~/.mcp.json,.mcp.json so the Coder agent reads both the harness-managed global MCP config and any project-local .mcp.json. The agent resolves .mcp.json relative to its manifest Directory (~/coder), so without this env var, a ~/.mcp.json written by a user harness would be invisible to the agent. Multiple files are merged by Manager.Connect; first file wins on name conflicts. Missing files are silently skipped.