OpenCode TUI plugin that adds /install-mcps and installs MCP server configuration from the official MCP Registry into ~/.config/opencode/opencode.json.
This is a TUI plugin, so it must be configured in ~/.config/opencode/tui.json.
From this directory:
bun install
bun run fetch-snapshot
bun run buildAdd the built file to ~/.config/opencode/tui.json:
{
"$schema": "https://opencode.ai/tui.json",
"theme": "system",
"plugin": [
"/Users/CTW03903/.config/opencode/plugins/opencode-mcp-installer/dist/tui.js"
]
}Restart opencode so the plugin is reloaded.
- Adds
/install-mcps - Queries the official MCP Registry, with a bundled snapshot fallback
- Lets you choose remote or local installation when multiple methods are available
- Writes the selected MCP config into the global OpenCode config
- Prompts before overwriting an existing MCP key
- Remote MCPs using Streamable HTTP
- Local npm MCPs using
bunxornpx - Local PyPI MCPs using
uvx