
linear-mcp
a private MCP server for accessing Linear
10
Github Watches
22
Github Forks
62
Github Stars
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
- Clone the repository
- Install dependencies:
npm install
- Copy
.env.example
to.env
:cp .env.example .env
2. Authentication
The server supports two authentication methods:
Personal Access Token (Recommended)
- Go to Linear: Settings > API > OAuth application > "Cline MCP"
- Under "Developer Token", click "Create & copy token"
- Select "Application"
- Add the token to your
.env
file:LINEAR_ACCESS_TOKEN=your_personal_access_token
OAuth Flow (Alternative) NOT IMPLEMENTED
- Create an OAuth application at https://linear.app/settings/api/applications
- 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
- Build the server:
npm run build
- Start the server:
npm start
4. Cline Integration
-
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
- macOS:
-
Add the Linear MCP server configuration:
{ "mcpServers": { "linear": { "command": "node", "args": ["/path/to/linear-mcp/build/index.js"], "env": { "LINEAR_ACCESS_TOKEN": "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
Project Management
- ✅ Create projects with associated issues
- ✅ Get project information
- ✅ Associate issues with projects
Team Management
- ✅ Get team information (with states and workflow details)
- ✅ Access team states and labels
Authentication
- ✅ Personal Access Token (PAT) authentication
- ✅ Secure token storage
Batch Operations
- ✅ Bulk issue creation
- ✅ Bulk issue deletion
Bulk Updates (In Testing)
- 🚧 Bulk issue updates (parallel processing implemented, needs testing)
Features in Development
The following features are currently being worked on:
Issue Management
- 🚧 Comment functionality (add/edit comments, threading)
- 🚧 Complex search filters
- 🚧 Pagination support for large result sets
Metadata Operations
- 🚧 Label management (create/update/assign)
- 🚧 Cycle/milestone management
Project Management
- 🚧 Project template support
- 🚧 Advanced project operations
Authentication
- 🚧 OAuth flow with automatic token refresh
Performance & Security
- 🚧 Rate limiting
- 🚧 Detailed logging
- 🚧 Load testing and optimization
Development
# Install dependencies
npm install
# Run tests
npm test
# Run integration tests (requires LINEAR_ACCESS_TOKEN)
npm run test:integration
# Build the server
npm run build
# Start the server
npm start
Integration Testing
Integration tests verify that authentication and API calls work correctly:
- Set up authentication (PAT recommended for testing)
- Run integration tests:
npm run test:integration
For OAuth testing:
- Configure OAuth credentials in
.env
- Remove
.skip
from OAuth tests insrc/__tests__/auth.integration.test.ts
- Run integration tests
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
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.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_gyRrRgOd
I'm a dedicated user of the linear-mcp application developed by cline. This tool has significantly streamlined my workflow with its intuitive design and reliable performance. I highly recommend checking it out at https://github.com/cline/linear-mcp. It's an indispensable resource for anyone looking to improve their productivity in linear programming.