Linear MCP Server
Provides tools for interacting with Linear's API, enabling management of issues, projects, and teams programmatically through the Linear platform.
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 Server create a new issue for the login bug"
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
An MCP server for interacting with Linear's API. This server provides a set of tools for managing Linear issues, projects, and teams through Cline.
Setup Guide
1. Get Linear API Token
You can use either a Developer Token or a Personal API Key.
Option 1: Developer Token
Go to Linear: Workspace Settings > API > OAuth application > Create or select an application (e.g., "Cline MCP").
Under "Developer Token", click "Create & copy token".
Select "Application" as the actor and copy the generated token.
Option 2: Personal API Key
Go to Linear: Your Personal Settings > API > Personal API Keys.
Click "Create key", give it a label (e.g., "Cline MCP"), and copy the generated key.
2. Configure Cline MCP
Open your Cline MCP settings file:
macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonWindows:
%APPDATA%/Code/User/GlobalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonLinux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Add the Linear MCP server configuration:
{ "mcpServers": { "linear": { "command": "npx", "args": ["-y", "mcp-server-linear"], "env": { "LINEAR_ACCESS_TOKEN": "your_linear_api_token_here" }, "disabled": false, "autoApprove": [] } } }
That's it! The server will be automatically downloaded and run through npx when needed.
If you use Cline/Roo, you can also simply tell it install the MCP from https://github.com/dvcrn/mcp-server-linear and it'll do the rest.
Related MCP server: Linear MCP Server
Available Actions
The server currently supports the following operations:
Issue Management
✅ Create issues with full field support (title, description, team, project, parent/child relationships, etc.)
✅ Update existing issues (priority, description, etc.)
✅ Delete issues (single or bulk deletion)
✅ Search issues with filtering and by identifier
✅ Associate issues with projects
✅ Create parent/child issue relationships
✅ Comment management (create, update, delete comments)
✅ Comment resolution handling (resolve/unresolve comments)
✅ Create customer needs from attachments
Project Management
✅ Create projects with associated issues
✅ Get project information
✅ List all projects with optional filtering
✅ Associate issues with projects
✅ Project milestone management (create, update, delete)
✅ List and filter project milestones
Team Management
✅ Get team information (with states and workflow details)
✅ Access team states and labels
Authentication
✅ Personal Access Token (PAT) authentication
✅ Secure token storage
Batch Operations
✅ Bulk issue creation
✅ Bulk issue deletion
Bulk Updates (In Testing)
🚧 Bulk issue updates (parallel processing implemented, needs testing)
Features in Development
The following features are currently being worked on:
Issue Management
🚧 Complex search filters
🚧 Pagination support for large result sets
Metadata Operations
🚧 Label management (create/update/assign)
Project Management
✅ Project milestone management
🚧 Project template support
🚧 Advanced project operations
Authentication
🚧 OAuth flow with automatic token refresh
Performance & Security
🚧 Rate limiting
🚧 Detailed logging
🚧 Load testing and optimization
Parent/Child Issue Relationships
The server supports creating and managing hierarchical relationships between issues:
Creating Sub-issues
You can create sub-issues by specifying a parent issue's UUID when creating a new issue:
{
"title": "Sub-task Implementation",
"description": "Implement this specific part of the parent task",
"teamId": "team_uuid",
"parentId": "parent_issue_uuid"
}Note: The parentId must be the UUID of the parent issue, not the issue identifier (e.g., use the UUID, not "ENG-123").
Using Multiple Linear Workspaces
You can connect to multiple Linear workspaces by adding the Linear MCP server multiple times with different TOOL_PREFIX values. This allows you to work with separate Linear workspaces within the same Cline environment.
Configuration Example
{
"mcpServers": {
"company1-linear": {
"command": "npx",
"args": ["mcp-server-linear"],
"env": {
"LINEAR_ACCESS_TOKEN": "your_company1_linear_token_here",
"TOOL_PREFIX": "company1"
},
"disabled": false,
"autoApprove": []
},
"company2-linear": {
"command": "npx",
"args": ["mcp-server-linear"],
"env": {
"LINEAR_ACCESS_TOKEN": "your_company2_linear_token_here",
"TOOL_PREFIX": "company2"
},
"disabled": false,
"autoApprove": []
},
"company3-linear": {
"command": "npx",
"args": ["mcp-server-linear"],
"env": {
"LINEAR_ACCESS_TOKEN": "your_company3_linear_token_here",
"TOOL_PREFIX": "company3"
},
"disabled": false,
"autoApprove": []
}
}
}How It Works
When you set a TOOL_PREFIX value:
All tool names are prefixed with it (e.g.,
company1_linear_create_issue)Tool descriptions include the prefix (e.g., "For 'company1' Linear workspace: Create a new issue")
This makes it clear which workspace each tool is operating on and prevents conflicts between different Linear instances.
Contributing
If you want to contribute to the development of this MCP server, follow these steps:
Clone the repository
Install dependencies:
npm installCopy
.env.exampleto.env:cp .env.example .envAdd your Linear API token to
.env:LINEAR_ACCESS_TOKEN=your_personal_access_token
Development
# Install dependencies
npm install
# Run tests
npm test
# Build and run the server locally
npm run build
npm start
# Or use development mode with auto-reload
npm run devIntegration Testing
Integration tests verify that authentication and API calls work correctly:
Set up authentication in
.env(PAT recommended for testing)Run integration tests:
npm run test:integration
For OAuth testing:
Configure OAuth credentials in
.env:LINEAR_CLIENT_ID=your_oauth_client_id LINEAR_CLIENT_SECRET=your_oauth_client_secret LINEAR_REDIRECT_URI=http://localhost:3000/callbackRemove
.skipfrom OAuth tests insrc/__tests__/auth.integration.test.tsRun integration tests
Available Tools
25 toolslinear_auth_callbackC
Handle OAuth callback
Inputs: code (required).
linear_bulk_update_issuesB
Update multiple issues at once
Inputs: issueIds (required), update (required).
linear_create_commentC
Creates a new comment on an issue
Inputs: body (required), issueId (required).
linear_create_customer_need_from_attachmentC
Creates a new customer need from an attachment
Inputs: attachmentId (required), title, description, teamId.
linear_create_issueB
Create a new issue in Linear
Inputs: title (required), description (required), teamId (required), parentId, +5 more.
linear_create_issuesC
Create multiple issues at once
Inputs: issues (required).
linear_create_project_milestoneC
Create a new project milestone
Inputs: projectId (required), name (required), description, targetDate, +1 more.
linear_create_project_with_issuesB
Create a new project with associated issues. Note: Project requires teamIds (array) not teamId (single value).
Inputs: project (required), issues (required).
linear_delete_commentB
Deletes a comment
Inputs: id (required).
linear_delete_issueC
Delete an issue
Inputs: id (required).
linear_delete_project_milestoneB
Delete a project milestone
Inputs: id (required).
linear_edit_issueA
Edit an existing issue, updating any of its fields. Note: When setting projectMilestoneId, you must also set projectId.
Inputs: issueId (required), title, description, stateId, +9 more.
linear_get_issueA
Get a single issue by identifier, including all comments
Inputs: identifier (required).
linear_get_issue_commentsB
Gets comments on a Linear issue by issue UUID or identifier
Inputs: issueId (required), first, after.
linear_get_projectC
Get project information
Inputs: id (required).
linear_get_project_milestonesC
Get milestones for a project with filtering and pagination
Inputs: projectId (required), filter, first, after, +4 more.
linear_get_teamsA
Get all teams with their states and labels
Inputs: no named parameters.
linear_get_userB
Get current user information
Inputs: no named parameters.
linear_list_projectsB
List all projects or filter them by criteria
Inputs: filter.
linear_resolve_commentC
Resolves a comment
Inputs: id (required), resolvingCommentId.
linear_search_issuesB
Search for issues with filtering and pagination
Inputs: query, teamIds, assigneeIds, states, +4 more.
linear_search_issues_by_identifierA
Search for issues by their identifiers (e.g., ["ENG-78", "ENG-79"])
Inputs: identifiers (required).
linear_unresolve_commentC
Unresolves a comment
Inputs: id (required).
linear_update_commentC
Updates an existing comment
Inputs: id (required), input (required).
linear_update_project_milestoneC
Update a project milestone
Inputs: id (required), name, description, targetDate, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have distinct purposes, but `linear_get_issue` includes comments while `linear_get_issue_comments` is separate, causing potential confusion. Otherwise, all tools are well-differentiated.
All tools follow a consistent `linear_verb_noun` snake_case pattern, making it easy to predict functionality from names.
25 tools is on the high side but justified by the breadth of Linear's features (issues, projects, milestones, comments, etc.). Some redundancy (e.g., separate create_issue and create_issues) could be consolidated.
Covers most CRUD operations for core entities, but lacks project deletion and update, and has no simple list-issues endpoint (only search). Minor gaps that agents may need to work around.
Related MCP Connectors
Issues, projects, cycles, and roadmaps via the official Linear hosted MCP server.
Linear MCP — wraps the Linear GraphQL API (OAuth)
Search, read and create Linear issues, projects, teams and cycles.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseCqualityBmaintenanceA Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.19885,521 npm149MIT
- 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.24 npmISC
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables interaction with Linear.app's API for issue tracking, project management, and workflow automation. It allows users to create, update, and search issues, manage cycles and labels, and perform team operations through natural language.-
- AlicenseNot gradedqualityFmaintenanceMCP server for Linear that allows creating issues, adding comments, and listing issues and teams.4 npm4MIT