Cover image
Try Now
2025-03-18

A repository for MCP server to connect to Linear

3 years

Works with Finder

2

Github Watches

0

Github Forks

3

Github Stars

Linear MCP Integration Server

This server provides Linear integration capabilities through the Model Context Protocol (MCP). It allows AI models to interact with Linear for issue tracking and project management.

Features

The server provides the following tools through the MCP interface:

linear_create_issue

Creates a new Linear issue with the following parameters:

  • title (required): Issue title
  • teamId (required): Team ID to create issue in
  • description (optional): Issue description (markdown supported)
  • priority (optional): Priority level (0-4)
  • status (optional): Initial status name

linear_search_issues

Search Linear issues with flexible filtering:

  • query (optional): Text to search in title/description
  • teamId (optional): Filter by team
  • status (optional): Filter by status
  • assigneeId (optional): Filter by assignee
  • priority (optional): Priority level (0-4)
  • limit (optional, default: 10): Max results to return

linear_sprint_issues

Get all issues in the current sprint/iteration:

  • teamId (required): Team ID to get sprint issues for

linear_search_teams

Search and retrieve Linear teams:

  • query (optional): Text to search in team names

linear_filter_sprint_issues

Filter current sprint issues by status and automatically filters to the current user:

  • teamId (required): Team ID to get sprint issues for
  • status (required): Status to filter by (e.g. "Pending Prod Release")

linear_bulk_update_status

Update the status of multiple Linear issues at once:

  • issueIds (required): List of issue IDs to update (e.g. ["ENG-123", "DATA-456"])
  • targetStatus (required): Target status to set for all issues (e.g. "In Progress")

Developer Setup

  1. Get your Linear API key from Linear's settings > API section
  2. Create a .env file in the project root:
LINEAR_API_KEY=your_api_key_here
  1. Install dependencies:
npm install
  1. Start the server:
# Development mode with auto-reload
npm run dev

# Production mode
npm start

# Build TypeScript
npm run build

# Run linter
npm run lint

# Run tests
npm run test

# Inspect MCP server
npm run inspect

Technical Details

  • Built with TypeScript and the Model Context Protocol SDK
  • Uses Linear SDK for API interactions
  • Includes error handling, rate limiting, and connection management
  • Supports automatic reconnection with configurable retry attempts
  • Implements heartbeat monitoring for connection health
  • Provides detailed logging in debug mode

Error Handling

The server includes comprehensive error handling:

  • API timeout protection
  • Automatic reconnection attempts on connection loss
  • Detailed error logging with timestamps
  • Graceful shutdown handling
  • Heartbeat monitoring for connection health

Dependencies

  • @linear/sdk: Linear API client
  • @modelcontextprotocol/sdk: MCP server implementation
  • zod: Runtime type checking and validation
  • dotenv: Environment variable management
  • TypeScript and related development tools

For the complete list of dependencies, see package.json.

相关推荐

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

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

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

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

  • Khalid kalib
  • Write professional emails

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

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • pontusab
  • The Cursor & Windsurf community, find rules and MCPs

    Reviews

    2 (1)
    Avatar
    user_xwGEqzGz
    2025-04-16

    I have been using the mcp-linear-server by skspade and it has significantly streamlined my backend processes. The server is extremely reliable and easy to integrate with various applications, thanks to its well-documented code and clear instructions. I highly recommend this server for anyone looking to improve their backend efficiency! Definitely worth checking out at https://github.com/skspade/mcp-linear-server.