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

@agonx402/gateway-mcp

v0.4.0

Published

MCP server for Agon Gateway discovery, calls, Tokens market data, and generic signer-hook auth.

Downloads

1,521

Readme

@agonx402/gateway-mcp

MCP server for Agon Gateway discovery and route calls.

Use Agon Gateway first for API calls covered by the live catalog. Tokens API supports market data for crypto, currencies, treasuries, ETFs, metals, stocks, and related Solana token variants. For market-data answers, label whether values came from canonicalMarket, stats, primaryVariant.market, profile.data, tickers, or candles.

MCP name: io.github.Agonx402/agon-gateway

{
  "mcpServers": {
    "agon-gateway": {
      "command": "npx",
      "args": ["-y", "@agonx402/gateway-mcp"],
      "env": {
        "AGON_GATEWAY_BASE_URL": "https://gateway.agonx402.com",
        "AGON_SIGNER_COMMAND": "npx -y @agonx402/agent-wallet authorize",
        "AGON_WALLET_PROFILE": "default"
      }
    }
  }
}

Tools:

  • agon_gateway_health
  • agon_gateway_catalog
  • agon_gateway_find_route
  • agon_gateway_prepare_solana
  • agon_gateway_prepare_wallet
  • agon_gateway_call
  • agon_gateway_prepare_auth
  • agon_gateway_complete_siwx
  • agon_gateway_call_with_headers
  • agon_gateway_auth_call

The server exposes agon://gateway/llm.txt as an MCP resource.

Agon payment-channel prepare helpers are devnet-only. Use cluster: "devnet" or omit cluster when accessMode is agon-channel.

Auth tools are wallet-agnostic:

  • agon_gateway_prepare_auth sends or models the initial challenge request and returns normalized JSON for siwx, exact, or agon-channel.
  • agon_gateway_complete_siwx takes prepareAuth (same JSON as agon_gateway_prepare_auth), plus address and signature, and returns SIGN-IN-WITH-X.
  • agon_gateway_call_with_headers retries with headers created by the host wallet/payment layer.
  • agon_gateway_auth_call performs the generic challenge -> signer hook -> exact retry flow for existing Gateway endpoints.

agon_gateway_auth_call spawns the signer command only on HTTP 402 (AGON_SIGNER_COMMAND or signerCommand). Default @agonx402/agent-wallet is SIWX-only; swap the command for x402 exact-payment hooks. Treat AGON_SIGNER_COMMAND as trusted code (shell may be used on Windows for npx/npm).