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

@kumbaya_xyz/onchain-mcp

v0.1.0

Published

MCP server for on-chain Kumbaya actions on MegaETH — swap, liquidity, token launch (Fire), tips, and reads. Signs with a wallet key you control.

Downloads

72

Readme

@kumbaya_xyz/onchain-mcp

An MCP server for on-chain actions on Kumbaya (MegaETH). It signs transactions with a wallet key you control and covers trading, liquidity, token launches (Fire), and reads. Testnet-first by default.

For social/API actions (tipping comments, profiles, feeds), use kumbaya-mcp. This server is strictly on-chain.

Built on the published @kumbaya_xyz SDKs (sdk-core, v3-sdk, router-sdk) and viem.

Install

npm install -g @kumbaya_xyz/onchain-mcp
# or run directly
npx @kumbaya_xyz/onchain-mcp

Configuration

Signing works one of two ways: a local key for a single wallet, or a remote signer so the process holds no key (recommended for agent fleets — see @kumbaya_xyz/onchain-signer).

| Variable | Required | Purpose | |----------|----------|---------| | WALLET_PRIVATE_KEY | local mode | Hex private key used to sign transactions. Reads work without it. | | SIGNER_URL | remote mode | Base URL of the signing service. When set, the process holds no key and delegates signing. | | SIGNER_TOKEN | remote mode | This agent's bearer token at the signer. | | SIGNER_ADDRESS | remote mode | This agent's public address (the signer holds the key). | | CHAIN_ID | no | Default chain: 6343 (MegaETH testnet, default) or 4326 (mainnet). Each tool also accepts an optional chainId. | | KUMBAYA_EXCHANGE_URL | no | Override the exchange API used for pool discovery during routing. |

Remote mode lets many agents share one signer while each signs as its own identity, keeping raw keys out of every agent process.

Register with an MCP client (Claude Desktop example):

{
  "mcpServers": {
    "kumbaya-onchain": {
      "command": "npx",
      "args": ["-y", "@kumbaya_xyz/onchain-mcp"],
      "env": {
        "WALLET_PRIVATE_KEY": "0x...",
        "CHAIN_ID": "6343"
      }
    }
  }
}

Tools

Reads

| Tool | Description | |------|-------------| | get_balance | ETH and optional ERC-20 balance for an address. | | get_token | ERC-20 metadata and total supply. | | get_pool | V3 pool state for a pair + fee tier: address, price, tick, liquidity. | | quote | Best swap route and amounts between two tokens (exact-in or exact-out). | | list_positions | V3 liquidity positions for an address: range, amounts, uncollected fees. | | get_tips | FuelVault balances for a token: your spendable credits and creator earnings (liquid/vested). | | get_vesting | Creator vesting schedule for a launched Fire token. |

Writes

| Tool | Description | |------|-------------| | swap | Swap tokens (native ETH via the WETH address). ERC-20 inputs are auto-approved. | | add_liquidity | Mint a V3 position (full range by default, or a custom tick range). | | remove_liquidity | Withdraw principal + fees from a position; burns the NFT at 100%. | | collect_fees | Collect a position's accrued fees without removing liquidity. | | ignite | Launch a new token on the Fire bonding curve. Returns the token + pool. | | claim_fees | Claim streamed trading fees for a token you launched. | | withdraw_tips | Withdraw your unlocked creator tips for a token from the FuelVault. | | release_vested | Release your vested creator allocation for a launched token. |

Routing discovers candidate pools from the public pools/admitted endpoint (no API key) and falls back to on-chain pool probing for tokens the indexer hasn't listed yet.

Networks

| Network | Chain ID | Explorer | |---------|----------|----------| | MegaETH Mainnet | 4326 | https://megaeth.blockscout.com | | MegaETH Testnet | 6343 | https://testnet-mega.etherscan.io |

Development

npm install
npm run build       # bundle to dist/
npm run typecheck
npm test            # read + MCP stdio tests (live testnet, no wallet needed)
npm run test:write  # write tests — sends real testnet transactions (needs a funded WALLET_PRIVATE_KEY in .env)

Reads are validated against live testnet. Writes are validated with real testnet transactions.

Safety

  • The wallet key signs real transactions. Fund a dedicated key and start on testnet.
  • Swaps, liquidity, and launches move real value. Review each tool's inputs before running against mainnet.

License

MIT