Model Context Protocol (MCP) Server for Etherscan
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add etherscan -- npx fastmcp dev src/index.ts~/.codex/config.toml
[mcp_servers.etherscan]
command = "npx"
args = ["fastmcp", "dev", "src/index.ts"]
# codex mcp add etherscan -- npx fastmcp dev src/index.ts~/.cursor/mcp.json
{
"mcpServers": {
"etherscan": {
"command": "npx",
"args": [
"fastmcp",
"dev",
"src/index.ts"
]
}
}
}.vscode/mcp.json
{
"servers": {
"etherscan": {
"type": "stdio",
"command": "npx",
"args": [
"fastmcp",
"dev",
"src/index.ts"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"etherscan": {
"command": "npx",
"args": [
"fastmcp",
"dev",
"src/index.ts"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"etherscan": {
"command": "npx",
"args": [
"fastmcp",
"dev",
"src/index.ts"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"etherscan": {
"command": "npx",
"args": [
"fastmcp",
"dev",
"src/index.ts"
]
}
}
}