Installation¶
You need OpenCode >=2.4.1 <2.5.0, the plugin's tested range. Nothing else: the plugin has no runtime dependency, and the built entry is committed, so the install needs no build step. Node 24 is needed only for the development checks.
Add the plugin¶
The tag is the release you install. v0.0.5 is the latest release.
Sign in¶
Open OpenCode and run /connect, then choose linear for the default account. One account needs no options at all. From a terminal, the same sign-in is:
Each alias is one Linear MCP server: linear for the default account and linear-<alias> for the others. OpenCode keys the OAuth per server, so two workspaces stay apart. To change a server's workspace, sign it out with opencode mcp logout linear and sign in again.
Several workspaces¶
One alias per Linear workspace, each signed in on its own:
// opencode.json
{
"plugins": [
{
"package": "github:we-the-rebel-alliance/linear-plugin#v0.0.5",
"options": {
"accounts": {
"work": {},
"personal": {}
}
}
}
]
}
An alias has no fields: the sign-in decides the workspace. See Accounts for the server names and the cursor rules.
Check the sign-in¶
Ask OpenCode for the plugin's status, or call it in Code Mode:
Every account's state is one line: ready, needs_sign_in or error. An account that needs a new sign-in names the server to choose in /connect.
Next¶
- Quickstart: the first question.
- Configuration: every option and an example.