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

@agentpay-ai/mcp-server-celo

v0.1.14

Published

AgentPay's MCP server exposes owner-authorized Celo payment tools over stdio or Streamable HTTP. It supports wallet setup, Celo USDC/USDT/USDm balances, direct payments, invoice parsing, LI.FI remittance routes, x402 service discovery and purchase, Review

Readme

@agentpay-ai/mcp-server-celo

AgentPay's MCP server exposes owner-authorized Celo payment tools over stdio or Streamable HTTP. It supports wallet setup, Celo USDC/USDT/USDm balances, direct payments, invoice parsing, LI.FI remittance routes, x402 service discovery and purchase, Review & Sign, execution, tracking, and audit events.

Run locally:

npm run start --workspace @agentpay-ai/mcp-server-celo

Core local/staging configuration is SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, CELO_RPC_URL, and EXECUTOR_PRIVATE_KEY. Per-request network switching can use CELO_MAINNET_RPC_URL and CELO_SEPOLIA_RPC_URL. For split consumer/public services, apply supabase/migrations/20260802130000_consumer_execution_handoff.sql, configure the same AGENTPAY_INTERNAL_EXECUTION_SECRET and loopback AGENTPAY_INTERNAL_EXECUTION_URL in both boundaries, then restart both services; only the public service keeps executor-grade secrets.

For the public Celo x402 seller gate (production route: /celo/mcp):

AGENTPAY_A2MCP_PAYMENT_ENABLED=true
AGENTPAY_A2MCP_PAYMENT_PAY_TO=0x...
AGENTPAY_A2MCP_PAYMENT_PRICE=$0.01
AGENTPAY_A2MCP_PAYMENT_NETWORK=eip155:42220
AGENTPAY_A2MCP_PAYMENT_ASSET=0xcebA9300f2b948710d2653dD7B07f33A8B32118C
AGENTPAY_A2MCP_PAYMENT_FACILITATOR_URL=https://api.x402.celo.org
AGENTPAY_CELO_X402_API_KEY=...

Unpaid calls receive HTTP 402 with PAYMENT-REQUIRED; verified calls are accepted only when their exact seller terms match configuration, settled before fulfilment, and returned with PAYMENT-RESPONSE. Durable lifecycle rows prevent duplicate fulfilment and write payer, payee, amount, asset, network, and settlement transaction evidence to payment_events. /healthz is never paywalled.

When AGENTPAY_ERC8004_ENABLED=true in the Celo mainnet production environment, the server exposes /.well-known/agent-registration.json without OAuth or x402. Publication requires a non-zero deployed AGENTPAY_ERC8004_AGENT_WALLET; AGENTPAY_ERC8004_AGENT_ID is added only after the registry transaction confirms. The document is schema-validated and does not advertise unimplemented trust mechanisms.

The buyer flow can search Bazaar with search_x402_services, prepare a result with prepare_x402_service_request, and pass both paymentRequired and the exact request to parse_x402_payment_required. The URL, method, body, and safe headers are bound into the owner-signed purpose before payment. After completion, retry_x402_request accepts only that request shape, attaches the explicitly labeled agentpay-receipt proof, and includes payment-identifier idempotency data when advertised. This bridge is AgentPay-specific, not a universal exact-scheme signer.

Celo mainnet production uses only AGENTPAY_ENVIRONMENT=production, AGENTPAY_HOME_CHAIN_ID=42220, AGENTPAY_ACCOUNT_VERSION=v2, production-only Supabase aliases, and CELO_MAINNET_RPC_URL=https://forno.celo.org. Generic and Sepolia aliases are rejected. The bounded canary is pinned to canonical Celo USDC and the tracked Celo manifest; /readyz remains closed until the database identity, deployed contract, account history, x402 configuration, and durable canary checks all agree.

Production stdio is disabled. Setup-web production deployment stays separately gated, and all broadcast or external provisioning actions require explicit operator approval.