Cover image
Try Now
2025-03-18

MCP服务器连接到线性的存储库

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.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    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.