Manage and toggle OpenCode MCP servers on the fly directly from Paseo to save context tokens.
paseo plugin add Davnn1/opencode-mcp-toggle --ref 5fa7c44d266120bf12ed23ec81b64a9064250ec9Git security status and fallback installation are pinned to commit 5fa7c44d2661.
From the plugin's README
Ensure plugins are enabled in your Paseo daemon (pluginsEnabled: true in ~/.paseo/config.json).
paseo plugin add Davnn1/opencode-mcp-toggle
git clone https://github.com/Davnn1/opencode-mcp-toggle.git
cd ~
paseo plugin install ./opencode-mcp-toggle
Note: If installing from a local path on Linux AppImage, always provide a relative path (e.g.
./folder) from your working directory.
To verify the installation:
paseo plugin ls
README
Seamlessly toggle OpenCode MCP servers on the fly and save context tokens directly from Paseo.
Every active Model Context Protocol (MCP) server injects its full tool schema (names, descriptions, parameters, validation JSON) into every single LLM request's system prompt.
Large MCP servers (like Jira, Playwright, Database inspectors, or Figma) easily consume 3,000 to 10,000+ tokens per turn. When these tools aren't actively needed for the current task, they waste money, degrade prompt attention, and shrink your useful context window.
While OpenCode's native terminal UI provides /mcps to enable/disable servers dynamically, Paseo currently has no native UI to manage or toggle third-party MCP servers.
opencode-mcp-toggle bridges this gap.
opencode.json):
opencode serve (shared by every agent with the same working directory) and is never written to config.opencode serve daemon instances and their ports.Ensure plugins are enabled in your Paseo daemon (pluginsEnabled: true in ~/.paseo/config.json).
paseo plugin add Davnn1/opencode-mcp-toggle
git clone https://github.com/Davnn1/opencode-mcp-toggle.git
cd ~
paseo plugin install ./opencode-mcp-toggle
Note: If installing from a local path on Linux AppImage, always provide a relative path (e.g.
./folder) from your working directory.
To verify the installation:
paseo plugin ls
[ • MCP ] pill will appear.opencode.json(c).runtime only — workspace scope badge.On mobile devices, the manager seamlessly adapts into a native bottom sheet:
opencode serve instances and connects to their local HTTP management endpoints (GET /mcp, POST /mcp/{name}/connect|disconnect).opencode.json / opencode.jsonc using jsonc-parser, preserving comments and formatting.@getpaseo/plugin design primitives, automatically adjusting between desktop popovers and mobile bottom sheets.MIT © 2026 Davnn
Scanned 15 Oct 2026, 12:30 UTC from Davnn1/opencode-mcp-toggle.