linear-strict
One line: An opinionated Linear MCP server that treats the ticket description as current state and comments as the log, enforcing its rules on every write.
Read a ticket whole (
get_issue): full description, every comment oldest-first, relations, children, attachments, linked PRs, plusfindings,driftandomittedso nothing is silently lossy.See the description's history (
description_history): past versions with who changed what and a line diff, plus per-lineblame.List whole sets:
list_issues(paged to the end, refused past 2000),list_teamswith workflow states,list_cycles,list_projects,list_initiatives.Claim before working (
claim,check_claim): snapshot the description, refuse another agent's ticket, and diff what changed under you.Patch the description (
set_state) section by section (Impact, Observed, Cause, Fix, Done when) withbase=description_sha, so a stale patch is refused with what changed; tick aDone whenitem only with cited evidence.Reconcile the thread by moving the marker (
reconciled_through+accounts_for), so drift stops being invisible.Post typed comments (
comment): evidence, correction (must carry the patch that makes it true), ask, answer (flips the question row), closed_by (sets the Linear relation).Move status (
set_status): completed states pass the Done gate (all items ticked and cited, PRs merged on main, your claim); canceled needs a reason.Change fields (
set_fields): title, priority, assignee/delegate, labels, cycle, project, milestone, parent, dates, estimate, relations and linked PRs.File tickets (
create_issue): validated sections, placed against the closest open tickets, refusing overlaps until you widen, parent, or explain withnew_because/distinct_from.Handle notifications:
notifications,get_principal_notifications,mark_notifications_read,mark_principal_notifications_read;whoamisays whose identity you are.Enforced guards:
no-agentstickets refuse all writes, unticking a check needs person or judge sign-off, and release-note labels/lines are checked (warn or block).Beyond MCP: the same rules from a script via
linear-strict/library, and an offline citation audit (audit export/audit check).
Provides tools for interacting with Linear issues, comments, projects, teams, cycles, and initiatives. Enforces structured ticket descriptions, comment typing, drift detection, validated section patches, claim-based completion, Done-gate checks, and hands-off labels for agent workflows.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linear-strict read ENG-412 whole, report drift, then claim it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
linear-strict
Unofficial and opinionated. This is an independent project, not affiliated with or endorsed by Linear. It enforces one team's way of keeping tickets current, and it refuses writes that other Linear servers would make. For Linear's own MCP server, see linear.app/docs/mcp.
An MCP server for Linear for teams where agents keep tickets up to date. It reads a ticket whole and treats the description as the ticket's current state. The rules are enforced in the server, so a prompt that goes unread or a client hook that stops matching can't switch them off.
It has one runtime dependency, the MCP SDK. It began as a fork of tacticlaunch/mcp-linear (MIT), whose OAuth login it keeps.
The problem it addresses
Linear keeps full history, yet agents working from it drift:
State ends up in comments. A comment answers the ticket's open question and the description still says it is open. Nothing marks which claim is current.
Reads are lossy without saying so. Listings cut descriptions short, comment APIs default to newest first, and summaries read like the whole ticket.
Tickets change after they are read. An agent works from a snapshot, acceptance criteria are added later, and the work ships without them.
Rules in client hooks go dark when a server is renamed and the matcher no longer fires.
Related MCP server: Coordination MCP
How it works
Description is state, comments are the log. The description has named sections:
Observed,Cause,Fix,Done when,Open questions. It changes only through validated section patches. AnObservedline must readYYYY-MM-DD · source · result(a time after the date is fine), andDone whenlines must be checklist items.A reconciled marker is the description's HEAD. It records the last comment the description accounts for, when that was checked, and the hash of the description it was checked against. It lives in one attachment on the ticket, titled "linear-strict: description reconciled through …", so the description stays clean. Every read reports comments after it, comments edited since the check, and edits to the description made outside this server, as
drift.Repair on read. Not everyone on a team will use this server.
get_issuereports formatfindingsanddrifton tickets written from any client, and tells the agent to fold them into the description.Whole reads. Every comment, oldest first, across all pages.
list_issuesand the workspace lists (teams, cycles, projects, initiatives) walk every page too, so an agent never holds a cursor it can stop following. Anything not fetched is listed inomitted; a gap is never silent.Typed comments.
evidence,correction,ask,answerandclosed_by. A correction must carry the description patch that makes it true. An answer flips its question row.closed_byalso sets the Linear relation.Writes name what they were written against.
get_issuereturns a hash of the description,description_sha. A patch passes it asbaseand is refused, with what changed, if the description moved since that read. Linear has no conditional update, so this is how a patch shows it was built from the current text.Claim, then a Done gate.
claimrecords the description as it stands. Moving to a completed state needs aDone whensection with every item ticked and cited (- [x] item · <SHA, PR, file:line, link, CI run, Observed 2, or a command and its result>), any cited PR that is linked to the ticket merged, and your claim, and is refused with a diff if the description changed since then. Priority or label changes don't count. Dropping an unticked item needs a reason and a yes from the person at the client, or from a model judge in unattended sessions.Shipped-state facts. A ticket marked Done or Merged with no linked pull request, or with PRs merged only into a non-main branch, gets a finding. The facts come from Linear's GitHub attachment metadata.
A release-note label and line on every ticket. Where the workspace has the labels
release-noteandrelease-note-none,create_issueneedsrelease_note(yes,none, orselfhostwhererelease-note-selfhostexists) and records it as one of them, andget_issueflags a ticket that carries none of them. The agents' own team defaults tonone. Whoever writes the ticket decides once whether a visitor will notice it, the way Kubernetes'release-note-noneworks, instead of a model ranking every shipped ticket at release time.set_fieldschanges it withrelease_note. What the note says is the ticket's## Release notesection, one line written when the work ships:<Added|Changed|Fixed|Removed|Security> · <Alpha|Gap Map|AI Potluck|Self-host> · <sentence> · flag: <key|none>, orNONE, which moves the ticket torelease-note-nonein the same write. Moving arelease-noteorrelease-note-selfhostticket to Merged, Verify or a completed state without a line that parses returns arelease_note_missingwarning; withLINEAR_STRICT_RELEASE_NOTE_GATE=block,set_statusrefuses the move.A hands-off label. A ticket labelled
no-agents(configurable) is people-only: every write through this server is refused, and reads still work.Authorship. An agent (app) token writes as the agent. A personal key writes comments headed
🤖 <agent> via <person>. Each comment on a read is markedagentorperson, with the basis for that call.
Related work
Linear's agent best practices warn that "Comments may not be reliable to read from, as they are editable and may have changed since your agent’s last run." Their answer, Agent Activities, covers agents running in Linear's Agent Sessions. Here,
driftlists comments edited after the description accounted for them.Linear's agent team found it "more effective to encode constraints into the design of Linear Agent’s tools than to spell them out in a prompt", which is the approach this server takes.
claimfollows their delegation model: a person stays the assignee, accountable for the result, and the agent is the delegate.Linear keeps version history and text attribution for documents.
description_historyreads the same snapshots for an issue's description.OpenAI's Symphony keeps an agent's progress in one persistent comment per ticket and tells the agent to leave Backlog tickets alone. This server keeps that state in the description, which Linear versions and every client shows first, and enforces the hands-off label in the server rather than in the prompt.
Cyrus has each sub-issue's agent hand back verification commands for the parent to run, and openclaw-linear-plugin has a separate auditor so the worker "cannot self-certify". The Done gate here asks for cited evidence but still lets the agent that did the work supply it.
Staleness in the wild: herdr-factory#97 shipped work against a ticket snapshot that lacked acceptance criteria added later, trac-mcp#57 had an agent stop trusting an MCP server after silent data loss, and beads#3708 and catalyst-otel#68 had Linear mirrors go stale without saying so.
Install
Quickstart (Claude Code)
Get a Linear credential. A personal API key (Linear → Settings → Security & access → Personal API keys) writes as you. An agent (app) token, an OAuth token for a Linear app with
actor=appstarting withlin_oauth_, writes under the agent's own identity and can be set as a ticket's delegate.Add the server and the sign-off hooks:
npm install -g https://github.com/justinstimatze/linear-strict/releases/download/v0.2.0/linear-strict-0.2.0.tgz claude mcp add linear-strict -e LINEAR_API_TOKEN=<token> -- linear-strict linear-strict installReconnect with
/mcp, then ask the agent to read a ticket.
You need Node 22 or later. Each GitHub release carries the built package; it is not on npm. To upgrade, npm install -g the newer release's .tgz, then run linear-strict install again and reconnect.
To work on it, run it from a checkout instead:
git clone https://github.com/justinstimatze/linear-strict.git
cd linear-strict && npm ci && npm run build
claude mcp add linear-strict -e LINEAR_API_TOKEN=<token> -- node "$PWD/dist/index.js"
node dist/index.js installAfter a git pull, run npm run build again and reconnect the server.
Pin the version, and give the server its own name, linear-strict. Tool names such as get_issue also exist on Linear's official server, so the server name is what tells an agent and any hook matcher which rules apply. To sign in through the browser instead of pasting a token, see OAuth login.
The two hook installers
linear-strict installadds the sign-off hooks to~/.claude/settings.json, once per machine.install --statussays whether they are installed and whether they can still run;install --uninstallremoves them and nothing else. Installed through npx, the hooks run the same pinned version through npx, since npm prunes the cache npx runs from. After upgrading, runinstallagain so the hooks match the server; until then the server asks through the form.examples/claude-code-hooks/install.shis optional and per project: it refuses ticket writes through other Linear servers and runs a project's own Linear checks on strict writes (Blocking writes through other Linear servers). Its hooks run its scripts by path, so run it from a checkout or the global install above, not through npx.
The two write different entries and can both be installed.
Other clients
Claude Desktop, in claude_desktop_config.json, after the global install above:
{
"mcpServers": {
"linear-strict": {
"command": "linear-strict",
"env": { "LINEAR_API_TOKEN": "<token>" }
}
}
}Everything except sign-off works the same in any MCP client. Sign-off depends on what the client offers:
Client | How a descope is approved |
Claude Code with |
|
Claude Code without the hooks | An elicitation form, with rows of about 100 characters |
Other clients that support MCP elicitation | That client's elicitation form |
Clients without elicitation, Claude Desktop included as far as its docs say | Refused; a person makes the edit in Linear, or run with |
Hooks are a Claude Code feature, so no other client gets the preview route.
Sign-off
Dropping or rewording an unticked Done when item removes a check that has not passed, so someone other than the agent approves it. LINEAR_STRICT_SIGN_OFF picks who:
person(the default): the person at the client. In Claude Code with the sign-off hooks installed,set_statehands the agent anAskUserQuestionto put to them, and the change is shown in full in its preview box. A hook refuses the question if the agent changes a word of it, another hook records the answer, and the retry is approved from that record, never from what the agent says. Elsewhere, and in Claude Code without the hooks, the server asks through an MCP elicitation form, which Claude Code shows as rows of about 100 characters.judge: a model with no stake in the ticket decides, so an unattended session never waits for someone who isn't there. It reads the ticket's description, the change, the reason and the risk, approves only when the description backs the reason, and the descope comment names the model and gives its reason for a person to review later. It needs an Anthropic API key:linear-strict auth judge-key setsaves one from a hidden prompt to$XDG_CONFIG_HOME/linear-strict/anthropic-api-key(mode 600), next to theauth logincredentials, or setANTHROPIC_API_KEYin the server's environment, which wins. A key of its own, in a workspace with a spend limit, keeps the judge's cost on its own line.LINEAR_STRICT_JUDGE_MODELoverrides the model (defaultclaude-opus-5-5). Each verdict is one API call of about 2 seconds, roughly 900 input tokens (most of them the cached brief) and 90 output tokens, well under a cent at Opus 5.5's rates (measured 2026-09-27). If the call fails (no credit, an outage, a refusal), the descope is refused with the error and nothing changes. MCP sampling would let the judge run on the client's own model with no key, but Claude Code doesn't offer it to servers (2.1.283 declareselicitationandrootsonly).
The hooks only guard against an agent cutting corners. An agent with a shell could still write an answer record by hand; a third hook refuses tool calls that name the records' directory, which closes the obvious route.
Blocking writes through other Linear servers
The server can only enforce its rules on writes that go through it. If Linear's official server is also connected, an agent can still edit a ticket there. examples/claude-code-hooks has Claude Code hooks that refuse ticket writes through other Linear servers and run a project's own Linear checks on strict writes. They are optional, and they are the only part of this setup that lives in the client.
OAuth login
linear-strict auth login signs in through the browser and stores a refreshing token, which the server uses when no token is set in its environment. It needs a Linear OAuth application of your own: create one at https://linear.app/settings/api/applications/new with the redirect URI http://localhost:8734/callback, then:
linear-strict auth login --client-id <client id> # global install
node dist/index.js auth login --client-id <client id> # from a checkoutThe flow uses PKCE, so a client secret is optional. auth status shows whether you're signed in and when the token expires. auth logout revokes the token and deletes it. Credentials live in $XDG_CONFIG_HOME/linear-strict/credentials.json, readable only by you.
Configuration
Variable | Default | Purpose |
| — | Personal API key, or a |
| — | Any OAuth access token, sent as Bearer |
|
| Branch a PR must merge into for Done to count as shipped |
|
| Environment named in |
|
| The labels |
|
| What |
|
| Comma-separated labels that make a ticket people-only: every write through this server is refused, reads still work |
|
| Who approves dropping an unticked |
|
| The model that decides when |
|
| How |
| — | The judge's key, if not saved with |
| — | Comma-separated team keys whose tickets may carry a |
| — | Path to the project's checks rulebook, a JSON file (below). Read once at startup, with its sha256 logged to stderr, so a change takes effect on restart. Setting only one of the two variables, or a rulebook that is missing, unreadable, not JSON or lacks a required field, leaves |
|
| Where claim records and pending sign-offs are kept |
|
| Where |
|
|
|
| — |
|
Claim records live on the machine running the server. A Done check from a machine with no claim on record is refused.
Checks rulebook
## Checks rules are data. The server reads them from the rulebook and runs its own interpreter (src/checks.ts); it never loads project code. The file is either the checks block itself or a JSON object with a checks key. Required fields:
Field | Type | Meaning |
| string | The exact heading line, e.g. |
| string, regex, 6 groups | A check line: box ( |
| string, regex | What a provenance comment's body must match |
| string, regex, 1 group | Each Impact quote in a provenance comment, matched globally, e.g. |
| string | The target's shape, quoted in refusals |
| string, regex | What a target of that kind must match |
| string[] | Words that never need an Impact quote |
| integer | Shorter words never need one either |
Patterns are JavaScript regular expressions with no flags. They must run in linear time (no nested quantifiers such as (a+)+, no overlapping alternatives under a repeat): the server runs them on every write, on one thread, so a pattern that backtracks on a long line stalls every tool call. Coverage normalises text by lower-casing it and turning each run of characters that are not letters or digits into one space. An Impact whose first word is none claims only what follows its first colon, or nothing without one, unless the next word is of: none of the visitors can sign in is a claim like any other, as is a first word that only starts with none, such as nonetheless.
On a listed team, a check is graded only by the project's grader, which reads each check's evidence and writes Linear itself, not through this server. So a write that ticks a check, adds one ticked, or rewords one and keeps its tick is refused (unticking is allowed), and set_status to a completed state is refused on any ticket with a ## Checks section: the grader closes it once every check has its evidence. A ticket without the section is gated on Done when as before. A ticket on a listed team holds Done when or ## Checks, never both: a write whose result has both is refused, so adding ## Checks to a ticket with Done when must remove Done when in the same write (a migration, where every dropped item moves into a check or goes to sign-off), and any write to a ticket that already has both must remove Done when. Moving a ticket to Canceled is not a close and is not gated. The section is found by the same reader as every other section (a heading at column 0, outside a code fence; a ### inside it belongs to it, as it does inside Done when), and its heading must be exactly the rulebook's section; a body line that is that heading behind leading whitespace is refused in every section. Impact coverage reads the Impact and every quote without default-ignorable code points (soft hyphen, zero-width space and the rest), and an Impact whose first word is none, unless of follows it, exempts its opening clause; the text after its first colon is still a claim. A Done when item moves into ## Checks with no sign-off only as the whole claim of one new, unticked check of kind walk whose target ends in /visitor (a rulebook with no such kind gets no exemption); any other kind or target is a choice someone approves. A write that adds an id is refused when Linear returns no document history for the ticket, or one with no versions in it, since a retired id could not be ruled out.
src/__tests__/fixtures/checks-conformance.json holds cases with expected readings, for any other implementation of the same rules to test itself against. LINEAR_STRICT_CHECKS_RULEBOOK_TEST=<path> npm run test:unit runs them against another rulebook.
One server per connection
Claude Code's /mcp reconnect starts a new server and leaves the old one running with its pipes open, so the old one never sees its input close. Each server records its pid under LINEAR_STRICT_STATE_DIR/instances, keyed by its parent process and launch settings. When a newer server has replaced it and it has served no tool call for a minute since, the older one exits. A server whose parent exits, or whose input closes, exits too.
Reconciled marker
Each ticket this server has reconciled carries one attachment titled "linear-strict: description reconciled through date". It records the last comment the description accounts for, when that was checked, and a hash of the description at the time, so the next agent to read the ticket knows which comments are new and whether the description was edited elsewhere since. Deleting it does no harm: agents then check the whole thread again, and the next reconcile puts it back. It is written by whoever runs this server, not by Linear.
Tools
Tool | What it does |
| Whole ticket, plus |
| Past versions of the description with who made each and a diff; |
| Every matching ticket in one call, paged to the end by the server: identifier, title, state, assignee, delegate and |
| Take a ticket and snapshot its description; refuses one another agent holds |
| Whether the description changed since your claim, with a diff |
| Patch description sections and/or move the reconciled marker |
| Typed comment: |
| Move to a workflow state; completed states pass the Done gate |
| Priority, owner, labels, cycle, project, milestone, parent, dates, relations and linked PRs; never the description or state |
| New ticket with validated sections, under a parent or in a project, placed against the closest open tickets |
| Teams with their workflow states in board order |
| Cycles, active and next by default; pair a number with |
| Open projects and initiatives with status, owner and dates |
| Your inbox as pointers (ticket, type, actor, time), no excerpt text, paginated |
| The same, for the human this identity acts for, on their own credential — needs |
| Mark the principal's notifications read: ones |
| Mark handled notifications read |
| The user or app behind the token, which is who claims and |
The server also returns these rules as MCP instructions on initialize, so an agent learns the workflow when it connects. TOOLS.md has each tool's arguments, and docs/design.md the reasoning behind the rules, their limits, and what is still open.
From a script
A program that files tickets, such as a CI job turning test findings into tickets, can go through the same rules without an agent in between:
import { StrictLinear, OverlapRefusal, linearGql, memoryClaimStore } from 'linear-strict/library';
const strict = new StrictLinear({ gql: linearGql({ token }), claims: memoryClaimStore() });
try {
await strict.createIssue({ team: 'ENG', title, sections, project_id });
} catch (error) {
if (!(error instanceof OverlapRefusal)) throw error;
// error.candidates: the closest open tickets. Comment on the one this repeats,
// file under one with parent, or retry with new_because and distinct_from.
}Citation audit
Tickets cite code by path:line and by commit hash, and nothing checks either once the ticket is written. The audit does, offline, in two steps:
linear-strict audit export --team ENG --out eng.jsonl
linear-strict audit check --export eng.jsonl --repo ~/src/appexport writes each ticket's description, every saved version of it, and its comments, open tickets first. That is about three API calls per ticket, spaced one ticket every --pace seconds (20 by default, about a fifth of a key's hourly quota), so a long export doesn't crowd out the key's other users. It saves every 25 tickets. A rerun with the same --out fetches only tickets updated since, and carries on where --max-fetch (500 by default), a rate limit or an interruption stopped the last run.
check reads that file and a git checkout and makes no network calls. Each citation is dated by the description version or comment it first appears in, then compared with the cited branch (--ref, default origin/main; a repo that lands work on a branch such as develop before main passes that) as it was on that date and as it is now:
Verdict | Meaning |
| The cited lines read the same today |
| The same lines are elsewhere in the file now; the finding gives the new line |
| The cited lines say something else now; the finding gives both |
| The file is no longer on the branch |
| The cited line is a brace or blank, so it can't anchor anything |
| The branch didn't have that line or file on the day it was cited, so it was cited from somewhere else |
| More than one file ends with the cited path |
A commit-shaped hex string is on_main, off_main (--main, default origin/main), or not_a_commit_here, which is often a different kind of id: a comment, a request, a deployment. --json prints every finding; --issue narrows to named tickets.
Development
npm test # typecheck, lint, format and unused-code checks, unit tests, MCP smoke test, and the sign-off routes end to end
npm run build
node scripts/e2e/sign-off.mjs --live-judge # the same, with the judge on the real API (one call, well under a cent)
npm run test:live # against a real workspace: creates temporary tickets on LIVE_TEAM and deletes them
npm run eval # a model works tickets in the fake Linear through the strict tools; graded on final state
npm run format # Prettier; `npm test` fails on unformatted codegit config core.hooksPath hooks once, after cloning, turns on the tracked pre-commit hook: a non-blocking CodeScene delta check on staged changes when cs is on PATH. It warns and never blocks the commit.
npm run test:live needs LINEAR_API_TOKEN and LIVE_TEAM (a team key). It writes to that workspace. npm run eval needs ANTHROPIC_API_KEY; evals/README.md covers cases, caching and results.
License
MIT. See LICENSE.md; the OAuth login code is from tacticlaunch/mcp-linear and keeps its notice.
Available Tools
19 toolscheck_claimARead-onlyIdempotent
Whether the description changed since your claim, with a line diff. Run before opening or merging a PR for the ticket.
Inputs: issue (required). Returns: object
claimADestructive
Take a ticket and record the description as it stands, so a later Done check can tell whether it changed underneath you. Sets assignee to you when the ticket is unowned; sets delegate to you when a human owns it and you are an agent (app) identity. Refuses a ticket another agent holds. Claiming again after a change is how you acknowledge the new description.
Inputs: issue (required), as, take_over. Returns: object
commentADestructive
Post a typed comment. evidence: a finding, optionally with an Observed patch. correction: must carry the description patch that makes the description say the corrected thing. ask: adds an OPEN row to Open questions. answer: must name the row it closes (answers: "Q3") and flips it to ANSWERED with a link. closed_by: this ticket's work landed under another ticket; names it (closed_by), sets the Linear relation (relation "duplicate" or "fixed_there") and records it under Fix. Move the state separately with set_status.
Inputs: body (required), kind (required), issue (required), base, +6 more. Returns: object
create_issueA
Create a ticket. Before filing, ask whether the work is part of a ticket that already exists: widening that ticket, or filing under it with parent, keeps one change in one place. A new ticket needs a home, parent or project_id, and ends up in a project: a sub-ticket goes in its parent's, and a parent with no project is refused until it has one. A team with no open projects is exempt. Without a parent, the server finds the team's open tickets closest to this one and refuses until you've placed the work: under one of them (parent), into one of them (widen it and file nothing), or apart from all of them (new_because and distinct_from). The result lists what you filed on this team that no agent has taken up; filing a ticket is not doing the work, so see each into a queue. Its description is built from named sections (Observed, Cause, Fix, Done when), checked the same way set_state checks them. Include a Done when section if the ticket will be closed through set_status.
Inputs: team (required), title (required), parent, sections, +3 more. Returns: object
description_historyARead-onlyIdempotent
The description's past versions, from the snapshots Linear saves as it is edited: when, by whom, and a line diff against the version before. current says whether the live description is in a version yet, with a diff if not. With blame, every line of the current description names the version that introduced it and who made that version. Use it to see when and by whom a section or tick changed before overwriting or disputing it.
Inputs: issue (required), blame. Returns: object
get_issueARead-onlyIdempotent
Read one ticket whole: full description, every comment oldest-first (all pages), who edited the description and when, relations, children, attachments. omitted lists anything not returned; an empty list means nothing was left out. findings lists format problems in the description and drift.unreconciled_comments lists comments the description may not reflect yet, and drift.edited_after_reconcile comments edited after it accounted for them. When drift.needs_reconcile is true, fold what those comments establish into the description with set_state (reconciled_through = newest comment id) before acting on the ticket. Tickets written from other clients get repaired this way. Pass issue.description_sha as base to the write that patches the description.
Inputs: issue (required). Returns: claim, drift, issue, omitted, +8 more
get_principal_notificationsARead-onlyIdempotent
The inbox of the human this identity acts for — a different person's notifications from notifications, which is this identity's own. Same shape, deliberately a separate tool rather than a parameter, so which inbox you're reading is never ambiguous. Errors if LINEAR_PRINCIPAL_TOKEN isn't configured for this identity, or if it resolves to someone other than LINEAR_PRINCIPAL_ID.
Inputs: after, first, since, unread_only. Returns: note, order, has_more, next_cursor, +3 more
list_cyclesARead-onlyIdempotent
Cycles, earliest first. Defaults to the active and next cycle. Use a cycle number with list_issues (cycle + team) to see its tickets.
Inputs: team, when. Returns: object
list_initiativesARead-onlyIdempotent
Initiatives with status, owner and target date. Unfinished ones only unless include_closed.
Inputs: include_closed. Returns: object
list_issuesARead-onlyIdempotent
Every ticket matching the filters, in one call: the server pages through Linear to the end, so the answer is the whole set (total, by_state, and one row per ticket under columns). Rows hold identifier, title, state, assignee, delegate and updatedAt; there are no description excerpts, so read a ticket with get_issue before acting on it. More than 2000 matches is refused; narrow with open, state, cycle, project, assignee_is_me or delegate_is_me. When a task covers a set, work every row.
Inputs: open, team, cycle, query, +4 more. Returns: rows, total, columns, by_state, +1 more
list_projectsARead-onlyIdempotent
Projects with status, lead, teams, dates and progress. Open projects only unless include_closed.
Inputs: team, include_closed. Returns: object
list_teamsARead-onlyIdempotent
Every team with its key and workflow states in board order. State names are what set_status takes.
Inputs: no named parameters. Returns: object
mark_notifications_readAIdempotent
Mark notifications read once you have handled them. Reports each id separately.
Inputs: ids (required). Returns: object
mark_principal_notifications_readAIdempotent
Mark notifications in the inbox of the human this identity acts for as read — the write twin of get_principal_notifications, separate from mark_notifications_read so which inbox is written is never ambiguous. Only notifications get_principal_notifications returned in this server can be marked; others are refused per id. Pass ids, or only_agent_actors: true to mark every unread one an agent or integration caused (fleet bookkeeping), optionally only those created before a date. Needs a principal token with write access; a read-only one is refused with what to tell your user.
Inputs: ids, before, only_agent_actors. Returns: object
notificationsARead-onlyIdempotent
Your Linear inbox, newest first, as pointers: ticket, notification type, who did it (agent or person) and when. Excerpt text is left out, so read the ticket with get_issue before acting. Unread only by default; paginated with next_cursor.
Inputs: after, first, since, unread_only. Returns: note, order, has_more, next_cursor, +3 more
set_fieldsADestructive
Change a ticket's fields other than its content: title, priority, assignee or delegate, labels, cycle, project, milestone, parent, due date, estimate, relations to other tickets, and linked GitHub pull requests. The description changes only through set_state and the workflow state only through set_status. Names are resolved to ids first and the whole call is refused if any is unknown or ambiguous, so nothing is half-applied. Taking a ticket from its current assignee needs take_over; another agent's ticket is refused, and so is one delegated to someone else unless it is assigned to the human this identity acts for (LINEAR_PRINCIPAL_ID): then take_over moves the delegation and a comment records it.
Inputs: issue (required), cycle, title, blocks, +14 more. Returns: object
set_stateADestructive
Change what the ticket says is true by patching named description sections (Observed, Cause, Fix, Done when). The description is current state; comments are the log. Pass reconciled_through (a comment id) to record that the description now reflects the thread through that comment, with accounts_for saying how each skipped comment was handled. Tick a Done when item only once its check has run, and cite what showed it after the item text: "- [x] · ", where evidence is a commit SHA, a PR (#123), a file:line, a link, a CI run, "Observed 2" for a line under Observed, or command → result. A merge, a deploy, or being told something shipped is not the check; if nobody has run it, leave it open and say so. Removing or rewording an unticked Done when item needs descope_reason and descope_risk, and your user is asked to approve it from those two alone, so write them for someone without the ticket open. In Claude Code the call may come back asking you to put a question to your user with AskUserQuestion first; do exactly that, then retry with the sign_off token it gives.
Inputs: base (required), issue (required), patch, sign_off, +4 more. Returns: object
set_statusADestructiveIdempotent
Move a ticket to a workflow state by name. Moving to a completed state (Done) needs a Done when section with every item ticked and cited, any cited PR linked here merged, a linked PR merged into the main branch when any merged at all (link a promotion PR with set_fields link_prs), and your claim, and refuses, returning the diff, if the description changed since you claimed it. This call carries no evidence of its own: write it into the description with set_state first, where this check and any close gate a project hooks onto this tool read it. Moving to a canceled state skips those checks, so it needs reason, which is posted as a comment.
Inputs: issue (required), state (required), reason. Returns: object
whoamiARead-onlyIdempotent
Who this server acts as: the Linear user or app behind the token. Claims, assignee_is_me and delegate_is_me all mean this identity.
Inputs: no named parameters. Returns: id, app, name, displayName
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The set is largely distinct and even deliberately splits near-twins (mark_notifications_read vs mark_principal_notifications_read, notifications vs get_principal_notifications) with explicit rationale. The one real risk is the set_state / set_status / set_fields triple, which share a prefix and could be mis-picked at a glance, though the descriptions clearly delimit each (content vs workflow state vs other fields).
Most tools follow a verb_noun snake_case pattern (list_issues, create_issue, set_status, mark_notifications_read) with consistent prefixes for related operations. Minor deviations exist (whoami, notifications as a bare noun, claim), but overall the convention is readable and predictable.
19 tools sits just above the well-scoped band, but the strict workflow governance (claim, check_claim, set_state, set_status, comment typing, principal-inbox separation) justifies most of them. Few tools appear redundant; the count is slightly heavy rather than bloated.
Issue lifecycle is well covered (create, read, list, field edits, state transitions, claims, comments, history) plus teams, projects, cycles, initiatives and notifications. Gaps are minor: no delete/archive, no single-team/user lookups, and no global search beyond list_issues filters.
Maintenance
Related MCP Connectors
Read and write a CRM built for agents. Every change carries who asserted it and how.
Issues, projects, cycles, and roadmaps via the official Linear hosted MCP server.
Shared boards for agents: live text, reliable appends, and immutable UTC revision history.
Project tracker for AI agents and teams: file, claim, update and hand off tickets over MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables agents to manage an event-sourced, git-backed ticket store through MCP tools, supporting operations like ticket creation, claiming, and transitions.221 PyPI5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables multiple AI agents to share, incrementally synchronize, and restore work context within a common scope using persistent tickets, immutable updates, and text artifacts.MIT
- AlicenseNot gradedqualityCmaintenanceEnables agentic co-authoring of feature specs, decomposition into architecture-validated tickets, and idempotent syncing to Linear as projects with epics, sub-issues, and dependencies.MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to create, list, claim, update, and log progress on markdown-based tickets stored in repositories across multiple projects. Supports shared ticket state, status workflows, and coordination between concurrent sessions.MIT