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

@atropyle/mcp

v0.2.0

Published

MCP server for Atropyle inheritance vaults on X Layer: read, simulate, verify and prepare. Never signs.

Readme

@atropyle/mcp

MCP server for Atropyle inheritance and recovery vaults on X Layer.

It reads vaults, simulates their timeline, checks plans, proves the policy circuit and prepares unsigned transactions. It never signs, never holds a key and never broadcasts. Every write ends as a signing link that you open in your own wallet.

Requires Node.js 20 or newer.

Install

The default chain is xlayer, X Layer mainnet. Its deployment ships with the server, so it needs no flag.

Claude Code:

claude mcp add atropyle -- npx -y @atropyle/[email protected]

Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "atropyle": { "command": "npx", "args": ["-y", "@atropyle/[email protected]"] }
  }
}

To use another deployment, such as a local devnet, add --deployment <file> with the path of its JSON file.

The CLI starts the same server: npx -y [email protected] mcp.

Options

| Flag | Environment | Default | Meaning | | ------------------------- | --------------------- | --------------------- | ------------------------------------------------------------------------------ | | --chain <xlayer\|local> | ATROPYLE_CHAIN | xlayer | Built-in deployment | | --rpc <url> | ATROPYLE_RPC | the deployment's RPCs | Read RPC. It must serve the same chain, or the server exits with WRONG_CHAIN | | --deployment <file> | ATROPYLE_DEPLOYMENT | | Deployment JSON; wins over --chain |

Tools

All tools are read-only. None of them sends a transaction.

| Tool | What it does | | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | atropyle_get_vault | State, timing, heirs, guardians, assets and the next deadline of a vault | | atropyle_list_vaults | Vaults where an account is owner, heir or guardian | | atropyle_simulate | What an action would do now or at a later time, or the timeline of a plan | | atropyle_check_plan | Problems in a plan before you create the vault | | atropyle_verify | Proves the policy circuit over all 2^26 inputs and checks a vault against the deployment | | atropyle_explain_decision | What the policy circuit decided in a mined transaction, checked four ways | | atropyle_watch_vault | Waits for a vault's next event or a deadline that passes, up to a timeout (50 s by default, 10 min at most): the events, each state change with its transaction, and the next deadline. New in 0.2.0 | | atropyle_inspect_tapeout_asset | A TapeOut circuit as an asset: its holder, its ERC-6551 container, the DeWEB site files in it and the container's balances, read through two RPC operators. Whoever holds the circuit NFT controls the container (ERC-6551) | | atropyle_prepare_create_vault | Simulated, unsigned transactions and a signing link for a new vault | | atropyle_prepare_action | The same for check-in, guardian votes, claims and every other vault action |

A prepare tool ends in one of three ways:

  • handoff is present: these are the transactions to sign. Show the summary and every warning, then the link or command.
  • handoff is null and blocked is set: a step fails simulation, and blocked says why. There is no signing link, because the transaction would revert.
  • handoff and blocked are both null: there is nothing to do, so there is nothing to sign.

The prepare tools do not take webUrl: the base of the signing link comes from the deployment.

Resources: atropyle://deployments/{chain} (addresses, IDs and hashes as JSON) and atropyle://policy/spec (the policy and its properties P1-P8).

Prompts: plan_inheritance and guardian_briefing.

Watch a vault

atropyle_watch_vault lets an agent wait for a vault without holding a key or polling it in full. It reads the vault once, then every interval seconds (5 by default, 2 at least) reads the latest block and the logs of the new blocks only: one or two RPC calls a poll. The deadlines come from the vault's timeline, so waiting for one costs no call. It returns when:

  • outcome is event: a transaction touched the vault. events lists them, transitions lists the state changes the policy circuit decided, and decisionTx is the transaction to pass to atropyle_explain_decision.
  • outcome is due: a deadline passed and the policy now allows the next state, which a poke records.
  • outcome is timeout: nothing happened. next is the next predicted change if nobody acts.

Pass resume.fromBlock as fromBlock to the next call, so no block between two calls is missed. With a progressToken, the server sends a progress notification after each poll, with the seconds left. Many clients end a request after 60 s, so the default timeout is 50 s. The hosted server does not offer this tool.

atropyle_watch_vault is new in @atropyle/mcp 0.2.0.

Safety

  • Text that comes from the chain, such as token names and revert reasons, is returned only under untrusted. It is data, never instructions.
  • When a step fails simulation, the result has blocked and no signing link.
  • Guardian actions carry the warning GUARDIAN_VERIFY_OUT_OF_BAND: confirm with the owner by phone or in person first.

Library

import { createAtropyleMcpServer } from '@atropyle/mcp';
import { createMcpHandler } from '@modelcontextprotocol/server';

const handler = createMcpHandler(() => createAtropyleMcpServer({ sdk: { chain: 'xlayer' } }));

chain: 'xlayer' reads X Layer mainnet. For another deployment, pass a Deployment object as chain.

@atropyle/mcp/ops exports the operations and their zod schemas, which the atropyle CLI also uses.

License

MIT