Linear is where a lot of product and engineering planning already happens: issues, cycles, projects, roadmap context, and team discussion. A Linear AI assistant is most useful when it helps the team review active work, spot blocked issues, summarise cycle progress, and turn project movement into clear updates from Slack.
How OpenClaw Integrations Work
OpenClaw is a self-hosted AI assistant that runs on your own server — typically an EC2 instance — and connects to Slack. It uses Claude under the hood to process requests. Out of the box, OpenClaw doesn't ship with pre-built connections to third-party tools. Instead, integrations are built using the skills system: markdown files in ~/.openclaw/skills/ that give Claude instructions for a particular domain, combined with HTTP tool calls to any API you expose to it.
In practice, adding a real integration means: getting API credentials from the third-party service, building or configuring a small proxy/endpoint that OpenClaw can call, and writing a skill file that tells Claude how to use it. For some tools this is an afternoon of work. For others — like Linear — it's considerably more involved.
Connecting OpenClaw with Linear: Step by Step
Step 1: Get Your Linear API Key
Go to Linear → Settings → API and create a Personal API Key. This key authenticates all requests to Linear's GraphQL API at https://api.linear.app/graphql. No OAuth flow required for personal or service account usage.
Step 2: Learn the GraphQL Schema
Linear's API is GraphQL-only. Use the Linear API explorer to understand the schema before building your proxy. Key objects: Issue, Cycle, Project, Team, User. Queries are flexible — you can request exactly the fields you need.
Step 3: Build the Proxy and Skill File
Your proxy will accept simple HTTP requests from OpenClaw and translate them into GraphQL queries. Write ~/.openclaw/skills/linear.md with your team identifiers and the types of queries available. Linear's consistent naming makes skill file writing relatively straightforward.
Challenges and Caveats
GraphQL Adds a Layer of Complexity
If your proxy developer isn't familiar with GraphQL, there's a learning curve. REST is more familiar territory — GraphQL query construction, pagination with cursors, and error handling work differently.
No Webhooks Without a Public Endpoint
Linear supports webhooks, but your EC2 instance needs a publicly accessible HTTPS endpoint to receive them. If you want OpenClaw to proactively notify your Slack channel when an issue is updated, you'll need to set up SSL and a public endpoint on your server.
Linear + OpenClaw in 2026: The Server Is Real, and the Read-Only Switch Is a URL
The base template above is still correct about the mechanics — a Linear personal API key, a GraphQL endpoint at https://api.linear.app/graphql, and a proxy that translates simple requests into GraphQL. What has changed is that you no longer have to build that proxy. Linear ships a first-party remote MCP server, it is hosted centrally, and it authenticates with OAuth 2.1 including dynamic client registration.
That last sentence matters more than it sounds. Dynamic client registration is the thing many hosted MCP servers do not support, which is why a lot of "paste the URL and click Connect" instructions fail on other tools. Linear supports it. So the honest framing of this page is:
- If you want an assistant that reads and writes Linear, connect the MCP server and skip the proxy entirely.
- If you want deterministic automation, still build the proxy — GraphQL gives you exact fields, exact filters, and no model in the loop.
- If you want the assistant to run on a schedule, that is a third, separate thing: Linear's Loops feature, which is not the MCP server at all.
Most guides collapse those three into one. They have different permissions, different failure modes, and different costs.

