Allows AI assistants to fetch data from Linear, specifically retrieving tickets in the 'Todo' state for users by ID or email address.
Click on "Install 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 Serverget my todo tickets for john.doe@example.com"
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 Server
A Model Context Protocol (MCP) server for interacting with Linear. This server allows AI assistants to fetch data from Linear through the MCP standard.
Current Features
Get a user's todo tickets by user ID or email address
Related MCP server: MCP Terminal
Installation
Clone this repository
Install dependencies:
npm installCreate a
.envfile at the root of the project (copy from.env.example):LINEAR_API_KEY=your_linear_api_key_hereGet your Linear API key from the Linear Developer Console
Development
Run the development server (with hot reload):
npm run devBuilding for Production
Build the TypeScript code:
npm run buildRun the compiled code:
npm startUsing with MCP clients
This MCP server implements the standard MCP protocol and can be used with any MCP client. The server exposes the following tools:
Using with Claude Code
To use this MCP server with Claude Code, run the following command:
claude mcp add linear-mcp-server -- node dist/index.jsThis registers the Linear MCP server with Claude Code, allowing you to access Linear tickets directly from your Claude conversations.
get-user-todo-tickets
Gets all tickets in the "Todo" state for a specified user.
Parameters:
userId(optional): The ID of the useremail(optional): The email of the user
Note: You must provide either userId or email.
Example response:
[
{
"id": "issue-id",
"identifier": "PROJ-123",
"title": "Fix login issue",
"url": "https://linear.app/...",
"priority": 1
},
...
]Contributing
Contributions are welcome! Feel free to submit a pull request.
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.