Catalog npm
PACKAGE EXPLORERView in registry

@0xgasless/mcp

npm

Model Context Protocol server for the 0xGasless platform — give any AI agent a KMS-custodied wallet that pays via x402, plus ERC-8004 identity/reputation/validation and the Apify tool gateway. Front door only: one project API key.

0xgaslessagent-walletai-agentserc-8004mcpmodel-context-protocolstablecoinusdcx402account-abstractionblockchainbscclaudedefiethereumgasless
All keywords (19)
smart-accountswapweb3
Versions collected6
Direct dependencies7From release 0.1.0
Last observed21 Oct, 08:55 UTC

README

Current package documentation

@0xgasless/mcp

Give any AI agent a wallet. A Model Context Protocol server that exposes the whole 0xGasless platform — KMS-custodied agent wallets, x402 payments (zero gas), ERC-8004 identity / reputation / validation, and the Apify tool gateway — to any MCP host (Claude Code, Claude Desktop, Cursor, Windsurf…). One credential: your project API key.

27 tools across 7 domains: policy, agents, x402, identity, reputation, validation, tool-gateway. See SKILL.md for the full agent-facing integration guide.

Fastest path — one command

From a project directory:

OXGAS_API_KEY=0xgas_live_sk_... sh skills.sh

skills.sh writes the MCP config (.mcp.json, plus .cursor/mcp.json for Cursor projects), drops 0xgasless-SKILL.md as agent context, and prints next steps. Idempotent, no sudo, no global installs. Add --allow-spending to enable fund-moving tools.

Manual MCP config

{
  "mcpServers": {
    "0xgasless": {
      "command": "npx",
      "args": ["-y", "@0xgasless/mcp"],
      "env": {
        "OXGAS_API_KEY": "0xgas_live_sk_...",
        "OXGAS_DEFAULT_CHAIN": "fuji",
        "OXGAS_MCP_ALLOW_SPENDING": "0"
      }
    }
  }
}

Safety model

Read/create tools (create agent, read balance, get policy, search tools…) always work. Tools that move funds or write on-chain are marked [spending] and are refused by default:

  • OXGAS_MCP_ALLOW_SPENDING=1 is required for any spending tool to run.
  • Spending on a mainnet chain (avalanche, base) additionally requires I_UNDERSTAND_MAINNET=yes.

Refusals return a clear, actionable message instead of silently failing, and the only credential is the project API key — there is no private key to hold. This keeps an agent from spending without the operator explicitly opting in.

Local development

npm install
npm run build
OXGAS_API_KEY=... npm start      # runs the stdio server
npm run typecheck

Relationship to the old mcp/ package

The legacy 0xgasless-mcp (folder mcp/) wrapped agentkit with a raw private key and defaulted to BSC. This package is the platform model: KMS-custodied wallets via the project API key, x402, and the full ERC-8004 trust stack — no private key handling. Prefer this one.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 6

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0Registry latest19 Aug 20267
0.0.529 Aug 202514
0.0.413 Jun 202514
0.0.313 Jun 202514
0.0.29 Jun 202514
0.0.19 Jun 202514

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xgasless/mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 08:55 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c6a8a14edc6d59fc39ad750681657f467f950fc20b23abbd7aefc5dea51c2c13