You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The opencode mcp add command should support directly entering the information required for MCP within the command line. I noticed at docs: add installation guides for Zed and OpenCode github/github-mcp-server#2535 that if I want to add an MCP via the opencode CLI, I need to select a lot of options after entering the opencode mcp add command.
I think we should support commands like claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}', similar to Claude Code, so that you don't need to manually select a lot of options with opencode mcp add. Perhaps something like,
Feature hasn't been suggested before.
Describe the enhancement you want to request
opencode mcp addcommand should support directly entering the information required for MCP within the command line. I noticed at docs: add installation guides for Zed and OpenCode github/github-mcp-server#2535 that if I want to add an MCP via the opencode CLI, I need to select a lot of options after entering theopencode mcp addcommand.claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}', similar to Claude Code, so that you don't need to manually select a lot of options withopencode mcp add. Perhaps something like,opencode mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}' opencode mcp rm github