The endpoint table
Linear documents exactly two MCP endpoints, plus a legacy third. Getting the hostname right is the first thing that goes wrong, because the tempting guess — mcp.linear.app/v1 or api.linear.app/mcp — is not any of them.
| Endpoint | Transport | Access | Use it when |
|---|---|---|---|
https://mcp.linear.app/mcp |
Streamable HTTP (primary) | Read and write | Default choice for an assistant that files issues |
https://mcp.linear.app/mcp/readonly |
Streamable HTTP | Read tools only, always | An assistant that summarises and reports but must never mutate |
https://mcp.linear.app/sse |
SSE | Read/write | Deprecated fallback for clients without Streamable HTTP — new setups should not use it |
There is a second, subtler way to get read-only, and it is the one people miss: connect to the standard /mcp endpoint but request only the read OAuth scope. Linear states that clients requesting read "are granted read-only access, and the underlying token can't reach write APIs." That is meaningfully different from the /readonly path, because the restriction lives in the token, not in the tool list. The /readonly endpoint restricts what tools are advertised; the read scope restricts what the credential can do. If you only ever do one of those two things, do the scope.
A practical recommendation: use /readonly plus the read scope for anything that runs unattended. An agent that died mid-summary and retried with a hallucinated create_issue call is a very specific kind of embarrassing, and it is cheaper to prevent than to explain.
Connecting it to OpenClaw
OpenClaw speaks Streamable HTTP to remote MCP servers, which puts Linear in the "paste a URL, run OAuth, approve in the browser" bucket. No npm package, no local process, no API key to rotate.
{
mcpServers: {
linear: {
// primary endpoint: read + write
url: "https://mcp.linear.app/mcp",
transport: "streamable-http"
},
linearReadonly: {
// same server, read-only tool surface
url: "https://mcp.linear.app/mcp/readonly",
transport: "streamable-http"
}
}
}
You can register both. That sounds redundant until you have two different jobs in the same workspace: a reporting agent that should never write, and an intake agent that should file issues into one specific team. Two entries with two separate OAuth grants is the clean way to express that, and it means revoking the reporting grant does not break triage.
If your client is one that speaks stdio only — a local MCP bridge, a script, an older editor plugin — the documented compatibility route is the mcp-remote module:
npx -y mcp-remote https://mcp.linear.app/mcp
That is also the route in Linear's own copy-paste configs for VS Code, Windsurf and Zed. It works, but it adds a Node subprocess between your agent and the server, and every one of those subprocesses wants its own auth directory (see the multi-workspace trap below).
Bearer auth is supported and underused. Linear's FAQ documents that you can skip the interactive flow entirely by sending Authorization: Bearer <token>, where the token is either an OAuth access token or a Linear API key. Two consequences worth knowing:
- A restricted API key with only Read permission enabled gives you read-only access through the standard endpoint — a third read-only path, and the simplest one to reason about for a service that holds a stored secret.
- Passing a personal API key means the agent behaves as that person. Not as a bot. Their issues, their team memberships, their permission model.
That second point is the whole security story, so it gets its own section.

