opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(mcp): allow external configs in mcp/*.json

Open segoon opened this issue 4 months ago • 4 comments

Allow loading mcp configs from ~/.config/opencode/mcp/*.json and $PWD/.opencode/mcp/*.json. Closes #1998.

segoon avatar Aug 16 '25 20:08 segoon

if loadMcpFile is just used once just keep it inline in the for loop

thdxr avatar Aug 17 '25 02:08 thdxr

@thdxr friendly ping :)

segoon avatar Sep 16 '25 08:09 segoon

Interested in per-project MCP setup too 👍 Any chance to merge this?

fpytloun avatar Sep 26 '25 10:09 fpytloun

Would like to request supporting .mcp.json as a format here.

sannajammeh avatar Nov 28 '25 08:11 sannajammeh