MCP Linear App
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Provides comprehensive Linear project management integration, enabling searching, creating, and updating issues, adding and managing comments, retrieving user profiles, and accessing team information through Linear's API.
MCP Linear App
Model Context Protocol (MCP) for integration with Linear as an AI tool. This tool allows your AI to interact with Linear through the Model Context Protocol.
Features
- Complete Linear Integration:
- Search issues
- Create new issues
- Update issues
- Add comments
- Update comments
- Get user profiles
- Get team information
Prerequisites
- Node.js 18 or newer
- Linear API key
How to Get a Linear API Key
To use this application, you need a Linear API key. Here are the steps to obtain one:
- Login or Create a Linear Account
- Visit Linear and login to your existing account or register to create a new account
- Access Workspace Settings
- From the main page, click on your username in the top-left corner
- Select the "Workspace settings" option
- Open API Settings
- In the "Settings" column on the left side, scroll down until you find "API"
- Click on the "API" option
- Create a New API Key
- Enter a label for your API key (e.g., "MCP Linear App")
- Click the "Create new API key" button
- Store the API Key Securely
- The API key will be displayed only once
- Copy and save it in a secure location because Linear will not display it again
Important Note: Linear has a rate limit of 1,500 requests per hour for API keys. Make sure your application follows this limit to avoid 429 Too Many Requests errors.
For more detailed information about obtaining and using Linear API keys, you can visit this guide on Merge.dev.
How to Use the Tool
1. Initial Setup
- Clone this repository:
- Install dependencies:
- Create a
.env
file in the root directory:
- Build the project:
- The
dist
folder is now ready to be used for configuration in various AI platforms.
2. Cursor Configuration
- Find your Cursor MCP configuration file:
- Windows:
C:\Users\<username>\.cursor\mcp.json
- macOS:
~/.cursor/mcp.json
- Linux:
~/.cursor/mcp.json
- Windows:
- Edit the file to add the Linear MCP server configuration:Copy
- Replace the placeholders:
<path-to-node>
: Path to your Node.js executable<path-to-project>
: Absolute path to your MCP Linear App project directoryyour_linear_api_key_here
: Your Linear API key
Example configuration:
- Save the file and restart Cursor for the changes to take effect.
3. Claude Configuration
To use MCP Linear Tools with Claude, you need to add configuration to Claude's settings file. Follow these steps:
- Open Claude AI desktop app settings
- Navigate to the "Developer" section
- Look for the "Tools" configuration section
- Add configuration for Linear MCP as follows:
- Replace the placeholders:
<path-to-node>
: Path to your Node.js executable<path-to-project>
: Absolute path to your MCP Linear App project directoryyour_linear_api_key_here
: Your Linear API key
Example configuration:
4. Configuration on Other Platforms
The basic principle is the same for other AI platforms that support MCP:
- Find the configuration area for external tools or MCP
- Configure it to run Node.js with the
dist/index.js
file from this repository - Include your LINEAR_API_KEY in the environment configuration
Available Tools
After configuration, your AI will have access to the following Linear tools:
search_issues
- Search for issues by keyword, status, or prioritycreate_issue
- Create a new issueget_issue
- Get issue detailsupdate_issue
- Update an existing issuecreate_comment
- Add a comment to an issueget_comment
- Get comments from an issueupdate_comment
- Update or delete a commentget_profile
- Get the current Linear user profileget_team_id
- Get a list of teams and their IDs
Support and Help
If you experience problems using this tool, please:
- Check that your Linear API key is valid and has sufficient permissions
- Make sure Node.js is properly installed
- Check your MCP configuration in your AI platform
- Check log files for any error messages that might appear
Using Linear Tools in AI Environments
Once you've configured the Linear tools in your AI environment, you can start using them by prompting the AI. Here are some examples:
Using Linear Tools in Cursor
In Cursor, you can simply ask Claude to perform Linear-related tasks:
Example Workflow: Creating and Managing Issues
Here's an example workflow showing how you might use these tools:
- Finding your team ID:Claude will use theCopy
get_team_id
tool to fetch your team information. - Creating a new issue:Claude will use theCopy
create_issue
tool with the necessary parameters. - Searching for issues:Claude will use theCopy
search_issues
tool with appropriate filters. - Updating an issue:Claude will use theCopy
update_issue
tool to modify the issue. - Adding comments:Claude will use theCopy
create_comment
tool to add the comment. - Retrieving comments:Claude will use theCopy
get_comment
tool to fetch the comments.
These examples demonstrate how naturally you can interact with Linear through your AI assistant once the tools are properly configured.
Recent Updates
This project has recently been enhanced with improved documentation and Linear tools capabilities. The improvements include:
- Updated README with clearer installation and configuration instructions
- Enhanced documentation with examples for various AI platforms
- Improved Linear tools with better error handling and response formatting
- Added support for managing comments (create, get, update, delete)
- Improved search capability with filtering by status and priority
License
This project is licensed under the MIT License.
This server cannot be installed
A server that enables AI assistants to interact with Linear's project management tools through the Model Context Protocol, supporting features like searching, creating, and updating issues, adding comments, and retrieving user profiles and team information.