opencode-mercatoMercato — the OpenCode V2 marketplace for everything: plugins, MCP servers, skills, themes, and agents, inside the TUI
1
649
649 in 7 days
39.7
Multi-signal model
2 days ago
2026-08-17
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-mercato@0.2.1"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-mercato@0.2.1"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-mercatoopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Mercato — the OpenCode V2 marketplace for everything: plugins, MCP servers, skills, themes, and agents, inside the TUI.
What is Mercato
A unified marketplace for everything OpenCode: plugins, MCP servers, skills, themes, and agents — browsable, comparable, and installable from a modal dialog inside the OpenCode TUI.
Mercato targets OpenCode V2 only. The catalog is transparently aggregated from community sources (see Credits) — Mercato never owns the data, but provides discovery, trust ratings, safe lifecycle installation, auto-updates, and rollback capabilities.
Features
- Everything OpenCode: Discover plugins, MCP servers, skills, agents, themes, and commands.
- V2-Native TUI: Modal dialog loop with keyboard-first navigation and palette integration.
- Transparent Provenance & Trust: Multi-source aggregation with trust scoring and security notices.
- Safe Installation Pipeline: Pre-install diff preview, conflict refusal,
.bakbackups, and atomic writes. - Updates & Version History: SemVer analysis, auto-update eligibility policy (patch/minor), downgrade picker from NPM history, and content-hash comparison for versionless items.
- Preferences & Settings: Configurable auto-update rules, cache TTL, and default target scope (Global vs Local).
- Restore Journal: View and restore previous configuration backup snapshots atomically.
Install
opencode plugin opencode-mercato
Usage
- Command: Type
/mercatoin the prompt line. - Command Palette: Press
Ctrl+P(orCmd+P) and choose Mercato.
Keyboard Navigation
| Key | Action |
|---|---|
↑ / ↓ |
Navigate items / actions / options |
Enter / Return |
Open details / Confirm action / Install version |
Tab / Shift+Tab |
Cycle kind tabs (All, Plugins, MCPs, Skills, Agents, Themes, Commands) / Switch Scope |
u |
Open Updates view |
s |
Open Settings view |
r |
Open Restore Backups view |
Esc |
Back to previous screen / Close modal |
Development
Requires Bun.
bun install
bun run typecheck
bun test
Credits
Community data sources are credited transparently in CREDITS.md — opencode.cafe, awesome-opencode, and the OpenCode ecosystem docs. Their content is aggregated, never repackaged as ours.
License
MIT © 2026 Thomas Sanna