Get the FREE Ultimate OpenClaw Setup Guide →

linear

Robust, production tested MCP Server for linear (API)

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio kablewy-linear-mcp-server node dist/server.js \
  --env PORT="3000" \
  --env LINEAR_API_KEY="Your Linear API key" \
  --env LINEAR_API_BASE_URL="https://api.linear.app"

How to use

Prerequisites: ensure you have Node.js (v14+ recommended) and npm installed. Obtain a Linear API key to authorize requests to the Linear API. Start the server using the mcp_config specification for the linear server. The MCP server exposes tools such as list_issues, create_issue, get_issue, update_issue, and more for comprehensive issue management. You can construct a pipeline to orchestrate multiple tools—for example, listing issues to determine a follow-up action, then conditionally creating a new issue with a transform step that prepares the payload from the prior results. Use the error handling format described in the documentation to gracefully handle retryable and non-retryable errors, and monitor metrics to observe tool reliability and latency across endpoints.

How to install

  1. Prerequisites
  • Node.js v14 or newer
  • npm or yarn
  • Access to a Linear API key
  1. Clone the repository
  1. Install dependencies
  • npm install
  1. Configure environment
  • Create a .env file (or set environment variables) with: LINEAR_API_KEY=your_linear_api_key LINEAR_API_BASE_URL=https://api.linear.app PORT=3000
  1. Build the server (if using TypeScript sources)
  • npm run build
  1. Run the server
  • npm start
  1. Verify

Additional notes

  • Ensure your LINEAR_API_KEY has the necessary scopes for the operations you intend to perform (read/write as needed).
  • The server uses Zod schemas for runtime validation. If you see validation errors, double-check input field names and types against the tool definitions in the README.
  • For production deployments, consider configuring proper TLS termination and rotating API keys regularly.
  • The execute_pipeline feature enables conditional tool orchestration and data transformation; you can customize pipelines to enforce business rules and automate workflows.

Related MCP Servers

Sponsor this space

Reach thousands of developers