dfc146c7d7dbdf251b94fb4a5ac32f45db14af74
Web3 MCP
A Model-Context-Protocol server for interacting with multiple blockchains including Solana and Ethereum. This server provides simple RPC endpoints for common blockchain operations.
Features
Solana Operations:
- Get current slot number
- Check SOL account balances
- Get detailed account information
- Display keypair information
- Transfer SOL between accounts
Ethereum Operations:
- Check ETH account balances
- Check ERC-20 token balances
Quickstart
clone and install dependencies:
git clone https://github.com/yourusername/web3-mcp.git
cd web3-mcp
npm install
build the tool
npm run build
add the tool to your claude_desktop_config.json
"web3-rpc": {
"command": "node",
"args": [
"/PATH/TO/web3-mcp/build/index.js"
]
}
Usage
Ask Claude:
- whats the latest slot on solana?
- whats the balance of 62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3?
- Here's my test key [REPLACE WITH SECRET KEY]. let's transfer 0.001 SOL to [REPLACE WITH PUBLIC ADDRESS]
Security Note
Only use this with a test wallet with a small amount of funds.
RPC Endpoint
The server connects to Solana's mainnet at https://api.mainnet-beta.solana.com. To use a different network (like devnet or testnet), modify the SOLANA_RPC constant in src/index.ts.
Description
Sovereign mirror of Apex-Fusion/mcp-server (pinned build source for the apex-mcp sidecar)
Languages
TypeScript
97.7%
JavaScript
2.2%
Dockerfile
0.1%