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.
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 projectget-all-project- List all projectsview-project-detail- Get detailed project informationdelete-project- Delete a project by ID
Issue Tools
create-issue- Create a new issueget-all-issues- List all assigned issuesdelete-issue- Delete an issue by ID
Team & User Tools
get-team-info- Get team informationcurrent-user- Get current user information
📋 Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Linear API key
🔧 Installation
- Clone the repository:
git clone https://github.com/TechAIInsights/linear-mcp-server.git
cd linear-mcp-server
- Install dependencies:
npm install
- Set up environment variables:
# Create a .env file
echo "LINEAR_API_KEY=your_linear_api_key_here" > .env
- Get your Linear API key:
- Go to Linear Settings > API
- Generate a new API key
- Add it to your
.envfile
🚀 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 JavaScriptnpm run start- Run the compiled applicationnpm run dev- Run with hot reload (HMR)npm run dev:watch- Run with TypeScript compilation + nodemonnpm run watch- Watch for changes and recompile automaticallynpm run test- Run tests with Jestnpm run clean- Remove compiled output
🔗 Related
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。