Issue trackersLinear

Install the Linear CLI and MCP server

Install the Linear CLI with npm, check it with doctor and pick a profile for your Linear account.

Connect your Linear workspace once, and from then on your AI agent answers about your issues without you pasting them into the chat. Linear lets a program in only with a personal API key that you make in Linear's settings. Making the key, installing linear and signing in take about five minutes.

When you finish, the agent on this computer reads a copy of your issues, projects and comments, even without the internet, and changes issues as far as your key and your permissions allow.

You can do it all in WireCat Desktop, an app that installs the tools for you, or in a terminal with npm. Either way you need one personal API key.

On this page:

  1. In short
  2. What you need
  3. Make a personal API key
  4. In WireCat Desktop
  5. In a terminal
  6. Sign in
  7. Check that it works
  8. Sign out

In short

  1. Make the key on Linear's side.
  2. In WireCat Desktop: on the Tools page, click Install on the Linear row, then Manage and Sign in here, and paste the key.
  3. Or in a terminal, install the tool, sign in with the key and copy your data:
npm install -g @wirecat/linear-cli
linear work session start
linear work sync

What you need

  • A Linear workspace where you may make API keys. Admins always may. Members may unless an admin turned it off under Settings → Administration → API → Member API keys.
  • For the terminal: Node.js 22.16 or a later 22.x, or Node.js 24 or later. Node 23 is not supported. WireCat Desktop sets up Node.js itself.

Make a personal API key

Linear describes these steps on its page about the API and webhooks.

  1. In Linear, open Settings → Account → Security & access.
  2. Create a new personal API key and give it a name, such as WireCat.
  3. Choose its access. Read is enough to copy and search the workspace. Add Write if your agent may create and change issues. You can also limit the key to some teams.
  4. Copy the key. Linear shows it only once.

In WireCat Desktop

  1. On the Tools page, click Install on the Linear row.
  2. Click Manage, type an account name, such as work, and click Sign in here.
  3. Paste the key. Desktop checks it with Linear before it saves it.

Desktop also gives your AI agents the tool's skill, so you can skip the rest of this page.

In a terminal

Install linear once on each computer where you or an agent use it:

npm install -g @wirecat/linear-cli
linear --version
linear doctor

doctor needs no network and opens no keyring. It shows the version, where settings live, the profiles that exist, and whether other users of the computer can read the settings.

Give your terminal agent the tool's skill, the short guide to its commands. An app that connects to MCP servers uses the tool over MCP instead, as use it shows.

linear skill install

Sign in

A profile is a name you choose for one Linear account, such as work. It is the first word of every command that uses an account. Sign the profile in with your key:

linear work session start

The command asks for the key without showing it, or reads it from stdin, never as an argument. Linear checks the key first. Then it goes into the system keyring, or into a private file with --credential-storage file where no keyring works.

Check that it works

linear work session status --check
linear work sync
linear work issues list type:started

session status --check asks Linear whose key it is. sync copies the workspace, and issues list shows the issues in progress from the copy.

Sign out

linear work session end forgets the key on this computer. The key itself stays valid in Linear until you revoke it in the same settings page.

Next: use it.