Labsco
timottowitz logo

Linear

from timottowitz

Interact with the Linear API to manage issues, projects, and teams.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

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.

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

  • โœ… API Key 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_API_KEY)
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:

  1. Set up authentication (API Key recommended for testing)
  2. Run integration tests:
    npm run test:integration

For OAuth testing:

  1. Configure OAuth credentials in .env
  2. Remove .skip from OAuth tests in src/__tests__/auth.integration.test.ts
  3. Run integration tests