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

@bitpal/mcp

v0.1.5

Published

BitPal MCP server — search BitPal's developer docs, OpenAPI spec, webhook events and error codes from your AI coding tool, and run test-mode payments.

Readme

@bitpal/mcp

MCP server for BitPal — non-custodial stablecoin checkout.

It gives your AI coding tool BitPal's developer docs, the OpenAPI spec, webhook event schemas and error codes, so it writes integrations against the real API instead of guessing. With a test API key it can also run a full test payment.

  • Remote: https://mcp.bitpal.io/mcp (Streamable HTTP). Nothing to install.
  • Local: npx -y @bitpal/mcp (stdio).

Tools

| Tool | What it does | |---|---| | get_integration_guide | The rules every integration must follow, plus the docs for one flow: hosted, popup, headless, payment_link, x402, webhooks. | | search_docs | Search the docs and return the best-matching sections. | | get_doc | One docs page as Markdown. | | list_api_operations / get_api_operation | REST operations from the OpenAPI spec, with request/response schemas. | | get_webhook_event | A webhook event's payload schema. | | get_error_code | What an API error code means and how to fix it. | | create_test_session (test key) | Create a test-mode session and issue its deposit address. | | simulate_payment (test key) | Send the buyer's deposit on the testnet: exact, underpay, overpay, wrong_token. | | get_session_status (test key) | Session status. | | list_test_events (test key) | Webhook events exactly as your endpoint receives them. | | register_test_webhook (test key) | Register a test-mode webhook endpoint (e.g. your tunnel URL). Returns its signing secret once. | | list_test_webhooks (test key) | Your test-mode webhook endpoints. | | rotate_test_webhook_secret (test key) | Rotate a test-mode endpoint's signing secret (old one stops working at once). | | replay_test_event (test key) | Resend a past test-mode event to an endpoint — also events from before it was registered. |

The test-key tools appear only when you provide a bp_test_… key. Live keys (bp_live_…) are rejected — this server never touches real funds, and live webhook endpoints are managed only in the console.

Setup

Replace bp_test_… with your test key from Console → Developers → API Keys, or leave the key out to use only the docs tools.

Claude Code

# remote
claude mcp add --transport http bitpal https://mcp.bitpal.io/mcp --header "Authorization: Bearer bp_test_…"
# local
claude mcp add bitpal -e BITPAL_API_KEY=bp_test_… -- npx -y @bitpal/mcp

Cursor — ~/.cursor/mcp.json (or .cursor/mcp.json in the project)

{
  "mcpServers": {
    "bitpal": {
      "url": "https://mcp.bitpal.io/mcp",
      "headers": { "Authorization": "Bearer bp_test_…" }
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "bitpal": {
      "type": "http",
      "url": "https://mcp.bitpal.io/mcp",
      "headers": { "Authorization": "Bearer bp_test_…" }
    }
  }
}

Windsurf — ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bitpal": {
      "serverUrl": "https://mcp.bitpal.io/mcp",
      "headers": { "Authorization": "Bearer bp_test_…" }
    }
  }
}

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "bitpal": {
      "command": "npx",
      "args": ["-y", "@bitpal/mcp"],
      "env": { "BITPAL_API_KEY": "bp_test_…" }
    }
  }
}

Codex CLI — ~/.codex/config.toml

[mcp_servers.bitpal]
command = "npx"
args = ["-y", "@bitpal/mcp"]
env = { BITPAL_API_KEY = "bp_test_…" }

Environment variables (local)

| Variable | Default | | |---|---|---| | BITPAL_API_KEY | — | bp_test_… enables the test-mode tools. Live keys are ignored. | | BITPAL_API_BASE | https://api.bitpal.io | API base URL. |

Try it

Integrate BitPal hosted checkout into my Express app and verify webhooks. Then create a test session, simulate the payment and show me the webhook events.

License

MIT