Linear集成
STDIO用于访问Linear资源的MCP接口
用于访问Linear资源的MCP接口
A Linear Model Context Protocol (MCP) server implementation that provides an MCP interface for accessing Linear resources.
git clone [email protected]:Iwark/linear-mcp-server.git cd linear-mcp-server npm install
# Create linear.sh touch linear.sh chmod +x linear.sh # Add the following content export LINEAR_API_KEY="<YOUR LINEAR API KEY>" node /absolute/path/to/linear-mcp-server/index.js
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.
npm start
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 IDsSearch Linear issues using a query string. Supports various filters:
assignee:@me
: Show issues assigned to youpriority:[value]
: Filter by priority
priority:high
includes both Urgent and High priority issuesstate:[value]
or status:[value]
: Filter by state nameteam:[value]
: Filter by team namelabel:[value]
: Filter by label nameRead 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 detailsThe server implements rate limiting with:
The server provides detailed error messages for: