原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

web3agent

作者:Apegurus版本 0.6.2i★ –i在你的电脑上运行
注册名称io.github.Apegurus/web3agent

安装

概览

作者提供的说明(英文原文)

Web3 MCP proxy for AI agents: DeFi swaps, bridges, market data, wallets, and gated writes.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:ETHERSCAN_API_KEY, ZEROX_API_KEY, COINGECKO_API_KEY, OWS_PASSPHRASE

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CHAIN_ID, CONFIRM_WRITES, ETHERSCAN_API_KEY, ZEROX_API_KEY, COINGECKO_API_KEY, CCXT_CONFIG_PATH, OWS_PASSPHRASE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "web3agent": {
      "command": "npx",
      "args": [
        "-y",
        "web3agent",
        "web3agent"
      ],
      "env": {
        "CHAIN_ID": "your-value",
        "CONFIRM_WRITES": "your-value",
        "ETHERSCAN_API_KEY": "your-value",
        "ZEROX_API_KEY": "your-value",
        "COINGECKO_API_KEY": "your-value",
        "CCXT_CONFIG_PATH": "your-value",
        "OWS_PASSPHRASE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add web3agent --env CHAIN_ID=your-value --env CONFIRM_WRITES=your-value --env ETHERSCAN_API_KEY=your-value --env ZEROX_API_KEY=your-value --env COINGECKO_API_KEY=your-value --env CCXT_CONFIG_PATH=your-value --env OWS_PASSPHRASE=your-value -- npx -y web3agent web3agent

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "web3agent": {
      "command": "npx",
      "args": [
        "-y",
        "web3agent",
        "web3agent"
      ],
      "env": {
        "CHAIN_ID": "your-value",
        "CONFIRM_WRITES": "your-value",
        "ETHERSCAN_API_KEY": "your-value",
        "ZEROX_API_KEY": "your-value",
        "COINGECKO_API_KEY": "your-value",
        "CCXT_CONFIG_PATH": "your-value",
        "OWS_PASSPHRASE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "web3agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "web3agent",
        "web3agent"
      ],
      "env": {
        "CHAIN_ID": "your-value",
        "CONFIRM_WRITES": "your-value",
        "ETHERSCAN_API_KEY": "your-value",
        "ZEROX_API_KEY": "your-value",
        "COINGECKO_API_KEY": "your-value",
        "CCXT_CONFIG_PATH": "your-value",
        "OWS_PASSPHRASE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CHAIN_ID env
    Default EVM chain ID. Defaults to Base mainnet (8453).
  • CONFIRM_WRITES env
    Require explicit confirmation before write operations execute. Defaults to true.
  • ETHERSCAN_API_KEY 机密 env
    Optional Etherscan API key for Etherscan-backed explorer tools.
  • ZEROX_API_KEY 机密 env
    Optional 0x API key for 0x swap plugin support.
  • COINGECKO_API_KEY 机密 env
    Optional CoinGecko API key for higher-rate market data.
  • CCXT_CONFIG_PATH env
    Optional local path to a CCXT account config JSON file.
  • OWS_PASSPHRASE 机密 env
    Optional Open Wallet Standard vault passphrase for persisted local wallets.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Apegurus 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32435 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32435 个服务器的 15% 更新
  • 基础检查结果等于或优于此分类中其他 32435 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

web3agent 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:ETHERSCAN_API_KEY, ZEROX_API_KEY, COINGECKO_API_KEY, OWS_PASSPHRASE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.6.2)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Apify MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Apify MCP Server

作者:apify

Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

See it in production: The Arena — 11 AI agents trade real capital through Web3Agent.

web3agent

MCP package: web3agent | npm: https://www.npmjs.com/package/web3agent | GitHub: https://github.com/Apegurus/web3agent | Contact:

Links: Website · GitHub · npm · Smithery · The Arena · X / @Web3AgentFi

Give your AI agent EVM execution and DeFi tooling: swaps, bridges, limit and trigger orders, exchange trading, market data, research, wallet management. 190+ MCP tools. One install.

Works out of the box with Claude Code, Cursor, Windsurf, OpenCode, and Codex. Self-custodial. By default, write operations go through a confirmation queue: nothing executes without your approval unless you explicitly disable confirmations.

EVM execution is a solved problem. Stop rebuilding it. Plug in and ship.


What you can do

Once installed, your AI agent can execute real DeFi operations in plain language:

  • "Swap 0.1 ETH for USDC on Base" — quoted, routed, confirmation-gated, executed
  • "Bridge 500 USDC from Arbitrum to Optimism" — cross-chain via LI.FI, 20+ chains
  • "Set a limit or trigger order to buy ETH at $2,800" — decentralized Spot orders via Orbs
  • "Cancel my open orders on Binance" — CCXT exchange access with per-method risk classification
  • "What's my USDC balance on Base?" — read-only EVM and ERC-20 balance checks
  • "Show me yield opportunities above 5% APY" — research tools, protocol analysis, due diligence

Common flows avoid ABI handling and transaction building. Generic contract reads and writes are available when you provide or register an ABI, or when explorer ABI lookup is available. The agent handles routing, transaction preparation, and the confirmation queue. You approve, it executes.


Quickstart for agent power users

npx web3agent init

This detects Claude Code, Cursor, Windsurf, OpenCode, or Codex and configures the MCP server automatically. Restart your host, then ask:

What Web3 tools do you have available, and what chain are you configured for?

For any other MCP-capable host, configure a stdio server that runs:

npx web3agent

The generic MCP config shape is:

{

"web3agent": { "type": "stdio", "command": "npx", "args": ["web3agent"] } }

Writes are confirmation-gated by default, and wallet secrets are not exposed through MCP unless explicitly enabled.

For a step-by-step guide covering both human and agent setups, see docs/guides/universal-access.md.

Smithery local bundle

Smithery URL publishing requires a hosted Streamable HTTP MCP endpoint. Web3Agent is distributed as a local stdio/npm server, so Smithery distribution uses an MCPB bundle instead:

pnpm run mcpb:check

smithery mcp publish dist/web3agent.mcpb -n Apegurus/web3agent

The generated MCPB is a thin local bundle that launches the published npm package with npm exec --package web3agent@0.6.2.

Why Web3Agent

  • One-line install. npx web3agent init auto-configures Claude Code, Cursor, Windsurf, OpenCode, or Codex. No manual config edits for supported hosts.
  • Self-custodial. Keys stay in your environment, wallet secrets are kept out of agent-visible MCP flows by default, and every write goes through the confirmation queue unless you intentionally disable it.
  • Battle-tested infrastructure. Built on GOAT SDK, LI.FI, Orbs, Blockscout, Etherscan, DexScreener, and other production Web3 rails.
  • Live in production. Powers Orbzy and The Arena, where AI agents trade real capital through Web3Agent.
  • One MCP surface. Swaps, bridges, orders, market data, research, token resolution, wallet lifecycle, and agent-payment protocols are available through one server.

Who it is for

  • AI agent builders who need Web3 execution without rebuilding protocol integrations
  • DeFi teams adding MCP support to internal tools, research agents, or trading agents
  • Developers prototyping wallet-aware agents, swaps, bridges, and market workflows
  • MCP host users who want read-only chain data plus explicit-confirmation write flows
Copy-paste prompts

Use these after installation to get to value quickly:

List the supported chains and tell me which Web3 tools are safest to try first.
Resolve USDC, WETH, and DEGEN on Base. Show token addresses and decimals.
Quote swapping 0.01 ETH to USDC on Base, but do not execute anything.
Show yield opportunities above 5% APY and explain the main protocol risks.
Explain this wallet's recent activity on Base: 0x0000000000000000000000000000000000000000

Supported hosts

HostConfig location
Claude Code~/.claude/mcp.json
Cursor.cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
OpenCode.opencode/config.json
Codex.codex/config.toml
OpenClawagent-mediated self-install via canonical guide

Supported chains

Basic EVM operations use viem's chain registry and can target any viem-supported EVM chain when RPC access is available.

Enhanced swap and order integrations currently cover Ethereum, Base, Arbitrum, Optimism, Polygon, Linea, BSC, Avalanche, Sonic, Mode, Blast, Celo, and Gnosis. Token resolution, explorer, LI.FI, and market/research tools have provider-specific coverage; LI.FI bridge quotes and execution support 20+ chains through LI.FI's own chain list.

Default: Base (8453). Override with the CHAIN_ID env var or pass chainId per call.


What's included

CapabilityProviderNotes
On-chain stateNative EVM toolsBalances, contract reads/writes, gas, ENS, multicall (27 tools)
SwapsGOAT / Uniswap / BalancerSame-chain, ERC-20/721
Aggregated swapsOrbs Liquidity HubOptimal pricing via solver network
Cross-chain bridgesLI.FI20+ chains
LendingGOAT SDK / protocol integrationsAave, Morpho, and major money-market surfaces where supported
Advanced ordersOrbsSpot market, limit, TWAP, stop-loss, take-profit, delayed orders
Exchange tradingCCXTPublic/private access across 100+ exchanges (6 tools)
Block explorerBlockscout + EtherscanAddress info, tx history, NFTs, contract ABIs, network stats (35 tools)
Market dataDefiLlama / CoinGecko / BinanceTVL, prices, DEX volume, stablecoin stats, sentiment (20 tools)
ResearchDefiLlama / on-chainContract security, yield analysis, whale tracking, governance (13 tools)
Token resolutionBuilt-in registry + DexScreenerSymbol-to-address, long-tail assets
Wallet managementweb3agent + Open Wallet StandardCLI/MCP lifecycle, encrypted OWS vault when configured, legacy fallback
Confirmation queueBuilt-inWrite operations require explicit approval by default
Agent protocolsaGDP / ACP / ERC-8183 / x402 / ERC-8004Agent marketplace, cooperation, payments
Price dataCoinGeckoRequires COINGECKO_API_KEY
0x swaps0xRequires ZEROX_API_KEY

Starter templates

npx web3agent create

Scaffolds a ready-to-run project from one of three bundled templates:

  • Vercel AI SDK — chat agent with tool calling
  • Mastra — agent framework with web3agent tools
  • MCP-host — lightweight MCP client

Each starter uses the same web3agent lifecycle surfaces as MCP and CLI.


Examples

Root examples are included in the npm package:

# Safe import-only previews

node examples/swap.mjs node examples/bridge.mjs

Read-only live quote examples

node examples/swap.mjs --quote node examples/bridge.mjs --quote

Prepared external-wallet flows

WEB3AGENT_EXAMPLE_ACCOUNT=0x... node examples/swap.mjs --prepare WEB3AGENT_EXAMPLE_ACCOUNT=0x... node examples/bridge.mjs --prepare

The examples default to small USDC-denominated flows and only prepare wallet actions when you pass --prepare.

Quickstart examples

Agent that prepares a swap on Base
import { prepareOperation, resolveCanonicalTokenSync } from "web3agent";

const chainId = 8453; const usdc = resolveCanonicalTokenSync({ chainId, symbol: "USDC" }); const weth = resolveCanonicalTokenSync({ chainId, symbol: "WETH" });

if (!usdc || !weth) throw new Error("Missing canonical token");

const intent = await prepareOperation({ integration: "orbs", kind: "swap", account: "0xYourWallet", chainId, fromToken: usdc.address, toToken: weth.address, fromAmount: "10000000", slippagePct: 0.5, });

console.log(intent.nextActions);

Agent that prepares a bridge from Ethereum to Arbitrum
import { prepareOperation, resolveCanonicalTokenSync } from "web3agent";

const fromChainId = 1; const toChainId = 42161; const from = resolveCanonicalTokenSync({ chainId: fromChainId, symbol: "USDC" }); const to = resolveCanonicalTokenSync({ chainId: toChainId, symbol: "USDC" });

if (!from || !to) throw new Error("Missing canonical token");

const bridge = await prepareOperation({ integration: "lifi", kind: "bridge", account: "0xYourWallet", fromChainId, toChainId, fromToken: from.address, toToken: to.address, fromAmount: "1000000", });

console.log(bridge.nextActions);

Agent that monitors a wallet
import { getAddressInfo, getTransactionHistory, listSupportedChains } from "web3agent";

const address = "0x0000000000000000000000000000000000000000"; const chainId = 8453;

const [chains, info, history] = await Promise.all([ listSupportedChains(), getAddressInfo({ address, chainId }), getTransactionHistory({ address, chainId, pageSize: 5 }), ]);

console.log({ supportedChains: chains.chains.length, wallet: info, recentTransactions: history.transactions, });


For crypto teams

Use web3agent when you want AI agents to discover or interact with your protocol without every team rebuilding wallet, chain, token, quote, explorer, and confirmation plumbing.

Integration surfaces:

-

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx