Skip to content

fix: preserve OpenCode MCP passthrough fields - #2593

Draft
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:fix/2510-opencode-mcp-passthrough-f4d02127
Draft

fix: preserve OpenCode MCP passthrough fields#2593
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:fix/2510-opencode-mcp-passthrough-f4d02127

Conversation

@aryansk

Copy link
Copy Markdown

Summary

Preserve allowed MCP passthrough fields when translating the normalized server config into OpenCode's schema. OpenCode-specific output still translates command/env/remote fields, while Copilot-only tools and id keys remain excluded.

Testing

  • Added regression coverage for passthrough fields such as oauth and custom keys
  • Verified Copilot-only tools and id do not leak into opencode.json

Fixes #2510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] MCP passthrough fields aren't populated in Opencode configuration

1 participant