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

@works-cli/mcp-server

v0.2.0

Published

MCP Server for Works - Native integration for Claude Desktop, Cursor, Cline

Downloads

163

Readme

@works-cli/mcp-server

Native MCP (Model Context Protocol) server for Works integration with AI coding agents.

Supported Clients

  • Claude Desktop - Native MCP support
  • Cursor - Via MCP integration
  • Windsurf - Via MCP integration
  • Cline - Via MCP integration
  • Any MCP-compatible client

Quick Start

  1. Sign in once (credentials are stored locally):
npx @works-cli/cli login
  1. Add to your IDE's MCP config:
{
  "mcpServers": {
    "works": {
      "command": "npx",
      "args": ["-y", "@works-cli/mcp-server"]
    }
  }
}

That's it! The MCP server will use your stored credentials automatically.

Installation (Optional)

Install globally if you prefer:

npm install -g @works-cli/mcp-server

Or run directly with npx (recommended):

npx @works-cli/mcp-server

IDE Configuration

Cursor

Add to Cursor Settings → Features → MCP:

{
  "mcpServers": {
    "works": {
      "command": "npx",
      "args": ["-y", "@works-cli/mcp-server"]
    }
  }
}

Windsurf

Add to Windsurf Settings → MCP Servers:

{
  "mcpServers": {
    "works": {
      "command": "npx",
      "args": ["-y", "@works-cli/mcp-server"]
    }
  }
}

Claude Desktop

Add to ~/.config/claude/config.json (Linux/Mac) or %APPDATA%\Claude\config.json (Windows):

{
  "mcpServers": {
    "works": {
      "command": "npx",
      "args": ["-y", "@works-cli/mcp-server"]
    }
  }
}

Cline

Configure in Cline's MCP settings panel:

  • Command: npx
  • Args: ["-y", "@works-cli/mcp-server"]

Authentication

The MCP server looks for credentials in this order:

  1. Stored credentials from works login (recommended)
  2. WORKS_API_KEY environment variable
  3. --api-key command line argument

Using stored credentials (recommended)

npx @works-cli/cli login   # Sign in once
npx @works-cli/cli whoami  # Verify you're signed in

Using API key (alternative)

{
  "mcpServers": {
    "works": {
      "command": "npx",
      "args": ["-y", "@works-cli/mcp-server"],
      "env": {
        "WORKS_API_KEY": "your-api-key"
      }
    }
  }
}

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | WORKS_SERVER_URL | Backend server URL | https://api.works.select | | WORKS_API_KEY | API key for authentication | (none) |

Available Tools

All Works MCP tools are available:

  • get_work_context - Get AGENTS.md specification for a work item
  • search_work - Search for work items
  • list_assigned_work - List work assigned to agents
  • mark_complete - Mark work as completed
  • report_progress - Report progress on work
  • escalate_issue - Escalate blockers

How It Works

This MCP server acts as a proxy between MCP clients (Claude Desktop, Cursor, Cline) and the Works backend. It:

  1. Receives MCP requests via stdio
  2. Forwards them to the Works backend HTTP endpoint
  3. Returns responses in MCP format

This allows native integration without requiring HTTP client setup in each AI tool.

Development

# Install dependencies
npm install

# Build
npm run build

# Run locally
npm start