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

@tongateway/mcp

v0.21.0

Published

TON blockchain gateway for AI agents — 16 MCP tools: wallet info, transfers, jettons, NFTs, DNS, prices, DEX orders, agent wallets

Readme

@tongateway/mcp

smithery badge

MCP server for Agent Gateway — gives AI agents full access to the TON blockchain via Model Context Protocol.

16 tools: wallet info, jettons, NFTs, transactions, transfers, .ton DNS, prices, DEX orders, agent wallets, and more.

Quick Start

Claude Code

claude mcp add-json tongateway '{
  "command": "npx",
  "args": ["-y", "@tongateway/mcp"],
  "env": {
    "AGENT_GATEWAY_API_URL": "https://api.tongateway.ai"
  }
}' --scope user

Cursor

Add to Cursor Settings → MCP Servers:

{
  "mcpServers": {
    "tongateway": {
      "command": "npx",
      "args": ["-y", "@tongateway/mcp"],
      "env": {
        "AGENT_GATEWAY_API_URL": "https://api.tongateway.ai"
      }
    }
  }
}

OpenClaw

openclaw config set --strict-json plugins.entries.acpx.config.mcpServers '{
  "tongateway": {
    "command": "npx",
    "args": ["-y", "@tongateway/mcp"],
    "env": {
      "AGENT_GATEWAY_API_URL": "https://api.tongateway.ai"
    }
  }
}'

No token needed upfront — the agent authenticates via auth.request (generates a one-time link, user connects wallet). Token persists in ~/.tongateway/token across restarts.

Tools

Auth

| Tool | Description | |------|-------------| | auth.request | Generate a one-time link for wallet connection | | auth.get_token | Retrieve token after user connects wallet |

Wallet

| Tool | Description | |------|-------------| | wallet.info | Wallet address, TON balance, account status | | wallet.jettons | All token balances (USDT, NOT, DOGS, etc.) | | wallet.transactions | Recent transaction history | | wallet.nfts | NFTs owned by the wallet |

Transfers (Safe — requires wallet approval)

| Tool | Description | |------|-------------| | transfer.request | Request a TON transfer (to, amountNano, payload?, stateInit?) | | transfer.status | Check transfer status by ID | | transfer.pending | List all pending requests |

Lookup

| Tool | Description | |------|-------------| | lookup.resolve_name | Resolve .ton domain to address | | lookup.price | Current TON price in USD/EUR |

DEX (open4dev order book)

| Tool | Description | |------|-------------| | dex.create_order | Place a limit order (fromToken, toToken, amount, price) | | dex.pairs | List available trading pairs |

Agent Wallet (Autonomous — no approval needed)

| Tool | Description | |------|-------------| | agent_wallet.deploy | Deploy a dedicated wallet contract for the agent | | agent_wallet.transfer | Send TON directly from agent wallet | | agent_wallet.info | Balance, seqno, agent key status |

How it works

You: "Send 1 TON to alice.ton"

Agent: lookup.resolve_name("alice.ton") → 0:83df...
       transfer.request(to="0:83df...", amountNano="1000000000")
       → Transfer request created. Approve in your wallet app.

For agent wallets (autonomous mode):

You: "Send 0.5 TON from my agent wallet to 0:abc..."

Agent: agent_wallet.transfer(wallet, to, amount)
       → Transfer executed. No approval needed.

Build from Source

If you prefer not to use npx, you can build and run locally:

git clone https://github.com/tongateway/mcp
cd mcp
npm install
npm run build

Then configure your MCP client to use the local build:

{
  "mcpServers": {
    "tongateway": {
      "command": "node",
      "args": ["/path/to/mcp/dist/index.js"],
      "env": {
        "AGENT_GATEWAY_API_URL": "https://api.tongateway.ai"
      }
    }
  }
}

See SECURITY.md for the full security model.

Links

License

MIT