
strangelove-ventures/web3-mcp 是从 https://github.com/strangelove-ventures/web3-mcp. 导入的 MCP 服务器候选服务器。
概览
strangelove-ventures/web3-mcp 是从 https://github.com/strangelove-ventures/web3-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
这是一个模型-上下文-协议服务器,用于与多个区块链交互,包括Solana、以太坊、THORChain、XRP Ledger、TON(开放网络)、Cardano和UTXO链。该服务器为常见区块链操作提供简单的RPC端点,允许通过环境变量与各种区块链安全交互。
特色
索拉纳运营:
- 检查SOL账户余额
- 获取详细账户信息
- 账户间的SOL转移
- 查看SPL代币余额
- 从私钥获取钱包地址
- 使用 Jupiter 交换代币(跨所有 Solana DEX 的最佳价格路由)
以太坊与EVM链运营:
- 检查多个网络间的本地代币余额
- 检查ERC-20代币余额
- 发送本地令牌(使用.env中的私钥)
- 发送ERC-20令牌(使用.env中的私钥)
- 批准ERC-20令牌使用(使用.env中的私钥)
Cardano 运营:
- 获取网络信息和统计数据
- 检查地址余额和交易历史
- 查看地址的UTxOs
- 探索权益池和委托信息
- 获取本地资产的详细信息
- 查看详细的交易信息
- 获取当前时代的统计数据
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Web3 MCP
A Model-Context-Protocol server for interacting with multiple blockchains including Solana, Ethereum, THORChain, XRP Ledger, TON (The Open Network), Cardano, and UTXO chains. This server provides simple RPC endpoints for common blockchain operations, allowing secure interactions with various blockchains through environment variables.
Features
Solana Operations:
- Check SOL account balances
- Get detailed account information
- Transfer SOL between accounts
- View SPL token balances
- Get your wallet address from private key
- Swap tokens using Jupiter (Best price routing across all Solana DEXs)
Ethereum & EVM Chain Operations:
- Check native token balances across multiple networks
- Check ERC-20 token balances
- Send native tokens (using private key from .env)
- Send ERC-20 tokens (using private key from .env)
- Approve ERC-20 token spending (using private key from .env)
Cardano Operations:
- Get network information and statistics
- Check address balances and transaction history
- View UTxOs for an address
- Explore stake pools and delegation information
- Get details about native assets
- View detailed transaction information
- Get statistics about the current epoch
THORChain Operations:
- Check RUNE balances
- Get detailed pool information
- Get swap quotes between any supported assets
- Cross-chain swaps via THORChain protocol
UTXO Chain Operations:
- Bitcoin (BTC)
- Check address balances
- View transaction history
- Validate addresses
- Get network info and fees
- Litecoin (LTC)
- Check address balances
- View transaction history
- Validate addresses
- Get network info and fees
- Dogecoin (DOGE)
- Check address balances
- View transaction history
- Validate addresses
- Get network info and fees
- Bitcoin Cash (BCH)
- Check address balances
- View transaction history
- Validate addresses
- Get network info and fees
XRP Ledger Operations:
- Check XRP account balances
- View transaction history
- Validate XRP addresses
- Send XRP to another address
- Get current XRP Ledger information
- Check token balances
- Create trustlines for tokens
TON (The Open Network) Operations:
- Get TON account balances
- View transaction history
- Validate TON addresses
- Send TON to another address with optional memo/comment
- Get current TON network information
Supported EVM Networks:
- Ethereum
- Base
- Arbitrum
- Optimism
- BSC (Binance Smart Chain)
- Polygon
- Avalanche
- Berachain
Setup
- Clone and install dependencies:
git clone https://github.com/strangelove-ventures/web3-mcp.git
cd web3-mcp
npm install
- Create a .env file in the root directory:
cp .env.example .env
- Configure your environment variables in .env:
Required Configuration
# Tool Registration Controls
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"web3-rpc": {
"command": "node",
"args": [
"/PATH/TO/web3-mcp/build/index.js"
]
}
}
}