Skip to content

K3vinb5/opencode-mcp-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 bunx or npx
  • Local PyPI MCPs using uvx

About

OpenCode TUI plugin that adds `/install-mcps` and installs MCP server configuration from the official MCP Registry into `~/.config/opencode/opencode.json`.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors