linear-mcp-server

linear-mcp-server

MCP server providing tools to manage Linear projects and issues, including creation, listing, viewing details, and deletion, as well as team and user info retrieval.

Category
Visit Server

README

Linear MCP Server

A Model Context Protocol (MCP) server that provides seamless integration with Linear for project and issue management.

🚀 Features

Project Management

  • Create Projects - Create new Linear projects with custom names, descriptions, priorities, and content
  • List Projects - Get all projects in your workspace with detailed information
  • View Project Details - Retrieve comprehensive information about specific projects
  • Delete Projects - Remove projects from your workspace

Issue Management

  • Create Issues - Create new issues with titles, descriptions, priorities, and project assignments
  • List Issues - View all issues assigned to you
  • Delete Issues - Remove issues from your workspace
  • Auto-Assignment - Issues are automatically assigned to the current user

Team & User Management

  • Get Team Info - View information about your Linear teams
  • Get Current User - Display information about the authenticated user
  • Default Team - Automatically uses your default team for operations

🛠️ Available Tools

Project Tools

  • create-project - Create a new Linear project
  • get-all-project - List all projects
  • view-project-detail - Get detailed project information
  • delete-project - Delete a project by ID

Issue Tools

  • create-issue - Create a new issue
  • get-all-issues - List all assigned issues
  • delete-issue - Delete an issue by ID

Team & User Tools

  • get-team-info - Get team information
  • current-user - Get current user information

📋 Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Linear API key

🔧 Installation

  1. Clone the repository:
git clone https://github.com/TechAIInsights/linear-mcp-server.git
cd linear-mcp-server
  1. Install dependencies:
npm install
  1. Set up environment variables:
# Create a .env file
echo "LINEAR_API_KEY=your_linear_api_key_here" > .env
  1. Get your Linear API key:

🚀 Usage

Development Mode

npm run dev

Production Build

npm run build
npm start

📁 Add server config

{
  "mcpServers": {
    "linear-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/repo/dist/index.js"],
      "env": {
        "LINEAR_API_KEY": "your_linear_api_key_here"
      }
    }
  }
}

💡 Usage Examples

Creating a Project

# Create a project with basic info
create-project "My New Project"

# Create a project with full details
create-project "Advanced Project" --description "A complex project" --priority "high" --content "Project details here"

Creating an Issue

# Create a basic issue
create-issue "Fix authentication bug"

# Create an issue with priority and project
create-issue "Implement new feature" --priority 2 --projectId "proj_123"

Managing Projects

# List all projects
get-all-project

# View project details
view-project-detail --id "proj_123"

# Delete a project
delete-project --id "proj_123"

🔧 Configuration

Environment Variables

  • LINEAR_API_KEY - Your Linear API key (required)

Priority Levels

  • 0 - No priority
  • 1 - Urgent
  • 2 - High
  • 3 - Normal
  • 4 - Low

🏗️ Architecture

The server is built with a modular architecture for maintainability:

  • Modular Tools - Each tool category has its own module
  • Standardized Responses - Consistent response format across all tools
  • Error Handling - Comprehensive error handling with context-aware messages
  • Type Safety - Full TypeScript support with proper type definitions

📚 Development Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run start - Run the compiled application
  • npm run dev - Run with hot reload (HMR)
  • npm run dev:watch - Run with TypeScript compilation + nodemon
  • npm run watch - Watch for changes and recompile automatically
  • npm run test - Run tests with Jest
  • npm run clean - Remove compiled output

🔗 Related

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