linear-mcp logo

Linear MCP

by ibraheem4

8 forks
21 stars
Free

What is linear-mcp

linear-mcp is a custom Model Context Protocol (MCP) server developed by ibraheem4. It is designed to facilitate seamless interaction with the Linear platform, allowing AI agents to manage issues, projects, and teams programmatically. This server acts as a bridge between AI systems and Linear's API, enabling users to automate and streamline project management tasks through a structured protocol. With linear-mcp, you can efficiently handle tasks such as creating and managing issues, exploring team dynamics, and overseeing project details within the Linear platform.

How to Use linear-mcp

To utilize linear-mcp, you will need the following prerequisites: Node.js (version 16 or higher), a Linear account with API access, and a Linear API key with the necessary permissions.

Quick Start Guide:

  1. Obtain Your Linear API Key: First, generate your API key from Linear's developer settings.

  2. Run the Server: Execute the server using your API key with the following command:

    LINEAR_API_KEY=your-api-key npx @ibraheem4/linear-mcp
    

    Alternatively, you can set the API key in your environment:

    export LINEAR_API_KEY=your-api-key
    npx @ibraheem4/linear-mcp
    

Development Setup:

For those interested in contributing or customizing the server:

  1. Clone the Repository: Navigate to your desired directory and clone the project.

  2. Install Dependencies: Use npm to install the necessary packages.

  3. Build the Project: Compile the project using the build script provided.

For local development and debugging, the MCP Inspector and supergateway can be used to monitor interactions and test the server.

Key Features of linear-mcp

linear-mcp provides a comprehensive suite of tools for managing various aspects of the Linear platform:

  • Issue Management:

    • Create Issues: Generate new issues with customizable attributes such as title, description, team, assignee, priority, and labels.
    • List Issues: Retrieve issues with flexible filters (by team, assignee, or status).
    • Update Issues: Modify existing issues, adjusting details like title, description, status, and more.
  • Team Management:

    • List Teams: Access a complete list of teams within the workspace.
    • Team Details: Gather essential information about each team, including ID, name, key, and description.
  • Project Management:

    • List Projects: View all projects with optional filtering by team.
    • Project Details: Examine detailed project information, such as name, description, state, and associated teams.

Error Handling & Technical Details: The server includes robust error handling to manage invalid API keys, missing parameters, and Linear API errors. Built with TypeScript and leveraging the Linear SDK, linear-mcp ensures reliable performance and integration with AI systems.

Whether you're a project manager looking to automate tasks or a developer aiming to enhance AI interactions with project management tools, linear-mcp offers a powerful solution to streamline operations on the Linear platform.

How to Use

To use the linear-mcp, follow these steps:

  1. Visit https://github.com/ibraheem4/linear-mcp
  2. Follow the setup instructions to create an account (if required)
  3. Connect the MCP server to your Claude Desktop application
  4. Start using linear-mcp capabilities within your Claude conversations

Additional Information

Created

January 15, 2025

Company

ibraheem4

Start building your own MCP Server

Interested in creating your own MCP Server? Check out the official documentation and resources.

Learn More