opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: add http headers to remote mcp calls

Open moutansos opened this issue 6 months ago • 1 comments

Implemented passthrough of http headers from config to the AI SDK calls for MCP servers, and added environment variable replacement for URLs and headers.

Happy to make additional changes/refactors or remove the env substitution if this isn't how you guys would have implemented this!

moutansos avatar Jun 22 '25 18:06 moutansos

This was added by https://github.com/sst/opencode/pull/1096

andrewhessler avatar Jul 31 '25 22:07 andrewhessler