Writing changes¶
Linear's own MCP tools make every change. The plugin writes nothing of its own and keeps no plan: a change is one of Linear's tools, declared in the manifest with its class so access can decide it.
What a change reaches¶
| Class | Tools | What it does |
|---|---|---|
read | 42 | reads an issue, project, cycle, initiative, document, comment or attachment |
write | 26 | creates or updates one of them |
send | 4 | posts a comment, a diff comment, a status update or a review |
delete | 4 | deletes an attachment, a comment, a diff comment or a status update |
share | 2 | shares or unshares an issue |
Every change reaches the shared workspace. A colleague may see it as soon as Linear answers, and every call uses the workspace's own limits and permissions.
Access levels¶
options.access is the ceiling for the plugin's own reads and for Linear's tools:
| Level | Reads | Changes |
|---|---|---|
all (default) | run | run |
ask-changes | run | ask first |
read-only | run | are off |
ask-changes asks in OpenCode's own permission prompt, which every client can answer. read-only is a hard ceiling: a write, send, delete or share is refused, and no tool can raise the level.
What to ask before¶
An agent asks first before a delete or a share, because a delete cannot be undone and a share reaches other people. It also asks before a send that reaches other people, such as a comment a colleague will read. A create or an update that the person asked for runs without a second question at all.
Permission rules¶
Every method has an action, linear.<method>, on a resource <alias>:<operation>; a rule for work never reaches personal's tools. The generated rules are inserted after each agent's base allow, and status names any agent that lacks them. One mcp:* write rule comes before the 78 specific rules, so a tool Linear renames or adds is denied at read-only and asks at ask-changes instead of reaching OpenCode's base allow-all.
Skills¶
The plugin ships two skills, and OpenCode loads both when the plugin starts:
linearsays when to use the plugin, how to find an issue, a project or a document, how to pick an account and what the workspace allows.linear-writesays what a change reaches (the workspace, a colleague or Linear itself) and when to ask before a delete or a share.
Next¶
- Capabilities: every method and every declared tool.
- Errors: what a refusal says and what to do next.
- Security: what leaves the machine and how untrusted data is handled.