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

mentu-mcp

v0.1.0

Published

Mentu MCP Server — commitment ledger protocol for AI-native IDEs

Readme

@mentu/mcp

Model Context Protocol server for the Mentu commitment ledger. Gives any MCP-compatible AI IDE (Claude Code, Cursor, Codex, Windsurf, etc.) the ability to track work as append-only commitments with full evidence chains.

Mentu is not a task tracker. It is:

  • Commitment ledger -- append-only, never mutate
  • Evidence-bound -- every state transition (build pass/fail, PR created, triage decision) is captured
  • Coordination-first -- any agent or human can query Mentu to reconstruct pipeline state without local files
  • Agent-compatible -- designed for human+AI interoperability

Installation

Run directly with npx (no install required):

npx @mentu/mcp

Claude Code

claude mcp add mentu -- npx @mentu/mcp

Cursor / Windsurf / Other MCP clients

Add to your MCP config (e.g. .cursor/mcp.json):

{
  "mcpServers": {
    "mentu": {
      "command": "npx",
      "args": ["@mentu/mcp"],
      "env": {
        "MENTU_API_TOKEN": "your-token",
        "MENTU_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}

Configuration

The server reads configuration from environment variables, falling back to a .mentu.json file in your project root.

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | MENTU_API_TOKEN | Yes | Authentication token for the Mentu proxy API | | MENTU_WORKSPACE_ID | Yes | Your Mentu workspace ID | | MENTU_API_URL | No | API endpoint (defaults to https://mentu-proxy.affihub.workers.dev) |

The server also accepts VITE_MENTU_* prefixed variants for compatibility with Vite-based projects.

.mentu.json

Place a .mentu.json file in your project root as an alternative to environment variables:

{
  "apiUrl": "https://mentu-proxy.affihub.workers.dev",
  "apiToken": "your-token",
  "workspaceId": "your-workspace-id",
  "projectDomains": ["myapp.com", "staging.myapp.com"]
}

Environment variables take precedence over .mentu.json values.

Tools (12)

Commitment lifecycle

| Tool | Description | Key Parameters | |------|-------------|----------------| | mentu_commit | Create a new commitment (promise to do work) | body (string), source (mem_xxx), tags?, meta? | | mentu_claim | Claim a commitment for execution | commitment (cmt_xxx) | | mentu_submit | Submit a commitment for review with evidence | commitment (cmt_xxx), evidence (mem_xxx[]), summary?, tier?, validation? | | mentu_close | Close a commitment directly | commitment (cmt_xxx), evidence?, duplicate_of? | | mentu_approve | Approve a submitted commitment, closing it as passed | commitment (cmt_xxx), comment?, auto? |

Memory management

| Tool | Description | Key Parameters | |------|-------------|----------------| | mentu_capture | Capture a memory (bug report, progress note, validation result) | body (string), kind?, refs?, meta?, source_key? | | mentu_dismiss | Dismiss a memory as junk/test/duplicate | memory (mem_xxx), reason (string), tags? | | mentu_annotate | Add a comment or note to a memory or commitment | target (mem_xxx or cmt_xxx), body (string), kind? |

Triage and queries

| Tool | Description | Key Parameters | |------|-------------|----------------| | mentu_triage | Record a triage session with decisions per memory | reviewed (mem_xxx[]), summary, decisions (action per memory) | | mentu_list_memories | List memories with optional filters | limit?, offset?, kind?, since? | | mentu_list_commitments | List commitments with lifecycle state | state?, owner?, tags?, limit?, offset?, since? | | mentu_get_status | Get pipeline health: counts by state, totals, ledger stats | (none) |

Commitment state machine

OPEN --> CLAIMED --> IN_REVIEW --> CLOSED
                  /                  |
            REOPENED <--------------+

Resources (5)

| URI | Description | |-----|-------------| | mentu://commitments | All commitments with lifecycle state | | mentu://commitments/{id} | Single commitment with history and annotations | | mentu://memories | All memories (bug reports, evidence) | | mentu://memories/{id} | Single memory with annotations | | mentu://status | Pipeline health summary |

Prompts (3)

| Prompt | Description | Arguments | |--------|-------------|-----------| | mentu_triage | Triage bug memories using the 5-gate garbage filter. Fetches untriaged memories, scores survivors, and presents an actionable dashboard. | project_name?, batch_size? | | mentu_fix | Fix a single bug ticket end-to-end: fetch, investigate, branch, fix, PR, submit. | memory_id (required) | | mentu_batch | Batch fix multiple bug tickets in a wave. Triage first, then fix top tickets sequentially with full evidence chain. | batch_size?, dry_run? |

Supported IDEs

This MCP server works with any IDE or tool that supports the Model Context Protocol:

  • Claude Code (Anthropic)
  • Cursor
  • Codex (OpenAI)
  • Windsurf (Codeium)
  • Continue
  • Any other MCP-compatible client

Requirements

  • Node.js >= 18.0.0

License

MIT -- see LICENSE