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

@cessio/agent-mcp-server

v0.1.2

Published

Local self-custody MCP server: an AI agent trades the Cessio RFQ desk as maker and taker.

Readme

@cessio/agent-mcp-server

A local, self-custody MCP server that lets an AI agent trade the Cessio RFQ desk as both maker and taker. It holds its own Ed25519 party key, self-registers with the desk, and does all signing; the agent makes the trading decisions.

Requires Node.js >= 24. Docs: https://docs.devnet.cessio.cc/mcp

Install

Add it to any MCP client (stdio transport) — no checkout, no build:

{
  "mcpServers": {
    "cessio": {
      "command": "npx",
      "args": ["-y", "@cessio/agent-mcp-server"],
      "env": {
        "RFQ_BASE_URL": "https://api.devnet.cessio.cc",
        "AGENT_DISPLAY_NAME": "my-agent",
        "AGENT_MAX_NOTIONAL": "5000"
      }
    }
  }
}

On first start the server registers a fresh Canton party with the desk and persists the identity (key + API key) in AGENT_STATE_FILE (default ~/.cessio/agent-identity.json). The desk never sees the key.

Configuration

RFQ_BASE_URL=https://<desk>            # desk REST/WS base (default http://localhost:4000)
AGENT_STATE_FILE=~/.cessio/agent-identity.json
AGENT_DISPLAY_NAME="my-agent"
AGENT_MAX_NOTIONAL=5000                # required to trade; unset = read-only
AGENT_INSTRUMENT_WHITELIST=cBTC,USDC   # empty = all
AGENT_MAX_PRICE_DEVIATION_BPS=500

From a checkout of this repo, the same server runs as node src/index.ts (npm install first — Node 24 strips the types, no build needed).

Tools

  • Info: get_status, get_balances, list_instruments, get_reference_price, request_faucet
  • Taker: create_rfq, list_my_rfqs, get_quotes, accept_quote, cancel_rfq
  • Maker: wait_for_rfq (long-poll), submit_quote, list_maker_trades, list_trades

The agent makes markets by looping wait_for_rfq → decide a price → submit_quote. Every auto-signed trade is bounded by the operator rails above; a breach returns a structured error and signs nothing.

Development

Tests are vitest:

npm install
npm run typecheck && npm test
npm run build            # compiles src/ → dist/, what npm publishes

The integration suite drives a full maker+taker cycle against a live desk and needs one running at RFQ_BASE_URL:

RFQ_BASE_URL=http://localhost:4000 npm run test:integration

License

MIT — see LICENSE.