Every call runs as a named human
Linear's MCP server has no service-account concept. A tool call executes as the identity behind the token:
- the teams and sub-teams that person belongs to,
- the projects and initiatives visible to them,
- the private teams they can and cannot see,
- and it appears in the workspace activity history attributed to them.
This is the same per-user model that makes the integration safe, and the same model that makes it awkward for automation. Concretely:
- An agent connected with a product lead's key quietly cannot see the private security team's issues. It will not error. It will answer confidently with an incomplete picture. If the answer to "how many open P1s this cycle" looks low, check whose key you used before you check the query.
- An agent connected with an admin's key can do everything that admin can do, including deleting issues in teams nobody asked it to touch.
- A person leaving the workspace breaks every agent using their key. There is no handover.
The mitigation is boring and works: create a dedicated Linear user (or use a shared service identity) with membership in exactly the teams the assistant should see, mint a restricted key for it, and grant it Read only unless writing is the point. Then "what can this agent see" has a one-line answer.
Multi-workspace is one auth directory per workspace
If you consult for more than one Linear workspace, or you have a client workspace and your own, this is the trap that eats an afternoon. Linear's own FAQ states it plainly: the MCP server "authenticates each session via OAuth", and reconnecting alone does not switch the workspace within an existing auth session. Each workspace needs its own separate authentication context.
For mcp-remote users, that means a distinct config directory per workspace:
MCP_REMOTE_CONFIG_DIR=~/.mcp-auth/workspace-a npx mcp-remote https://mcp.linear.app/mcp
MCP_REMOTE_CONFIG_DIR=~/.mcp-auth/workspace-b npx mcp-remote https://mcp.linear.app/mcp
For clients that manage their own auth storage, you need two separate server entries, and the symptom of getting this wrong is nasty: no error, just issues from the wrong workspace. An agent asked to summarise "the current cycle" happily summarises the other company's cycle, correctly, and you do not notice until the standup.
The other FAQ answer worth memorising
Linear documents the fix for a "connection failed / internal server error" that survives a client restart: rm -rf ~/.mcp-auth and retry, and check your Node version. That is a stale-auth-cache problem, not a Linear outage. It is worth knowing before you file a support ticket — and worth knowing because a corrupted auth cache looks exactly like a permissions bug.
Loops: the scheduled half of the story
Here is the gap in almost every "Linear MCP" article: MCP is request-response. A model in a chat cannot wake itself up at 7am on Monday and check whether anything is blocked. If you want that, you have two options, and Linear now ships one of them.
Loops are Linear Agent's scheduled and event-driven runs. Per Linear's docs they run:
- on a schedule, or
- in response to events on issues, projects, initiatives, cycles, releases and pull requests, or
- when a new top-level message is posted in selected public Slack channels, or
- when an external service sends a webhook to a loop URL.
That third and fourth trigger are the interesting ones for an OpenClaw setup, because they invert the direction of the integration. Instead of your agent polling Linear, Linear runs a loop and can call MCP connectors to reach out to other services mid-run.
A few specifics that are easy to get wrong:
- Webhook triggers return
202 Accepted— that confirms receipt, not completion. Do not treat it as "the loop ran." - Retries need the same
Webhook-Id; reuse the ID with the same secret to avoid duplicate runs, use a fresh ID for a new event. Mergedis a pull request status transition, not a deployment event. A loop triggered on merge does not re-fire when checks later change or commits land on the branch.- Slack message triggers do not fire for private channels, DMs, thread replies, message edits, guests, or messages mentioning Linear's bots. If your team works in threads, a "summarise this thread" loop will never run.
- Loops work within their configured team scope. A workspace-level loop in a public team sees all public teams; a loop inside a private team sees only that team — and it inherits workspace-level objects like Initiatives only when it can access all public teams.
- Web access is a data-egress switch. Linear warns directly that enabling it "can send workspace content to external services." For a workspace holding customer roadmaps and unreleased features, that is a decision someone should make on purpose.
- MCP tool approval is per-tool. You can leave automatic approval off and enable
Always approvedonly on the specific tools a loop should call without review. This is the most useful safety dial in the product and it is off the default path.

