opencode
opencode copied to clipboard
feat: add http headers to remote mcp calls
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!
This was added by https://github.com/sst/opencode/pull/1096