MCP cover image
intégration linéaire-MCP logo
Private

intégration linéaire-MCP

See in Github
2025-04-14

En cours

0

Github Watches

0

Github Forks

0

Github Stars

Linear MCP Server

This project provides an MCP server for interacting with the Linear API, enabling integration with MCP clients like Cline, IDE extensions, and other AI tools. It provides tools for managing Linear issues, projects, and teams via the Model Context Protocol.

This package is available on npm: @touchlab/linear-mcp-integration

Current Status:

  • Personal Access Token (PAT) authentication is implemented and tested.
  • Core functionality for managing issues, projects, teams, and users via PAT has been tested.
  • OAuth 2.0 flow exists in the code but is untested and likely non-functional.

Attribution

This project is based on cline/linear-mcp. The logic is largely the same, but key parts of the internals have been modified after testing.

NPM Package

Setup Guide

1. Authentication (Required)

This server requires a Linear Personal Access Token (PAT).

  1. Go to your Linear workspace settings: Account > Security & access.

Step1

  1. Under the Personal API keys section, click New API key.

Step2

  1. Give the key a descriptive label (e.g., "MCP Server Key"). For Permissions select Full Access. For team access select All teams you have access to

Step3

  1. Copy the generated key immediately (it won't be shown again).

Step4

  1. You will need to provide this key to the server using the LINEAR_ACCESS_TOKEN environment variable when running it (see Step 2).

2. Running the Server

You can run the server directly using npx without cloning the repository, or install it globally.

Option A: Using npx (Recommended)

This method runs the server directly from the npm registry without global installation. Configure your MCP client (like Cline, Cursor, Claude, etc) to run the server using npx and pass the PAT via environment variables:

// Example MCP Client Configuration (e.g., Cline, Cursor, Claude)
{
  "mcpServers": {
    "linear": {
      "command": "npx", 
      "args": ["@touchlab/linear-mcp-integration"],
      "env": {
        "LINEAR_ACCESS_TOKEN": "lin_api_your_personal_access_token"
      }
    }
  }
}

Option B: Global Installation (Less Common)

If you prefer, you can install the package globally:

npm install -g @touchlab/linear-mcp-integration

Then, you can run it directly from your terminal (you still need to provide the environment variable):

LINEAR_ACCESS_TOKEN=YOUR_PAT

(Note: Global installation is generally less preferred for server processes unless you have a specific need.)

3. Authentication Methods Details

  • Personal Access Token (PAT) - Required & Tested: This is the primary and tested authentication method. Follow the steps in Section 1.
  • OAuth Flow (Untested / Non-Functional): The code includes handlers for OAuth (linear_auth, linear_auth_callback), but this flow has not been tested and requires further development to be considered functional. Contributions welcome!

Available Tools

The server currently supports the following tools (tested with PAT authentication unless noted):

  • Authentication (OAuth - Untested):
    • linear_auth: Initiate OAuth flow (Untested)
    • linear_auth_callback: Handle OAuth callback (Untested)
  • Issues:
    • linear_create_issue: Create a single issue.
    • linear_create_issues: Create multiple issues in bulk.
    • linear_search_issues: Search issues (filter by title currently).
    • linear_delete_issue: Delete a single issue.
  • Projects:
    • linear_create_project_with_issues: Create a project and associated issues.
    • linear_get_project: Get project details by ID.
    • linear_search_projects: Search projects by exact name match.
  • Teams:
    • linear_get_teams: Get details for all teams.
  • Users:
    • linear_get_user: Get information about the authenticated user.

(Note: Bulk delete and bulk update functionality has been removed.)

Development (For Contributors)

If you want to run the MCP server locally first run these commands:

# Clone the repository
# git clone https://github.com/touchlab/linear-mcp-integration.git
# cd linear-mcp-integration

# Install dependencies
npm install

# Build the server
npm run build

# Start the server (requires LINEAR_ACCESS_TOKEN in .env or environment)
npm start

Then update your MCP configuration to point to the built index.js.

// Example MCP Client Configuration (e.g., Cline, Cursor, Claude)
{
  "mcpServers": {
    "linear": {
      "command": "node",
      "args": ["/absolute/path/to/your/linear-mcp-integration/build/index.js"],
      "env": {
        "LINEAR_ACCESS_TOKEN": "lin_api_your_personal_access_token"
      }
    }
  }
}    

Your client should now be able to access your MCP server.

Contributing

This fork of Cline's version is maintained by Touchlab.

Contributions are welcome, especially for improving or fully implementing the OAuth 2.0 flow. Please feel free to open issues or pull requests on the touchlab/linear-mcp-integration repository.

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • Matthieu Savioux
  • Evaluates language quality of texts, responds with a numerical score between 50-150.

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • seabiscuit.ai
  • Discover A More Robust Business: Craft tailored value proposition statements, develop a comprehensive business model canvas, conduct detailed PESTLE analysis, and gain strategic insights on enhancing business model elements like scalability, cost structure, and market competition strategies. (v1.18)

  • Carl Oscar Aaro
  • Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • 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.

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • Azure
  • Ce référentiel est pour le développement du serveur MCP Azure, apportant la puissance d'Azure à vos agents.

  • langgenius
  • alibaba
  • metorial
  • Versions conteneurisées de centaines de serveurs MCP 📡 🧠 🧠

  • caio-moliveira
  • Ce projet a été créé pour démontrer comment nous pouvons nous connecter avec différents protocoles de contexte de modèle (MCP).

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • Byaidu
  • PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO

    Reviews

    3 (8)
    Avatar
    user_EvSN3E6z
    2025-04-23

    As an avid user of the linear-mcp-integration by touchlab, I am thoroughly impressed with its seamless integration capabilities. This product has significantly streamlined our workflow, making project management more efficient and coherent. It's an essential tool for anyone looking to enhance their MCP application experience. Highly recommended!

    Avatar
    user_6qDF0g1Q
    2025-04-23

    I've been using the linear-mcp-integration by touchlab and it's simply phenomenal. The seamless integration enhances productivity and streamlines workflows effortlessly. Kudos to the team for creating such a user-friendly and efficient product! Highly recommend for anyone looking to optimize their processes.

    Avatar
    user_RzscfmNu
    2025-04-23

    As a devoted user of the linear-mcp-integration by touchlab, I am thoroughly impressed with its seamless integration capabilities and user-friendly interface. This product has significantly streamlined my workflow and increased my productivity. Highly recommended for anyone looking to enhance their MCP applications.

    Avatar
    user_c0XtdATo
    2025-04-23

    As a loyal user of the Linear-MCP-Integration by Touchlab, I can confidently say it's a game-changer in streamlining my workflow. The seamless integration and intuitive interface significantly boost productivity. Highly recommended for anyone looking to optimize their MCP experience!

    Avatar
    user_izXLgYEo
    2025-04-23

    I recently started using the linear-mcp-integration by touchlab, and it has completely transformed my workflow. This integration is seamless and has significantly improved my productivity. The interface is user-friendly, and the functionality is robust, catering to all my needs efficiently. Highly recommend this for anyone looking to streamline their tasks and manage projects more effectively.

    Avatar
    user_2MfNr71y
    2025-04-23

    As a dedicated user of the linear-mcp-integration by Touchlab, I find it incredibly efficient and easy to use. The seamless integration enhances productivity and the user interface is intuitive. The support from Touchlab is also top-notch, making the overall experience delightful. Highly recommend it to anyone looking to streamline their MCP applications!

    Avatar
    user_YyrdiBmM
    2025-04-23

    As a loyal user of the Linear MCP Integration by Touchlab, I have to say this product is a game-changer. Its seamless integration with Linear enhances productivity and streamlines workflows effortlessly. The interface is intuitive, and the efficiency boost is remarkable. Highly recommend it to anyone looking to improve their project management capabilities!

    Avatar
    user_2jl6T0oW
    2025-04-23

    As a dedicated user of the linear-mcp-integration by touchlab, I must say it has greatly streamlined my workflow. The seamless integration and user-friendly interface save me a lot of time. This tool is essential for anyone looking to enhance productivity with MCP applications. Highly recommended!