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

envpact-mcp

v0.2.0

Published

MCP server for envpact — bring centralized secret management to AI coding agents (Cursor, Windsurf, Claude Code, Cline)

Readme

envpact-mcp

npm version License: MIT CI

Model Context Protocol server for envpact — bring centralized secret management to AI coding agents (Cursor, Windsurf, Claude Code, Cline, Goose, ChatGPT Desktop, and any other MCP-aware client).

Stop pasting API keys into prompts. Let your agent generate .env files from your private vault on demand.

Part of the envpact ecosystem.

What it does

When you ask your AI agent "set up a Next.js project that uses OpenAI and Stripe", modern agents can scaffold the code but get stuck at the .env step. With envpact-mcp installed:

  • The agent sees your project's .env.example requirements.
  • It calls generate_env and the file is written from your private vault.
  • New keys it discovers are added back to the vault via add_secret/add_shared_secret.
  • Optionally syncs to GitHub Actions via sync_github so CI works end-to-end.

You never paste a secret into an agent prompt.

Installation

The MCP server is published to npm as envpact-mcp. Configure your AI client:

Claude Desktop / Claude Code

~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "envpact": {
      "command": "npx",
      "args": ["-y", "envpact-mcp"]
    }
  }
}

Cursor

.cursor/mcp.json in your project, or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "envpact": {
      "command": "npx",
      "args": ["-y", "envpact-mcp"]
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "envpact": {
      "command": "npx",
      "args": ["-y", "envpact-mcp"]
    }
  }
}

Cline (VS Code)

In Cline's MCP settings panel, add a stdio server with command npx and args ["-y", "envpact-mcp"].

Prerequisites

You need an envpact vault. If you don't have one yet:

npx envpact-cli --init auto
# Creates chirag127/envpact-secrets (private) and clones it to
# ~/.envpact/secrets/ — same vault every component reads.

Available Tools

| Tool | Description | | :--- | :--- | | generate_env | Resolve secrets, write .env for the current project. | | list_projects | List all projects in the vault. | | list_shared | List shared secret names (values are masked). | | list_environments | List environments configured for a project. | | add_secret | Add/update a project secret. | | add_shared_secret | Add/update a shared secret. | | rotate_secret | Rotate a shared secret; reports affected projects. | | sync_github | Push resolved secrets to GitHub Actions. |

Schema details: see SHARED_SPEC §7.

Example Agent Conversations

You: "Set up envpact for this project. The .env.example needs OPENAI_API_KEY and DATABASE_URL."

Agent: calls generate_env.env written, missing DATABASE_URL. Asks: "Should DATABASE_URL be a shared secret or project-specific?"

You: "Shared, value is postgres://prod-host/db."

Agent: calls add_shared_secret({key: 'DATABASE_URL', value: '...'}), then add_secret({project: 'this-app', key: 'DATABASE_URL', value: 'shared.DATABASE_URL'}), then generate_env again. Done — .env complete.

You: "OPENAI_API_KEY was leaked. Rotate it everywhere."

Agent: calls rotate_secret({key: 'OPENAI_API_KEY', new_value: 'sk-new...'}) → reports 12 affected projects. Calls sync_github for each.

Remote / SSE Variant

A Cloudflare Worker variant supporting MCP over Streamable HTTP + SSE is planned for v0.2.0. Track it at #1. For now, stdio is the only supported transport.

Security Model

  • Vault values never leave your machine in tool responses — only the tool params (e.g. when you ask the agent to set a value) carry plaintext.
  • list_shared returns only names; values are never echoed.
  • The MCP server reads/writes ~/.envpact/secrets/ directly. The vault is your existing private GitHub repo.
  • All vault commits are signed-off (-s) and authored by envpact-mcp.

License

MIT © Chirag Singhal — see LICENSE.