Skip to content

Fix mcp placement writer in editOpenCodeServer function - #3602

Closed
Drewlius wants to merge 1 commit into
upstash:masterfrom
Drewlius:patch-1
Closed

Drewlius wants to merge 1 commit into
upstash:masterfrom
Drewlius:patch-1

Conversation

@Drewlius

Copy link
Copy Markdown
Contributor

Closes Issue #3597


This small fix ensures that the MCP server is written in the correct scope for OpenCode ≥ 2.0 nested neatly under mcp.servers.* instead of the v1 layout mcp.context7, per the OpenCode v2 docs


To Note: configs written by earlier ctx7 runs retain a stale mcp.context7 key, which OpenCode ≥ 2 ignores. Cleaning that up is a separate migration concern, left for the maintainers to decide how to handle. A re-run of the fixed CLI writes the correct nested entry alongside it if pre-existing.

ensures mcp is written in the correct scope for opencode ≥  2.0 under mcp.servers.*
@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
context7-admin-mcp Ignored Ignored Oct 30, 2026 12:10pm UTC

Request Review

@Drewlius Drewlius closed this Nov 3, 2026
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.

1 participant