linear-mcp
Provides read-only tools for interacting with Linear, including listing teams, cycles, issues in a cycle, getting issue details, and searching issues.
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-mcp list issues in the current cycle"
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-mcp
A small, read-only Model Context Protocol server for Linear. Bring your own Linear API key.
Written because none of the existing community Linear MCP servers were maintainers I wanted to trust with a personal API key, and because the surface I actually needed (list issues in a cycle, get an issue, search) is small enough to own outright.
What it exposes
Five read-only tools:
Tool | Purpose |
| Enumerate teams in the workspace (key, name, UUID). |
| List cycles for a team, filterable by past / current / future. |
| Issues in a specific cycle. Accepts |
| Full details for one issue, including description, labels, and recent comments. |
| Text search across the workspace's issues, optionally scoped to a team. |
No mutation tools — this server can't create, edit, or delete anything in Linear. That's a deliberate choice; adding write tools is a separate PR.
Related MCP server: Linear Cache MCP
Install
Requires Node 20 or later.
git clone https://github.com/puneetsharma2791/linear-mcp.git
cd linear-mcp
npm install
npm run buildThat produces dist/index.js, which is the executable the MCP host will run.
Get a Linear API key
Click Create key, name it something like "MCP - laptop".
Copy the key — it starts with
lin_api_. You won't see it again.
The key inherits your Linear permissions, so this server will see whatever you can see in the Linear app.
Wire into Claude Code
Edit your MCP client config (for Claude Code, typically
~/.config/claude/claude_desktop_config.json or the equivalent per OS; for
Claude Code CLI check claude --help):
{
"mcpServers": {
"linear": {
"command": "node",
"args": ["/absolute/path/to/linear-mcp/dist/index.js"],
"env": {
"LINEAR_API_KEY": "lin_api_..."
}
}
}
}Restart the client. Tools will appear as linear__list_teams,
linear__get_issue, etc.
Other MCP clients
Any MCP client that speaks stdio works. Point its "server command" at
node /absolute/path/to/linear-mcp/dist/index.js and pass LINEAR_API_KEY
in the environment.
Development
cp .env.example .env # then paste your API key
npm install
npm run dev # tsc --watch — rebuilds on editSmoke-test the built server by piping an MCP handshake in on stdin:
LINEAR_API_KEY=lin_api_... node dist/index.js < /dev/null &
# The server will exit cleanly on stdin close. To exercise a tool call,
# see the MCP inspector: https://github.com/modelcontextprotocol/inspectorAdding a new tool
Each tool is one file under src/tools/ with three exports:
a schema (
{name, description, inputSchema}) — declared to the MCP clienta zod parser — validates arguments at call time
an async handler — runs the query and returns a plain object
Then add one entry each to ListToolsRequestSchema and the dispatch
switch in src/index.ts. That's the whole flow.
License
MIT. See LICENSE.
Available Tools
5 toolsget_issueA
Fetch full details for one Linear issue. Accepts either the human identifier (e.g. 'HYD-123') or the internal UUID. Returns description, state, assignee, cycle, labels, and the most recent comments.
Inputs: id (required), include_comments.
list_cyclesA
List cycles (sprints) for a team. Cycles have per-team monotonic numbers (HYD-cycle-2 is different from another-team-cycle-2). Filter by scope to narrow to only past, current, or future cycles.
Inputs: team (required), limit, scope.
list_issues_in_cycleA
List issues in a Linear cycle. Provide EITHER cycle_id (from list_cycles) OR both team and cycle_number. Returns identifier, title, state, assignee, priority, estimate — enough to render a cycle overview.
Inputs: team, limit, state, cycle_id, +1 more.
list_teamsA
List every team in the Linear workspace. Returns each team's identifier (key), human-readable name, and UUID. Use this first when you don't know a team's key.
Inputs: no named parameters.
search_issuesA
Search the workspace's issues by text. Matches title, description, and comments. Returns identifier, title, state, URL — shape aligned with list_issues_in_cycle so results can be treated the same way.
Inputs: query (required), team, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: fetching a single issue, listing cycles, listing issues in a cycle, listing teams, and searching issues. No overlap in functionality.
All tool names follow a consistent verb_noun pattern (get_issue, list_cycles, list_issues_in_cycle, list_teams, search_issues), making it predictable.
5 tools is well-scoped for a Linear workspace, covering the core entities (teams, cycles, issues) without unnecessary tools.
The set covers read operations comprehensively but lacks any create/update/delete tools for issues or other entities, which is a notable gap for a project management server.
Maintenance
Related MCP Connectors
Issues, projects, cycles, and roadmaps via the official Linear hosted MCP server.
Unofficial Linear MCP — wraps the Linear GraphQL API (OAuth)
Search, read and create Linear issues, projects, teams and cycles.
Find and manage issues, projects, and documents in your Linear workspace.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server for managing Linear issues, projects, teams, and milestones through the Model Context Protocol. It enables users to create, update, and list workspace resources including issue statuses, comments, and user details.ISC
- AlicenseNot gradedqualityDmaintenanceCache-first MCP server for Linear that provides tools to search, read, create, update, and comment on issues and projects, caching data locally to reduce API calls and respect rate limits.1MIT
- AlicenseBqualityFmaintenanceMCP server for accessing and managing Linear resources like issues, projects, and comments with full CRUD operations and search.21140 npm1MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for Linear that allows creating issues, adding comments, and listing issues and teams.4MIT