refactor(cli): simplify mcp add options

This commit is contained in:
opencode-agent[bot] 2026-06-01 04:43:57 +00:00
commit 7f9fbac33c
4 changed files with 14 additions and 154 deletions

View file

@ -58,7 +58,7 @@ opencode mcp add github https://api.githubcopilot.com/mcp \
--header "Authorization: Bearer YOUR_GITHUB_PAT"
```
Use `--env KEY=VALUE` for local server environment variables and repeat it for multiple values. Use `--scope project` or `--global` to choose where the server is saved.
Use `--env KEY=VALUE` for local server environment variables and repeat it for multiple values. Use `--global` to save to global config.
---