Linear MCP Server
by Iwark
Linear MCP Server
A Linear Model Context Protocol (MCP) server implementation that provides an MCP interface for accessing Linear resources.
Setup with Cursor
- Clone the repository and install dependencies:
Copy
- Create a startup script:
Copy
- Configure in Cursor:
- Open Cursor settings
- Add a new server in the MCP Server section
- Select Type:
Command
- Set Command:
sh /absolute/path/to/linear.sh
Now you can use the Linear MCP server from within Cursor.
You can obtain your Linear API key from the Linear settings page.
- Start the server:
Copy
Available Tools
create-issue
Create a new Linear issue with specified parameters:
title
(required): Issue titleteamId
(required): Team IDdescription
(optional): Issue descriptionpriority
(optional): Issue priority (0: No priority, 1: Urgent, 2: High, 3: Medium, 4: Low)stateId
(optional): State IDassigneeId
(optional): Assignee IDestimate
(optional): Issue estimatelabelIds
(optional): Array of Label IDs
search-issues
Search Linear issues using a query string. Supports various filters:
assignee:@me
: Show issues assigned to youpriority:[value]
: Filter by priority- Numeric values (0-4)
- Text values: "no", "urgent", "high", "medium", "low"
- Note:
priority:high
includes both Urgent and High priority issues
state:[value]
orstatus:[value]
: Filter by state nameteam:[value]
: Filter by team namelabel:[value]
: Filter by label name- Free text search for title and description
read-resource
Read Linear resources using URIs:
linear://organization
- Organization detailslinear://issues
- List of issueslinear://issues/{id}
- Specific issue detailslinear://teams
- List of teamslinear://teams/{id}
- Specific team details
Rate Limiting
The server implements rate limiting with:
- 1000 requests per hour limit
- Automatic request tracking
- Metrics included in each response
Error Handling
The server provides detailed error messages for:
- Linear API errors
- Rate limit exceeded
- Invalid resource types
- Authentication issues
You must be authenticated.
Enables interaction with Linear resources through an MCP interface, offering functionality for issue management and resource retrieval with rate limiting and error handling support.