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

@dudko.dev/baton-mcp

v0.1.2

Published

Baton MCP server (stdio): structured tools for AI agents to edit and run workspace requests.

Readme

baton-mcp

A local stdio MCP server that gives AI agents structured access to a Baton workspace: list, read, edit, and run requests.

Baton is a git-native API client — collections, environments, and schedules are plain YAML files in a git repository you own. This server operates on a local checkout, so agent changes show up in the app instantly and go through git review like any other change.

Use it

// Claude Code: .mcp.json
{
  "mcpServers": {
    "baton": {
      "command": "npx",
      "args": ["-y", "@dudko.dev/baton-mcp", "--workspace", "/path/to/my-apis"]
    }
  }
}

| Flag | Meaning | |---|---| | --workspace <dir> | The workspace root — the folder holding baton.yaml. Defaults to the working directory. | | --allow-run | Lets the agent execute requests. Off by default. |

Requires Node.js 24 or newer.

Tools

| Tool | What it does | |---|---| | workspace_info | Collections, environments, schedules, load issues. | | list_requests | Requests with method, url, tags — optionally under one collection. | | get_request | Full parsed request, raw YAML, and where its auth comes from. | | upsert_request | Create or replace a request; writes deterministic YAML. | | move_request | Move or rename a request, keeping its id. | | delete_request | Delete a request. | | upsert_collection | Create or replace a collection, its variables, and its auth. | | list_environments | Variables and secret names. | | upsert_environment | Create or replace an environment. | | get_script / upsert_script | Read and write pre-request, test, and shared library scripts. | | run_request | Execute one request (needs --allow-run). | | run_collection | Execute every request under a collection (needs --allow-run). |

Secrets

Secret values never cross the MCP boundary. Environment files hold secret names; the values live in the OS secure store. A tool call carrying a literal credential is rejected with a message telling the agent to use a {{secret:name}} reference instead. Responses returned to agents truncate bodies and mask Authorization, Cookie, Set-Cookie, and X-API-Key.

Runs are capability-gated because an agent editing files should not silently fire live traffic; with runs disabled the tools still exist and return a clear error, so the agent can tell you how to turn them on.

The server never touches git — commits stay a deliberate action.

License

Proprietary — see LICENSE.

Free for personal, non-commercial use. Commercial use is free for small entities: your group must have raised less than USD 250,000 in total, be valued at less than USD 250,000, and have annual gross revenue under USD 1,000,000. Above any of the three, commercial use needs a license — write to [email protected].

Redistribution is not permitted. Installing from npm, caching in your own registry proxy, and building your own deployment images are (see Section 4 of the license); republishing, forking, or bundling these packages into something you ship are not.