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

rollgate-mcp

v0.2.0

Published

Rollgate MCP server — manage Rollgate feature flags from Claude, Cursor, Codex and any MCP-compatible client.

Readme

Rollgate MCP Server

Manage Rollgate feature flags from Claude Code, Cursor, Codex, Continue, Cline or any MCP-compatible client.

Status: beta (v0.2, Day 3 full). 8 MVP tools implemented per ADR scope. Day 4 = npm publish + distribuzione (glama.ai + r/mcp + dev.to).

Quickstart

1. Generate an MCP token

Go to https://rollgate.io/settings?tab=mcp-tokens and create a token. Copy it (you'll only see it once).

2. Configure your MCP client

Claude Code / Claude Desktop

{
  "mcpServers": {
    "rollgate": {
      "command": "npx",
      "args": ["-y", "rollgate-mcp"],
      "env": {
        "ROLLGATE_API_KEY": "rgmcp_xxx...",
        "ROLLGATE_ORG_ID": "your-org-uuid",
        "ROLLGATE_PROJECT_ID": "your-project-uuid",
        "ROLLGATE_ENV_ID": "your-env-uuid"
      }
    }
  }
}

Cursor / Continue / Cline

Same pattern, see their docs for the MCP server config location.

3. Try a tool

In your MCP client, ask: "List my Rollgate feature flags." The model will call list_feature_flags and you'll see the results inline.

Configuration

Config is loaded from (in order, env vars take precedence):

  1. Env vars: ROLLGATE_API_KEY, ROLLGATE_API_URL, ROLLGATE_ORG_ID, ROLLGATE_PROJECT_ID, ROLLGATE_ENV_ID
  2. JSON file at $ROLLGATE_MCP_CONFIG
  3. ~/.config/rollgate-mcp/config.json
  4. ~/.rollgate-mcp.json

Example config file:

{
  "apiKey": "rgmcp_xxx...",
  "apiUrl": "https://api.rollgate.io",
  "organizationId": "...",
  "projectId": "...",
  "environmentId": "..."
}

Tools (v0.2 — 8 MVP)

| Tool | Description | |---|---| | list_feature_flags | List flags in the configured project, with optional filters (search, tags, status). | | create_feature_flag | Create a new boolean / string / number / json flag. | | get_feature_flag | Get a flag by id or key, optionally with state in a given environment. | | update_feature_flag | Update flag metadata (name, description, category, tags). | | delete_feature_flag | Delete a flag permanently. | | toggle_flag_in_environment | Toggle a flag ON/OFF in a specific environment. | | set_flag_rollout | Set rollout percentage, target users, or targeting rules in an environment. | | detect_existing_flag | Search existing flags by intent before creating duplicates. |

Development

npm install
npm run dev   # tsx watch mode
npm run build # tsc → dist/
npm test      # TODO (Day 3 full)

License

MIT