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

monospay-mcp

v1.1.2

Published

MCP server for monospay — AI agent payments. Bootstraps a Python virtualenv on first run (requires Python 3.10+).

Readme

monospay-mcp

Pay per MCP tool call in USDC. Your agent gets a wallet, your paid tools get on-chain settlement on Base. No admin keys, no proxy, no custodian.

Quickstart (4 lines)

  1. Get an API key at monospay.com/dashboard → Agents → API keys.
  2. Paste this into your MCP config (Claude Desktop / Cursor / Windsurf):
    {"mcpServers":{"monospay":{"command":"npx","args":["-y","monospay-mcp"],"env":{"MONO_API_KEY":"mono_live_..."}}}}
  3. Restart the client.
  4. Ask: "Check my monospay balance".

To send payments, also set MONO_SESSION_TOKEN (issued in the same dashboard). Session tokens are short-lived bearers — revocable, never hold a private key.

What it does

Exposes monospay's payment primitives as MCP tools so any MCP-aware agent (Claude Desktop, Claude Code, Cursor, Windsurf) can:

  • check balance, view transactions, set spending limits — with API key only
  • transfer USDC on Base mainnet — with a session token

That same flow lets paid MCP servers charge agents per tool call: the server returns a quote, the agent pays via monospay, the server verifies the on-chain receipt before returning the tool result.

Configuration

Claude Desktopclaude_desktop_config.json:

{
  "mcpServers": {
    "monospay": {
      "command": "npx",
      "args": ["-y", "monospay-mcp"],
      "env": {
        "MONO_API_KEY": "mono_live_...",
        "MONO_SESSION_TOKEN": "mono_sess_..."
      }
    }
  }
}

Claude Code:

claude mcp add monospay \
  -e MONO_API_KEY=mono_live_... \
  -e MONO_SESSION_TOKEN=mono_sess_... \
  -- npx -y monospay-mcp

Cursor / Windsurf — same JSON block in the editor's MCP settings.

Capability matrix

| | API key only | + Session token | + Private key (deprecated) | |---|---|---|---| | Check balance | yes | yes | yes | | View transactions | yes | yes | yes | | Set spending limits | yes | yes | yes | | Pay paid tool calls | no | yes (revocable) | yes (legacy) |

Session tokens are the recommended path. Private keys keep working with a deprecation notice on each launch.

"env": {
  "MONO_API_KEY": "mono_live_...",
  "MONO_PRIVATE_KEY": "0x..."
}

How it runs

This package is a thin Node launcher. On first run it bootstraps a Python virtualenv at <tmp>/monospay-mcp-venv and installs monospay[mcp] from PyPI. The MCP server itself is Python — the signing path uses eth-account for EIP-191, which has no Node equivalent of comparable correctness. Subsequent runs reuse the venv.

[monospay-mcp] First run — bootstrapping a Python virtualenv.
[monospay-mcp] [1/3] Creating virtualenv...
[monospay-mcp] [2/3] Upgrading pip (quiet)...
[monospay-mcp] [3/3] Installing monospay[mcp] from PyPI...
[monospay-mcp] Ready. Starting MCP server.

Requirements: Python 3.10+ on PATH (python3 or python), Node 18+, outbound HTTPS to pypi.org on first run.

Building a paid MCP server?

The receive side runs against the monospay HTTP API. Your tool issues a quote, waits for on-chain settlement, then returns the result. Implementation reference: monospay Python SDK. Open an issue or email [email protected] for early integration help.

Links