mirror of
https://github.com/coder/coder.git
synced 2026-10-30 18:12:29 +08:00
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.