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.
- Clone the repository
- Install dependencies:
npm install
- Copy
.env.exampleto.env:cp .env.example .env
The server supports two authentication methods:
- Go to Linear Settings
- Navigate to the "Security & access" section
- Find the "Personal API keys" section
- Click "New API key"
- Give the key a descriptive label (e.g. "Cline MCP")
- Copy the generated token immediately
- Add the token to your
.envfile:LINEAR_API_KEY=your_api_key
- 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