The Linear MCP Server provides tools to programmatically manage Linear issues, teams, and projects via the Linear API.
Key capabilities include:
- Create new issues with customizable properties (title, description, team, assignee, priority, labels)
- List, update, and search for issues with flexible filtering options
- Get detailed information about specific issues by ID
- List all teams in the workspace and access their details
- List all projects with optional team filtering and result limits
Provides tools for interacting with Linear's API, enabling AI agents to manage issues, projects, and teams programmatically through the Linear platform.
Linear MCP Server
Note: This is a custom implementation. For the Cline Linear MCP server, see cline/linear-mcp or Linear's Blog Post about MCP.
A Model Context Protocol (MCP) server that provides tools for interacting with Linear's API, enabling AI agents to manage issues, projects, and teams programmatically through the Linear platform.
Features
- Issue Management
- Create new issues with customizable properties (title, description, team, assignee, priority, labels, status)
- List issues with flexible filtering options (team, assignee, status)
- Update existing issues (title, description, status, assignee, priority)
- Get detailed information about specific issues
- Search issues using text queries
- Team Management
- List all teams in the workspace
- Access team details including ID, name, key, and description
- List workflow states for each team
- Project Management
- List all projects with optional team filtering
- View project details including name, description, state, and associated teams
Prerequisites
- Node.js (v16 or higher)
- A Linear account with API access
- Linear API key with appropriate permissions
Quick Start
- Get your Linear API key from Linear's Developer Settings
- Run with your API key:
Or set it in your environment:
Development Setup
- Clone the repository:
- Install dependencies:
- Build the project:
Running with Inspector
For local development and testing:
Then run the inspector:
Configuration
Configure the MCP server in your settings file based on your client:
For Claude Desktop
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
For VS Code Extension (Cline)
Location: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
For Cursor (cursor.sh)
For Cursor, the server must be run with the full path:
Available Tools
create_issue
Creates a new issue in Linear.
linear_list_issues
Lists issues with optional filters.
linear_update_issue
Updates an existing issue.
Note: The status parameter accepts human-readable status names (e.g., "Todo", "In Progress", "Done", "Canceled"). The tool will automatically convert these to the appropriate Linear state IDs.
linear_list_teams
Lists all teams in the Linear workspace. No parameters required.
linear_list_projects
Lists all projects with optional filtering.
linear_get_issue
Gets detailed information about a specific issue.
linear_list_workflow_states
Lists all workflow states for a specific team.
Returns the available workflow states (e.g., "Backlog", "Todo", "In Progress", "In Review", "Done", "Canceled", "Duplicate") that can be used when creating or updating issues.
Development
For development with auto-rebuild:
Error Handling
The server includes comprehensive error handling for:
- Invalid API keys
- Missing required parameters
- Linear API errors
- Invalid tool requests
All errors are properly formatted and returned with descriptive messages.
Technical Details
Built with:
- TypeScript
- Linear SDK (@linear/sdk v37.0.0)
- MCP SDK (@modelcontextprotocol/sdk v0.6.0)
The server uses stdio for communication and implements the Model Context Protocol for seamless integration with AI agents.
License
MIT
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI agents to manage issues, projects, and teams on the Linear platform programmatically.
- Features
- Prerequisites
- Quick Start
- Development Setup
- Running with Inspector
- Configuration
- Available Tools
- Development
- Error Handling
- Technical Details
- License
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables AI agent and task management using the CrewAI framework, allowing users to create and run agents and tasks in an automated workflow environment.Last updated -03JavaScript
- -securityFlicense-qualityFacilitates project management with the Linear API via the Model Context Protocol, allowing users to manage initiatives, projects, issues, and their relationships through features like creation, viewing, updating, and prioritization.Last updated -7026TypeScript
- AsecurityFlicenseAqualityEnables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.Last updated -7833JavaScript
- -securityFlicense-qualityEnables AI models to interact with Linear for issue tracking and project management through capabilities like creating/searching issues, managing sprints, and retrieving workflow states.Last updated -TypeScript