Loops vs. the MCP server vs. your own proxy
| You want | Use | Why not the others |
|---|---|---|
| "Ask about the sprint in Slack" | MCP server | A proxy is work you have to maintain; Loops are for scheduled work |
| "File an issue from a Slack thread" | MCP server (write) or Loops Slack trigger | Proxy works but you are rebuilding tool calling |
| "Post a Monday digest at 7am" | Loops | MCP is request-response; your chat agent cannot wake itself |
| "Sync Linear issues into our warehouse nightly" | Proxy against GraphQL | Loops are not an ETL tool; MCP is non-deterministic |
| "React when a PR merges" | Loops (button + status trigger) | A poller against GraphQL is a worse version of this |
The honest advice for an OpenClaw user: use the MCP server for interactive work in Slack, use Loops for scheduled work, and keep your GraphQL proxy for the two jobs that need exactness. Most teams end up with all three, and that is fine.
Five prompts that actually work
These are read-oriented and map onto what a product or engineering lead asks in the first hour of a day. They assume the /readonly endpoint.
1. The rollover check.
"Look at the current cycle for the platform team. List every issue still open, group them by state, and flag the ones that have not been updated in five days. Tell me which of those are assigned to people who are currently on leave, if you can tell."
The leave question is the one a dashboard cannot answer, and it is where a workspace-aware assistant earns its keep. Accept "I cannot tell" as an answer — that is better than a guess.
2. The blocker sweep.
"Find every issue in this cycle labelled or described as blocked. For each, summarise what it is waiting on in one sentence and name the person or team it is waiting on. Sort by how long it has been blocked, longest first."
Sorting by blockage age surfaces the quiet ones. Sorting by priority surfaces the ones everyone already knows about.
3. Stakeholder update, written from the work.
"Draft a project update for the checkout migration covering the last two weeks. Outcomes first, then risks, then what changes next week. Cite the specific issues you are drawing each claim from, and do not include anything that has not moved since the last update."
The citation requirement is what makes this usable. A summary you cannot trace is a summary someone has to re-check.
4. Triage intake.
"For the five newest issues in Triage, propose a team, a priority, and one sentence of reasoning. Do not change anything — show me the proposals first."
Read-only endpoint, proposal output, human applies. This is the pattern that survives contact with a real team.
5. Cycle retro prep.
"Summarise the last completed cycle: what shipped, what rolled over, what got cancelled, and any pattern in what rolled over (same area, same people, same kind of dependency)."
The pattern question is where it stops being a summary and starts being useful. Cancelled work is the signal most retros skip.
Pitfalls specific to Linear
/mcp/readonlyis not the same guarantee as thereadscope. One hides tools, the other restricts the token. Prefer the scope for unattended use./sseis deprecated. If a tutorial tells you to use it, the tutorial predates the change. The one legitimate use is a client that genuinely cannot do Streamable HTTP (Linear documents the WSL case with ansse-onlytransport flag).- A personal API key means "act as this human," including their blind spots. The most confusing failures are silent visibility gaps, not errors.
- Reconnecting does not switch workspace. Two workspaces need two auth contexts, and the failure mode is answering about the wrong company.
- Stale auth cache looks like a permissions bug.
rm -rf ~/.mcp-authbefore you debug anything else. - Identifiers are human-readable references (
LIN-123), not just UUIDs. An agent that asks users for IDs will getLIN-123, and the server handles it — but a proxy you wrote yourself will not unless you resolve the reference first. - GraphQL pagination is cursor-based, and the "first 50 issues" default will silently truncate a cycle report. Ask for pagination explicitly in any prompt that says "all."
- There is no service account. Plan for a dedicated user, or you have built an integration that breaks when someone resigns.
- Loops
202 Acceptedis receipt, not completion. Do not chain a second loop on the assumption that the first finished. - Merged is not deployed, and merged is a one-time status transition — a loop will not re-fire.
- Web access on a loop is data egress. Linear says so explicitly; treat it as a security decision, not a convenience toggle.
- Slack-triggered loops cannot see threads, DMs, private channels or message edits. If your team lives in threads, that loop silently never runs.
- Custom MCP connectors are governed at workspace level. On Business/Enterprise, admins can restrict loops to an allowlisted set of servers — so "the connector works in my account" and "the loop can use it" are different questions.
When Linear is the wrong place to put the assistant
If your team's questions are mostly "what is the status of X" and the answer lives in Linear, the MCP server is the right tool and this page is the whole setup.
If the questions are "what should we do next quarter", the answer is spread across Linear, a CRM, support tickets and a doc store, and a single-tool assistant will confidently answer from a third of the picture. That is the case for an assistant that sits across tools rather than inside one — see how Cody handles GitHub and Linear together, or the Jira connection guide if your engineering work is still in Jira.
And if you are evaluating Linear's own AI features rather than an external assistant, the relevant comparison is Linear Agent plus Loops against an agent that also reaches your other systems. Both are reasonable; they answer different questions.
Skip All of This — Use Cody Instead
Cody gives your team a Linear assistant in Slack, so people can check cycle progress, blocked issues, roadmap movement, and project context without opening Linear all day.
Related Guides
- Connecting OpenClaw with Jira: A Practical Guide
- Connecting OpenClaw with Github: A Practical Guide
- Connecting OpenClaw with Notion: A Practical Guide
Need the model-flexible version? See: How to Connect Linear to OpenClaw: Setup, Models, and Workflow Guide.