# web3agent [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Apegurus/web3agent  
**GitHub Stars:** 1  
**npm Downloads (last month):** 264  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/web3agent

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "web3agent": {
    "command": "npx",
    "args": ["-y","web3agent"]
  }
}
```

## Documentation

## What web3agent does

The web3agent MCP server exposes a broad set of Web3 capabilities through one MCP interface. It can read EVM balances and contract state, resolve tokens, inspect wallet activity, estimate gas, query ENS, and use multicall operations. Agents can also prepare and execute swaps, bridge assets across supported networks, interact with lending surfaces, and submit or manage advanced orders.

The server covers both on-chain and exchange workflows. Its integrations include same-chain swaps through GOAT, Uniswap, and Balancer; aggregated routing through Orbs; bridges through LI.FI; spot, limit, TWAP, stop-loss, take-profit, and delayed orders through Orbs; and public or private exchange access through CCXT. Explorer tools use Blockscout and Etherscan for address data, transaction history, NFTs, contract ABIs, and network statistics.

Market and research capabilities include prices, TVL, DEX volume, stablecoin statistics, sentiment, yield analysis, contract-security information, whale tracking, and governance research. Wallet lifecycle features use the Open Wallet Standard when configured, with a legacy fallback. Agent protocols listed by the project include aGDP, ACP, ERC-8183, x402, and ERC-8004.

## How it works

The web3agent MCP server is distributed as an npm package and normally runs locally over stdio with `npx web3agent`. The `npx web3agent init` command detects several supported hosts and writes their MCP configuration automatically. Other MCP-capable hosts can launch the same command using a standard stdio definition.

Base is the default chain, identified by chain ID 8453, but `CHAIN_ID` can change the default and individual calls can provide a `chainId`. Basic EVM operations can target viem-supported chains when an RPC connection is available. Enhanced integrations cover a defined set of networks, while LI.FI bridge coverage follows its own list of more than 20 chains.

Write actions are placed in a confirmation queue unless confirmations are deliberately disabled. This applies to actions such as swaps, bridges, order operations, and other transactions. Wallet secrets are not exposed through MCP by default. Common flows handle transaction preparation and routing, while generic contract operations may require an ABI, a registered ABI, or an available explorer lookup.

## Setup and configuration

Run `npx web3agent init` for automatic setup with Claude Code, Cursor, Windsurf, OpenCode, or Codex. Restart the host after configuration. For manual setup, define a server named `web3agent` with `type` set to `stdio`, `command` set to `npx`, and `args` containing `web3agent`.

The default network is Base. Set `CHAIN_ID` to select another default chain, or pass a chain ID per request. Price-data features using CoinGecko require `COINGECKO_API_KEY`. Wallet behavior depends on the configured wallet environment and may use an encrypted Open Wallet Standard vault.

## Tools and capabilities

The web3agent MCP server includes more than 190 tools across these areas:

- EVM balances, reads, writes, gas, ENS, and multicall
- Token resolution and explorer queries
- Same-chain and aggregated swaps
- Cross-chain bridge quotes and execution
- Lending and money-market operations where supported
- Advanced decentralized order types
- CCXT exchange access
- Market data and protocol research
- Wallet lifecycle and agent-payment protocols

## Limitations and notes

Coverage differs by provider and operation. Basic EVM access depends on RPC availability, and enhanced swaps or orders are limited to the networks supported by their integrations. Explorer, token, market, and research tools also have provider-specific coverage.

The package is a local stdio server rather than a hosted Streamable HTTP endpoint. Smithery distribution therefore uses an MCPB bundle that launches the npm package locally. Exchange private methods, wallet actions, and on-chain writes should be treated as sensitive: the confirmation queue is enabled by default, but disabling it changes that safeguard. CoinGecko-backed price features require an API key.

_Full upstream README: https://allmcps.com/mcp/web3agent/readme_

