npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agency-linear

v1.0.11

Published

A Linear MCP server for interacting with Linear's API

Readme

BetterLinearMCP

A Model Context Protocol (MCP) server that provides tools for interacting with Linear's API, enabling AI agents to manage issues, projects, and teams programmatically through the Linear platform.

Features

  • Issue Management

    • Create new issues with customizable properties (title, description, team, assignee, priority, labels, project)
    • List issues with flexible filtering options (team, assignee, status)
    • Update existing issues (title, description, status, assignee, priority, project)
    • Search issues based on text queries
    • Get detailed issue information including comments, labels, and metadata
    • Create and update comments on issues
  • Team Management

    • List all teams in the workspace
    • Create new teams with custom properties
    • Update existing teams
    • Delete or archive teams
    • Access team details including ID, name, key, and description
  • Project Management

    • List all projects with optional team filtering
    • Create new projects with customizable properties
    • Update existing projects
    • View project details including teams, state, and metadata
    • Manage project milestones (create, list, update, delete)
  • User Management

    • List all users in the workspace
    • Get detailed user information
  • Label Management

    • List all labels with optional team filtering
    • Create new labels
    • Update existing labels
    • Delete labels

Installation & Setup

Prerequisites

  • Node.js 18 or later
  • A Linear account with an API key (get one here)
  • Cursor, Claude, or other MCP-compatible AI assistant

Quick Installation (Recommended)

The easiest way to install and configure BetterLinearMCP:

# First, install the package globally
npm install -g agency-linear

# Then run the setup wizard
npx cursor-setup

This interactive setup will:

  1. Guide you through entering your Linear API key
  2. Automatically configure Cursor's MCP settings
  3. Set up everything you need to use the Linear tools

Alternative Installation Methods

Global Installation with Manual Setup

# Install globally
npm install -g agency-linear

# Then run the setup directly
cursor-setup

Script-based Installation

# Install the package
npm install -g agency-linear

# Run the bash script
npx mcp-install

Manual Setup

If you prefer to configure your assistant manually:

  1. Install the package:

    npm install -g agency-linear
  2. Edit your MCP configuration file:

    For Cursor:

    • Mac: ~/.cursor/mcp.json
    • Windows: %APPDATA%\Cursor\mcp.json

    For Claude Desktop:

    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add this configuration:

    {
      "mcpServers": {
        "agency-linear": {
          "command": "node",
          "args": ["path/to/global/node_modules/agency-linear/build/index.js"],
          "env": {
            "LINEAR_API_KEY": "your-api-key-here"
          },
          "disabled": false,
          "alwaysAllow": []
        }
      }
    }
  4. Replace your-api-key-here with your actual Linear API key

  5. Replace path/to/global/node_modules with the actual path to your global node_modules folder

  6. Restart your AI assistant

Using Linear MCP

After installation, your AI assistant can use commands like:

  • "Create a new Linear issue for the Engineering team"
  • "List all my open Linear issues"
  • "Show me the details of issue ENG-123"
  • "Create a comment on issue ENG-456"
  • "Assign issue ENG-789 to Project X"

The assistant will automatically use the MCP tools to interact with Linear.

Available Tools

Issue Management

  • create_issue - Create a new issue
  • list_issues - List issues with filters
  • update_issue - Update an existing issue
  • get_issue - Get detailed issue information
  • search_issues - Search for issues using text queries
  • create_comment - Create a comment on an issue
  • update_comment - Update an existing comment

Team Management

  • list_teams - List all teams that the current user is a member of
  • list_all_teams - List all teams accessible by the API key, including those where the user isn't a member
  • create_team - Create a new team
  • update_team - Update an existing team
  • delete_team - Delete or archive a team

Issue Search and Reporting

  • search_issues - Search for issues using text queries
  • search_team_issues - Search for issues in a specific team regardless of user membership, supporting advanced filters like type, status, date, and assignee

Project Management

  • list_projects - List all projects
  • create_project - Create a new project
  • update_project - Update an existing project
  • get_project - Get detailed project information
  • list_project_milestones - List milestones for a project
  • create_project_milestone - Create a new milestone
  • update_project_milestone - Update a milestone
  • delete_project_milestone - Delete a milestone

User Management

  • list_users - List all users
  • get_user - Get detailed user information

Label Management

  • list_labels - List all labels
  • create_label - Create a new label
  • update_label - Update an existing label
  • delete_label - Delete a label

Troubleshooting

Common Issues

Linear API Key Issues:

  • Ensure your API key is valid and has the necessary permissions
  • Check that the key is correctly entered in your configuration

MCP Not Found:

  • Make sure the package is installed: npm list -g agency-linear
  • Try using the full path to the executable

Setup Wizard Not Found:

  • If npx cursor-setup fails, try installing globally first: npm install -g agency-linear
  • Then run cursor-setup directly

Cursor Configuration Issues:

  • Verify your mcp.json file exists and contains the agency-linear configuration
  • Restart Cursor after making configuration changes

For Developers

Local Development

For development with auto-rebuild:

git clone https://github.com/YevUA/BetterLinearMCP.git
cd BetterLinearMCP
npm install
npm run watch

Technical Details

Built with:

  • TypeScript
  • Linear SDK (@linear/sdk v37.0.0)
  • MCP SDK (@modelcontextprotocol/sdk v0.6.0)

License

MIT