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

@capxul/mcp

v1.0.0-alpha.17

Published

Capxul MCP server — agent-facing financial-ops tools (auth, account readiness, balances, testnet faucet, payments) exposed over Streamable HTTP with OAuth bearer auth and a dev-mode custody gate.

Readme

@capxul/mcp

The Capxul MCP server — a runnable Model Context Protocol server that exposes Capxul's agent-facing financial-ops tools to MCP clients (Claude, Cursor, and other agents) over Streamable HTTP.

This package ships a CLI, not a library: the published artifact is the capxul-mcp executable.

Install & run

# one-off, via npx
npx @capxul/mcp serve --mode live

# or install globally
npm i -g @capxul/mcp
capxul-mcp serve --mode live
Usage:
  capxul-mcp serve [--mode live|dev] [--port <port>] [--approval-url <url>]

Options:
  --mode live|dev       Launch mode. Defaults to live. There is no env-var mode selector.
  --port <port>         Bind port. Defaults to CAPXUL_MCP_PORT or 8788.
  --approval-url <url>  Approval app base URL. Defaults to CAPXUL_MCP_APPROVAL_URL or http://localhost:5998.
  --help                Show this help.

The server speaks MCP over Streamable HTTP at POST /mcp. The startup banner prints the bound URL and the enabled tool set.

What it exposes

Agent-facing financial-ops tools, composed in src/registry.ts:

  • system.ping — liveness probe (no auth, no secrets).
  • auth.* — request/verify an email OTP, exchanging it for an opaque session token bound to the MCP session.
  • account.* — account readiness and on-chain Money balances.
  • faucet.fundTestnet — testnet faucet (env-gated).
  • payments.send — send a sponsored stablecoin payment.

Auth & transport

  • Streamable HTTP transport — a fresh, stateless McpServer per POST /mcp.
  • OAuth bearer auth — an in-memory PKCE OAuth provider gates tool access when CAPXUL_MCP_OAUTH_REQUIRED=1; a proof-issuer secret can mint bearer tokens for automated probes.
  • Dev-mode custody gate--mode dev runs against a deterministic dev signer seed (CAPXUL_MCP_DEV_SIGNER_SEED) so journeys can be exercised without live custody; --mode live uses the production signer path.

Runtime configuration

Environment is read lazily on the first authenticated tool call, so liveness (system.ping) needs no secrets. A missing slot surfaces as a structured ENV_MISSING tool error naming the exact variable. Notable variables:

| Variable | Purpose | | --- | --- | | CAPXUL_MCP_PORT | Bind port (default 8788; 0 = ephemeral). | | CAPXUL_MCP_DEV_SIGNER_SEED | Deterministic dev signer seed (--mode dev). | | CAPXUL_MCP_OAUTH_REQUIRED | 1 to require an OAuth bearer token. | | CAPXUL_MCP_OAUTH_PROOF_ISSUER_SECRET | Secret to mint proof bearer tokens. | | CAPXUL_MCP_APPROVAL_URL | Base URL of the Approval app for deploy approvals. |

Distribution

@capxul/mcp is published from the Xelmar-tech/infrastructure repo on the alpha dist-tag. The tarball is self-contained: every internal @capxul/* workspace package the server reaches (@capxul/sdk, @capxul/backend, @capxul/config, @capxul/types) is bundled into dist/main.mjs at pack time, while real npm dependencies (effect, convex, viem, zod, @modelcontextprotocol/sdk, …) stay external and are resolved from the consumer's lockfile.