MCP cover image
See in Github
2025-03-04

Connectez Claude aux systèmes de gestion de projet linéaires. Récupérer, créer et gérer les problèmes et projeter de manière transparente.

1

Github Watches

2

Github Forks

3

Github Stars

Linear MCP Server

A Model Context Protocol (MCP) server implementation for the Linear GraphQL API that enables AI assistants to interact with Linear project management systems.

Linear MCP Server npm version Smithery

Features

  • Access to Linear's GraphQL API through MCP tools
  • Authentication via Linear API key
  • Retrieve and modify data related to users, teams, projects, and issues
  • Create, update and comment on issues
  • Add and remove labels
  • Create projects
  • Comprehensive documentation of available tools

Installation

Installing via Smithery (Recommended)

To install Linear MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @emmett.deen/linear-mcp-server --client claude

Manual Configuration

After installation, add the following to your MCP settings file:

{
  "mcpServers": {
    "linear": {
      "command": "npx",
      "args": ["-y", "@emmett.deen/linear-mcp-server"],
      "env": {
        "LINEAR_API_KEY": "your_linear_api_key_here"
      }
    }
  }
}

Client-Specific Configuration Locations

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude VSCode Extension: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • GoMCP: ~/.config/gomcp/config.yaml

Manual Installation

  1. Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
  1. Install dependencies
npm install
  1. Build the project
npm run build
  1. Create a .env file with your Linear API token
LINEAR_API_KEY=your_linear_api_key_here
  1. Start the server
npm start

Available Tools

See TOOLS.md for a complete list of available tools and planned features.

Overview

Linear-MCP-Server bridges the gap between Claude (AI assistant) and Linear (project management tool) by implementing the MCP protocol. This allows Claude to:

  • Retrieve issues, projects, teams, and other data from Linear
  • Create and update issues
  • Change issue status
  • Assign issues to team members
  • Add comments
  • Create projects and teams

The server uses Linear's GraphQL API and authenticates via user tokens (not OAuth) for simplicity.

Getting Started

Prerequisites

  • Node.js (v18+)
  • NPM or Yarn
  • Linear API token

Installation

# Install globally
npm install -g @emmett.deen/linear-mcp-server

# Or clone and install locally
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
npm install
npm link  # Makes the package available globally

Running the Server

Run the server with your Linear API token:

linear-mcp-server --token YOUR_LINEAR_API_TOKEN

Or set the token in your environment and run without arguments:

export LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN
linear-mcp-server

Using with Claude Desktop

To use this MCP server with Claude Desktop:

  1. Enable Developer Mode in Claude Desktop (from the menu bar)
  2. Go to Settings > Developer options
  3. Click "Add Server"
  4. Configure with the following settings:
    • Name: Linear MCP Server
    • Type: Local Process
    • Command: linear-mcp-server
    • Arguments: --token YOUR_LINEAR_API_TOKEN

Alternatively, manually edit the config file:

{
  "mcp": {
    "servers": [
      {
        "name": "Linear MCP Server",
        "transport": {
          "type": "stdio",
          "command": "linear-mcp-server",
          "args": ["--token", "YOUR_LINEAR_API_TOKEN"]
        }
      }
    ]
  }
}
  1. Save the config
  2. Restart Claude Desktop (quit completely and reopen)
  3. You should now see Linear MCP Server available as a tool in Claude

Example Claude Prompts

Once connected to Claude Desktop, you can use prompts like:

  • "Show me all my Linear issues"
  • "Create a new issue titled 'Fix login bug' in the Frontend team"
  • "Change the status of issue FE-123 to 'In Progress'"
  • "Assign issue BE-456 to John Smith"
  • "Add a comment to issue UI-789: 'This needs to be fixed by Friday'"

Development

To develop locally:

# Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server

# Install dependencies
npm install

# Run in development mode
npm run dev -- --token YOUR_LINEAR_API_TOKEN

Extending the Server

To add new tools to the server:

  1. Follow the implementation guide in the TOOLS.md document
  2. Make sure to follow the established code structure in the src/ directory
  3. Update the documentation to reflect your changes

Developing and Contributing

Setup Development Environment

  1. Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
  1. Install dependencies
npm install
  1. Start in development mode
npm run dev

Publishing to npm

To publish this package to npm:

  1. Update the version in package.json
npm version patch  # or minor, or major
  1. Build the project
npm run build
  1. Make sure you've already logged in to npm
npm login
  1. Publish to npm
npm publish --access public
  1. For Smithery registry, you'll need to work with the Smithery team to get your server listed in their catalog.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

    Reviews

    3 (1)
    Avatar
    user_82M7ksmA
    2025-04-16

    As a dedicated user of the Linear-MCP-Server, I am thoroughly impressed with its performance and reliability. Emmett-deen has done an exceptional job in developing this server, which is easily accessible via its GitHub link. The welcoming information and documentation provided make it simple to get started and fully utilize its capabilities. Highly recommend it for anyone looking for a robust MCP server solution!