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

arcox-mcp

v0.1.14

Published

ARCOX DEX MCP server and terminal agent for retail swap, bridge, send, ARCOX Pay invoices, balances, history, retry bridge, and agentic jobs.

Readme

ARCOX MCP

ARCOX MCP is a local MCP server and terminal agent for ARCOX DEX retail flows.

It exposes tools for:

  • Wallet balances across EOA, Circle proxy wallet, and Solana Devnet
  • Swap quote and execution from the local EOA agent wallet by default, with optional Circle proxy wallet source
  • Bridge quote and execution, including native ETH to Arc on verified Ethereum/Base Sepolia routers
  • Send quote and execution
  • ARCOX Pay invoice/payment request tools
  • ARCOX Pay NOWPayments sandbox tools for create/status/simulated treasury flow
  • ARCOX Intel tools that call ARCOX API x402 endpoints; MCP never stores ARKHAM_API_KEY and never calls Arkham directly
  • Bridge retry and transaction history
  • ARCOX Agentic Economy job actions
  • ARCOX DEX UI/action map for agents
  • Dynamic-style ARCOX docs search/read tools

Circle Agents Alignment

ARCOX MCP follows the Circle for Agents direction: USDC-native agent workflows, paid API readiness, and quote-before-execute safety. Current support is:

  • EOA agent wallet swap/send/bridge/payment using the user's local AGENT_PRIVATE_KEY.
  • Circle proxy wallet support only when a tool is explicitly called with source="circle".
  • ARCOX Pay invoice/payment request tools for public USDC payment links on Arc Testnet.
  • x402/Circle Gateway Nanopayments readiness docs and metadata only.

ARCOX does not claim live gas-free nanopayments or private payments. Those remain future integration work.

Install

npm install -g arcox-mcp

Or run without global install:

npx arcox-mcp

Environment

Create a working folder on the user's computer:

mkdir -p ~/.arcox
nano ~/.arcox/.env
chmod 600 ~/.arcox/.env

Minimum EVM setup:

AGENT_PRIVATE_KEY=0x...
ARC_RPC=https://rpc.testnet.arc.network/
ARCOX_API_URL=https://arc-dex-bice.vercel.app

Optional Solana Devnet setup:

SOLANA_PRIVATE_KEY=[1,2,3,...]
SOLANA_DEVNET_RPC=https://api.devnet.solana.com

Optional safety limits:

ARCOX_MAX_TX_USDC=10
ARCOX_DAILY_LIMIT_USDC=50
ARCOX_MAX_TX_NATIVE=0.1

Native bridge examples:

bridge 0.001 ETH from Base Sepolia to Arc
bridge 0.001 ETH from Ethereum Sepolia to Arc

Native bridge uses the local EOA agent wallet only. Circle Wallet source supports USDC bridge routes, not native ETH.

When installed globally, run commands from ~/.arcox so the local .env file is loaded:

cd ~/.arcox
arcox-agent status

MCP Config

Codex

Add an MCP server entry that runs:

arcox-mcp

Example config shape:

{
  "mcpServers": {
    "arcox": {
      "command": "arcox-mcp",
      "args": [],
      "env": {
        "ARCOX_MCP_DEBUG": "arcox-mcp.log"
      }
    }
  }
}

Hermes

hermes mcp add arcox -- arcox-mcp

If Hermes uses a profile config, make sure args is an array, not a string:

mcp_servers:
  arcox:
    command: arcox-mcp
    args: []

Safe Execution Flow

All value-moving tools require a quote/preview first:

  1. Call quote tool.
  2. Show preview to the user.
  3. User confirms with exactly yes or ya.
  4. Call execute tool with confirmed=true, the exact previewId, and confirmationText.

The agent must not skip the preview step.

Tools

  • arcox_wallet_balances
  • arcox_transaction_history
  • arcox_quote_swap
  • arcox_execute_swap
  • arcox_quote_bridge
  • arcox_execute_bridge
  • arcox_quote_send
  • arcox_execute_send
  • arcox_create_payment_request
  • arcox_get_payment_request
  • arcox_quote_payment_request
  • arcox_pay_payment_request
  • arcox_check_payment_status
  • arcox_simulate_circle_webhook
  • arcox_quote_eco_route_payment
  • arcox_retry_bridge
  • arcox_route_status
  • arcox_ui_map
  • arcox_action_plan
  • arcox_search_docs
  • arcox_read_doc
  • arcox_agent_status
  • arcox_agent_job

ARCOX Intel x402 service coverage:

  • arcox_intel_get_address supports service: basic, all, enriched, balances, counterparties, flows, history, volume, portfolio.
  • arcox_intel_get_tx supports service: basic, transfers.
  • arcox_intel_get_entity supports service: basic, summary, balances, flows.
  • arcox_intel_get_token supports service: basic, market, holders, top-flow, trending, top, contract, contract-holders.

Circle Gateway Nanopayments Readiness

ARCOX MCP understands Circle Gateway Nanopayments as a future x402 rail:

  1. API returns 402 Payment Required.
  2. Buyer signs an offchain EIP-3009 authorization.
  3. Buyer retries with the proof.
  4. Gateway batch settlement is future work for ARCOX.

Do not tell users gas-free nanopayments are live. Current ARCOX Pay invoices remain public USDC payment links on Arc Testnet.

CLI Examples

arcox-agent status
arcox-agent "show all wallet balances"
arcox-agent "quote swap 1 eurc to usdc from eoa"
arcox-agent "quote bridge 1 usdc from arc to base"
arcox-agent "send 1 eurc from eoa to 0x..."
arcox-agent "create payment request 10 usdc to 0xMerchant for AI agent setup"
arcox-agent "quote payment invoice inv_..."
arcox-agent "retry bridge 0xBURN_TX from arbitrum sepolia to arc"

For execution, inspect the preview first and then confirm.

ARCOX Pay invoice payment uses quote-before-execute. The execute call must pass the quoted previewId and the same invoice amount, token, and merchant address from previewArgs.

Swap uses EOA by default. To use the Circle proxy wallet, the tool call must explicitly include source="circle" in both quote and execute.

Security

  • Private keys stay on the user's computer in .env.
  • ARCOX DEX web UI does not receive the private key.
  • MCP execution is local to the user's agent process.
  • arcox-agent status reports envSecurityWarnings when the .env file is readable by group/other users.
  • Keep .env outside synced folders and never paste private keys into chat.