Connect Linear to OpenCode
Issue tracker for product teams. Its hosted MCP server lets agents find, create and update issues, projects and comments, so design tasks stay linked to the work.
MCP serverOfficialChecked 2026-11-16
Before you start
- OpenCode installed (see its MCP documentation (opens in a new tab)).
- Linear is available on macOS, Windows, Linux and the web.
- Your agent opens a Linear sign-in page the first time it connects. For read-only access, use
https://mcp.linear.app/mcp/readonlyinstead.
Step 1: Add Linear to OpenCode
Add it from the terminal
Run this in your project folder. It saves the server to the project's
opencode.json.Terminal opencode mcp add linear --url https://mcp.linear.app/mcpOr edit the config file
Add this to
opencode.jsonat the project root.opencode.json { "$schema": "https://opencode.ai/config.json", "mcp": { "linear": { "type": "remote", "url": "https://mcp.linear.app/mcp", "enabled": true } } }Good to know- Sign in once with
opencode mcp auth linear.
- Sign in once with
Step 2: Check it's connected
Terminal opencode mcp listStart OpenCode in the project; the server's tools are available to the agent straight away.
Step 3: Try a first request
Ask OpenCode something that only works with Linear connected:
Say to OpenCode Find the Linear issues assigned to me that mention design and list them by priority.
If it doesn't work
- OpenCode reads
opencode.jsonfrom the project root, or~/.config/opencode/opencode.jsonfor every project. - Environment variables use the
{env:NAME}syntax inside the config file. - Servers that need a sign-in: run
opencode mcp auth <name>.





