linear-mcp-server

linear-mcp-server

MCP server for integrating Linear with Claude Code and other MCP clients. Enables issue management, project planning, and status tracking through a set of tools.

Category
Visit Server

README

Linear MCP Server

MCP (Model Context Protocol) server for integrating Linear with Claude Code and other MCP clients.

Features

  • Issue Management: Create, update, and query Linear issues
  • Project Planning: Create projects and break them down into milestones
  • Status Tracking: Update issue status through workflow states
  • Progress Updates: Add comments and progress notes to issues
  • Team Context: Query team information and workflow states

Installation

This project uses uv for dependency management.

# Install dependencies
uv sync

# Or with pip
pip install -e .

Configuration

  1. Get your Linear API key:

    • Go to Linear Settings > Account > Security & Access
    • Create a new Personal API key
    • Choose appropriate permissions (Read, Write, Create issues, Create comments)
  2. Create .env file:

    cp .env.example .env
    # Edit .env and add your LINEAR_API_KEY
    

Usage with Claude Code

Add to your Claude Code configuration (~/.claude/config.json or project .claude/mcp-servers.json):

{
  "mcpServers": {
    "linear": {
      "command": "uv",
      "args": ["run", "linear-mcp-server"],
      "cwd": "/Users/devonshurick/dev/personal/linear-mcp-server",
      "env": {
        "LINEAR_API_KEY": "lin_api_xxxxxxxxxxxx"
      }
    }
  }
}

Or use environment variables:

{
  "mcpServers": {
    "linear": {
      "command": "uv",
      "args": ["run", "linear-mcp-server"],
      "cwd": "/Users/devonshurick/dev/personal/linear-mcp-server"
    }
  }
}

Then set LINEAR_API_KEY in your .env file.

Available Tools

Issue Management

  • linear_create_issue - Create a new issue

    • Parameters: title, description, team_id, optional: project_id, state_id, priority, assignee_id
  • linear_update_issue - Update an existing issue

    • Parameters: issue_id, optional: state_id, title, description, priority
  • linear_list_issues - List issues for a team

    • Parameters: team_id, optional: status_filter, assignee_id, limit
  • linear_add_comment - Add a comment to an issue

    • Parameters: issue_id, body

Team & Workflow

  • linear_get_teams - List available teams

  • linear_get_workflow_states - Get workflow states for a team

    • Parameters: team_id

Projects (Coming Soon)

  • linear_create_project - Create a new project with milestones
  • linear_list_projects - List projects

Development

# Install with dev dependencies
uv sync --extra dev

# Run tests
uv run pytest

# Format code
uv run black .

# Lint
uv run ruff check .

Architecture

src/linear_mcp/
├── __init__.py
├── server.py         # MCP server implementation
├── linear_client.py  # Linear GraphQL API client
└── tools.py          # Tool definitions for MCP

Use Cases

  1. Task Execution with Progress Tracking

    • Claude receives task → Creates Linear issue → Works on task → Updates issue with progress → Marks done
  2. Project Planning

    • User describes goal → Claude creates project → Breaks into milestones → Creates task issues → Links dependencies
  3. Dynamic Prioritization

    • Claude reviews backlog → Analyzes priorities → Proposes changes → Updates issues after approval

Linear API Reference

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured