CL

cline/linear-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

134 stars 62 forks Качество 58 Тренд 16

cline/linear-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/cline/linear-mcp.

Обзор

cline/linear-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/cline/linear-mcp.

Обзор (машинный перевод)

MCP-сервер для взаимодействия с API Linear. Этот сервер предоставляет набор инструментов для управления линейными вопросами, проектами и командами через Cline.

Руководство по установке

1. Настройка среды

  1. Клонировать репозиторий

  2. Установка зависимостей:

  3. Скопировать .env.example в .env:

2. Аутентификация

Сервер поддерживает два метода аутентификации:

Ключ API (Рекомендуем)

  1. Перейти в линейные настройки
  2. Перейдите в раздел «Безопасность и доступ»
  3. Найдите раздел «Личные ключи API»
  4. Нажмите «Новый ключ API»
  5. Дайте ключу описательную метку (например, «Cline MCP»)
  6. Скопируйте сгенерированный токен немедленно
  7. Добавьте токен в ваш файл [[T2]:

OAuth Flow (Альтернатива) НЕ РЕАЛИЗОВАН

  1. Создать приложение OAuth по адресу https://linear.app/settings/api/applications
  2. Настройте переменные среды OAuth в .env:

3. Запуск сервера

  1. Постройте сервер:

  2. Запустить сервер:

4. Интеграция Клайн

  1. Откройте файл настроек Cline MCP:
  • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Windows: '%APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Linear MCP Server

An MCP server for interacting with Linear’s API. This server provides a set of tools for managing Linear issues, projects, and teams through Cline.

Setup Guide

1. Environment Setup

  1. Clone the repository
  2. Install dependencies:
    npm install
    
  3. Copy .env.example to .env:
    cp .env.example .env
    

2. Authentication

The server supports two authentication methods:

  1. Go to Linear Settings
  2. Navigate to the “Security & access” section
  3. Find the “Personal API keys” section
  4. Click “New API key”
  5. Give the key a descriptive label (e.g. “Cline MCP”)
  6. Copy the generated token immediately
  7. Add the token to your .env file:
    LINEAR_API_KEY=your_api_key
    

OAuth Flow (Alternative) NOT IMPLEMENTED

  1. Create an OAuth application at https://linear.app/settings/api/applications
  2. Configure OAuth environment variables in .env:
    LINEAR_CLIENT_ID=your_oauth_client_id
    LINEAR_CLIENT_SECRET=your_oauth_client_secret
    LINEAR_REDIRECT_URI=http://localhost:3000/callback
    

3. Running the Server

  1. Build the server:
    npm run build
    
  2. Start the server:
    npm start
    

4. Cline Integration

  1. Open your Cline MCP settings file:

    • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    • Windows: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    • Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  2. Add the Linear MCP server configuration:

    {
      "mcpServers": {
        "linear": {
          "command": "node",
          "args": ["/path/to/linear-mcp/build/index.js"],
          "env": {
            "LINEAR_API_KEY": "your_personal_access_token"
          },
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    

Available Actions

The server currently supports the following operations:

Issue Management

  • ✅ Create issues with full field support (title, description, team, project, etc.)
  • ✅ Update existing issues (priority, description, etc.)
  • ✅ Delete issues (single or bulk deletion)
  • ✅ Search issues with filtering
  • ✅ Associate issues with projects
  • ✅ Create parent/child issue relationships
  • ✅ Read and create comments and threaded comments

Project Management

  • ✅ Create projects with associated issues
  • ✅ Get project information with rich text descriptions
  • ✅ Search projects with rich text descriptions
  • ✅ Associate issues with projects
  • ✅ Proper description handling using Linear’s documentContent field

Team Management

  • ✅ Get team information (with states and workflow details)
  • ✅ Access team states and labels

Authentication

  • ✅ API Key authentication
  • ✅ Secure token storage

Batch Operations

  • ✅ Bulk issue creation
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "linear": { "command": "node", "args": ["/path/to/linear-mcp/build/index.js"], "env": { "LINEAR_API_KEY": "your_personal_access_token" }, "disabled": false, "autoApprove": [] } } }