O
Opencode MCP Installer
by @K3vinb5
OpenCode TUI plugin that adds `/install-mcps` and installs MCP server configuration from the official MCP Registry into `~/.config/opencode/opencode.json`.
Created 5/15/2026
Updated about 3 hours ago
README
Repository documentation and setup instructions
opencode-mcp-installer
OpenCode TUI plugin that adds /install-mcps and installs MCP server configuration from the official MCP Registry into ~/.config/opencode/opencode.json.
Installation
This is a TUI plugin, so it must be configured in ~/.config/opencode/tui.json.
1. Build the plugin
From this directory:
bun install
bun run fetch-snapshot
bun run build
2. Add it to OpenCode
Add 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"
]
}
3. Restart OpenCode
Restart opencode so the plugin is reloaded.
What it does
- 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
MVP Support
- Remote MCPs using Streamable HTTP
- Local npm MCPs using
bunxornpx - Local PyPI MCPs using
uvx
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-opencode-mcp-installer
Cursor configuration (mcp.json)
{
"mcpServers": {
"k3vinb5-opencode-mcp-installer": {
"command": "npx",
"args": [
"k3vinb5-opencode-mcp-installer"
]
}
}
}