Marks / Programmable capabilities / Capability interface
opencode · Capability interface
Plugins (npm/local/SDK) plus MCP; denied/hidden filtering; SDK plugins host-executed in-process; Code Mode defers catalog by default
Level
Criteria for this column
- 0
Fixed built-in tools only. No way to add tools
- 1
Tools can be added only by modifying or recompiling the runtime, or via example code
- 2
One supported extension mechanism (MCP client or plugin API or host-supplied tools)
- 3
Two or more supported mechanisms (e.g. MCP plus plugins/host tools), with per-agent or per-session filtering of the visible tool set
- 4
Level 3, plus host-supplied tools whose calls are executed by the embedding host through a supported interface, and large catalogs can be deferred or searched (e.g.
mettool_search, code mode)
What the source review found
Built in. One registry is fed by built-in plugins, npm or local plugins, SDK plugins and MCP. Tools carry input and output schemas. By default most tools sit behind one Code Mode execute tool; denying execute exposes them directly. Plugins run in-process, and only tool.execute.before can reject a call. P77P78P79P80P81
Pinned evidence
Cited by the mark
- P77
Tool snapshot: hidden/denied dropped; codemode-default tools routed behind Code Mode
- P78
codeModeAvailable=executenot denied (Code Mode on by default) - P79
Built-in plugin list incl. AutomationTools, subagent, skill, shell
anomalyco/opencode packages/core/src/plugin/internal.ts L209-L283
Also cited by the review finding
- P80
Hook domains aisdk/session/permission/shell/tool; only tool.execute.before can reject
anomalyco/opencode packages/core/src/plugin/hooks.ts L13-L30
- P81
MCP local (command/cwd/environment) and remote (url, OAuth) server config
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4