mcpdotdirect/evm-mcp-server
MCP server that provides LLMs with tools for interacting with EVM networks
128ac3d4b1ea@mcpdotdirect/evm-mcp-server2.0.4 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 25 tools, 10 prompts, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_contract_abi, read_contract, write_contractapprove_token_spending, get_allowance, get_contract_abi, get_wallet_address, read_contract, sign_message and 4 moreapprove_token_spending, get_allowance, get_contract_abi, get_wallet_address, read_contract, sign_message and 4 moreapprove_token_spending, get_allowance, get_contract_abi, get_wallet_address, read_contract, sign_message and 4 moreNo tool was seen to: start other programs on the machine; read or write files.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
ETHERSCAN_API_KEY· get_contract_abi, read_contract, write_contractEVM_PRIVATE_KEY· write_contract
3 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses3 tools · get_contract_abi, read_contract, write_contract
Tool annotations
25 of 36 tools declare annotations. readOnlyHint 19, destructiveHint 3, idempotentHint 18, openWorldHint 21.
Tools, prompts and resources (36: 25 tools, 10 prompts, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
analyze_walletprompt Get comprehensive overview of wallet assets, balances, and activity
Get comprehensive overview of wallet assets, balances, and activity
audit_approvalsprompt Review token approvals and identify security risks from unlimited spend
Review token approvals and identify security risks from unlimited spend
check_network_statusprompt Check current network health and conditions
Check current network health and conditions
compare_networksprompt Compare multiple EVM networks on key metrics and characteristics
Compare multiple EVM networks on key metrics and characteristics
diagnose_transactionprompt Analyze transaction status, failures, and provide debugging insights
Analyze transaction status, failures, and provide debugging insights
explain_evm_conceptprompt Explain EVM and blockchain concepts with examples
Explain EVM and blockchain concepts with examples
explore_contractprompt Analyze contract functions and state without requiring full ABI
Analyze contract functions and state without requiring full ABI
fetch_and_analyze_abiprompt Fetch contract ABI from block explorer and provide comprehensive analysis
Fetch contract ABI from block explorer and provide comprehensive analysis
interact_with_contractprompt Safely execute write operations on a smart contract with validation and confirmation
Safely execute write operations on a smart contract with validation and confirmation
prepare_transferprompt Safely prepare and execute a token transfer with validation checks
Safely prepare and execute a token transfer with validation checks
supported_networksresource Get list of all supported EVM networks and their configuration
Get list of all supported EVM networks and their configuration
approve_token_spendingtool Approve a spender (contract) to spend tokens on your behalf. Required before interacting with DEXes, lending protocols, etc.CredentialsEnv varsSensitive paths
Approve a spender (contract) to spend tokens on your behalf. Required before interacting with DEXes, lending protocols, etc.
get_allowancetool Check the allowance granted to a spender for a token. This tells you how much of a token an address can spend on your behalf.CredentialsEnv varsSensitive pathsread-only (declared)
Check the allowance granted to a spender for a token. This tells you how much of a token an address can spend on your behalf.
get_balancetool Get the native token balance (ETH, MATIC, etc.) for an addressread-only (declared)
Get the native token balance (ETH, MATIC, etc.) for an address
get_blocktool Get block details by block number or hashread-only (declared)
Get block details by block number or hash
get_chain_infotool Get information about an EVM network: chain ID, current block number, and RPC endpointread-only (declared)
Get information about an EVM network: chain ID, current block number, and RPC endpoint
get_contract_abitool Fetch a contract's full ABI from Etherscan/block explorers. Use this to understand verified contracts before interacting. Requires ETHERSCAN_API_KEY. Supports 3NetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Fetch a contract's full ABI from Etherscan/block explorers. Use this to understand verified contracts before interacting. Requires ETHERSCAN_API_KEY. Supports 30+ EVM networks. Works best with verified contracts on block explorers.
get_erc1155_balancetool Get ERC1155 token balance for an addressread-only (declared)
Get ERC1155 token balance for an address
get_gas_pricetool Get current gas prices (base fee, standard, and fast) for a networkread-only (declared)
Get current gas prices (base fee, standard, and fast) for a network
get_latest_blocktool Get the latest block from the networkread-only (declared)
Get the latest block from the network
get_nft_infotool Get information about an ERC721 NFT including metadata URIread-only (declared)
Get information about an ERC721 NFT including metadata URI
get_supported_networkstool Get a list of all supported EVM networksread-only (declared)
Get a list of all supported EVM networks
get_token_balancetool Get the ERC20 token balance for an addressread-only (declared)
Get the ERC20 token balance for an address
get_transactiontool Get transaction details by transaction hashread-only (declared)
Get transaction details by transaction hash
get_transaction_receipttool Get transaction receipt (confirmation status, gas used, logs). Use this to check if a transaction has been confirmed.read-only (declared)
Get transaction receipt (confirmation status, gas used, logs). Use this to check if a transaction has been confirmed.
get_wallet_addresstool Get the address of the configured wallet. Use this to verify which wallet is active.CredentialsEnv varsSensitive pathsread-only (declared)
Get the address of the configured wallet. Use this to verify which wallet is active.
lookup_ens_addresstool Lookup the ENS name for an Ethereum address (reverse resolution)read-only (declared)
Lookup the ENS name for an Ethereum address (reverse resolution)
multicalltool Batch multiple contract read calls into a single RPC request. Significantly reduces latency and RPC usage when querying multiple functions. Uses the Multicall3 read-only (declared)
Batch multiple contract read calls into a single RPC request. Significantly reduces latency and RPC usage when querying multiple functions. Uses the Multicall3 contract deployed on all major networks. Perfect for portfolio analysis, price aggregation, and querying multiple contract states efficiently.
read_contracttool Call read-only functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Falls back to common fNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Call read-only functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Falls back to common functions if contract is not verified. Use this to query contract state and data.
resolve_ens_nametool Resolve an ENS name to an Ethereum addressread-only (declared)
Resolve an ENS name to an Ethereum address
sign_messagetool Sign an arbitrary message using the configured wallet. Useful for authentication (SIWE), meta-transactions, and off-chain signatures. The signature can be verifCredentialsEnv varsSensitive paths
Sign an arbitrary message using the configured wallet. Useful for authentication (SIWE), meta-transactions, and off-chain signatures. The signature can be verified on-chain or off-chain.
sign_typed_datatool Sign structured data (EIP-712) using the configured wallet. Used for gasless transactions, meta-transactions, permit signatures, and protocol-specific signatureCredentialsEnv varsSensitive paths
Sign structured data (EIP-712) using the configured wallet. Used for gasless transactions, meta-transactions, permit signatures, and protocol-specific signatures. The signature follows the EIP-712 standard.
transfer_erc20tool Transfer ERC20 tokens to an address. Uses the configured wallet.CredentialsEnv varsSensitive pathsdestructive (declared)
Transfer ERC20 tokens to an address. Uses the configured wallet.
transfer_nativetool Transfer native tokens (ETH, MATIC, etc.) to an address. Uses the configured wallet.CredentialsEnv varsSensitive pathsdestructive (declared)
Transfer native tokens (ETH, MATIC, etc.) to an address. Uses the configured wallet.
wait_for_transactiontool Wait for a transaction to be confirmed (mined). Polls the network until confirmation.read-only (declared)
Wait for a transaction to be confirmed (mined). Polls the network until confirmation.
write_contracttool Execute state-changing functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Use this to caNetworkCredentialsEnv varsSensitive pathsoutside textdestructive (declared)
Execute state-changing functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Use this to call any write function on verified contracts. Requires wallet to be configured (via private key or mnemonic).
Text the model reads (36)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_wallet_address tool
Get the address of the configured wallet. Use this to verify which wallet is active.
get_chain_info tool
Get information about an EVM network: chain ID, current block number, and RPC endpoint
get_supported_networks tool
Get a list of all supported EVM networks
get_gas_price tool
Get current gas prices (base fee, standard, and fast) for a network
resolve_ens_name tool
Resolve an ENS name to an Ethereum address
lookup_ens_address tool
Lookup the ENS name for an Ethereum address (reverse resolution)
get_block tool
Get block details by block number or hash
get_latest_block tool
Get the latest block from the network
get_balance tool
Get the native token balance (ETH, MATIC, etc.) for an address
get_token_balance tool
Get the ERC20 token balance for an address
get_allowance tool
Check the allowance granted to a spender for a token. This tells you how much of a token an address can spend on your behalf.
get_transaction tool
Get transaction details by transaction hash
get_transaction_receipt tool
Get transaction receipt (confirmation status, gas used, logs). Use this to check if a transaction has been confirmed.
wait_for_transaction tool
Wait for a transaction to be confirmed (mined). Polls the network until confirmation.
get_contract_abi tool
Fetch a contract's full ABI from Etherscan/block explorers. Use this to understand verified contracts before interacting. Requires ETHERSCAN_API_KEY. Supports 30+ EVM networks. Works best with verified contracts on block explorers.
read_contract tool
Call read-only functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Falls back to common functions if contract is not verified. Use this to query contract state and data.
write_contract tool
Execute state-changing functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Use this to call any write function on verified contracts. Requires wallet to be configured (via private key or mnemonic).
multicall tool
Batch multiple contract read calls into a single RPC request. Significantly reduces latency and RPC usage when querying multiple functions. Uses the Multicall3 contract deployed on all major networks. Perfect for portfolio analysis, price aggregation, and querying multiple contract states efficiently.
transfer_native tool
Transfer native tokens (ETH, MATIC, etc.) to an address. Uses the configured wallet.
transfer_erc20 tool
Transfer ERC20 tokens to an address. Uses the configured wallet.
approve_token_spending tool
Approve a spender (contract) to spend tokens on your behalf. Required before interacting with DEXes, lending protocols, etc.
get_nft_info tool
Get information about an ERC721 NFT including metadata URI
get_erc1155_balance tool
Get ERC1155 token balance for an address
sign_message tool
Sign an arbitrary message using the configured wallet. Useful for authentication (SIWE), meta-transactions, and off-chain signatures. The signature can be verified on-chain or off-chain.
sign_typed_data tool
Sign structured data (EIP-712) using the configured wallet. Used for gasless transactions, meta-transactions, permit signatures, and protocol-specific signatures. The signature follows the EIP-712 standard.
prepare_transfer prompt
Safely prepare and execute a token transfer with validation checks
diagnose_transaction prompt
Analyze transaction status, failures, and provide debugging insights
analyze_wallet prompt
Get comprehensive overview of wallet assets, balances, and activity
audit_approvals prompt
Review token approvals and identify security risks from unlimited spend
fetch_and_analyze_abi prompt
Fetch contract ABI from block explorer and provide comprehensive analysis
explore_contract prompt
Analyze contract functions and state without requiring full ABI
interact_with_contract prompt
Safely execute write operations on a smart contract with validation and confirmation
explain_evm_concept prompt
Explain EVM and blockchain concepts with examples
compare_networks prompt
Compare multiple EVM networks on key metrics and characteristics
check_network_status prompt
Check current network health and conditions
supported_networks resource
Get list of all supported EVM networks and their configuration
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 36 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 36 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 36 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 36 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 36 tool handlers traced
- Tools that start processesNot seen in the traced code of 36 capabilities; 29 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 36 capabilities; 29 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 36 capabilities call the network; 26 more call code the scanner could not follow, where it may happen
Where the code is: 36 handlers in 3 files at commit 128ac3d4b1ea
src/core/prompts.tsprepare_transfer, diagnose_transaction, analyze_wallet, audit_approvals, fetch_and_analyze_abi, explore_contract, interact_with_contract, explain_evm_concept, compare_networks, check_network_statussrc/core/resources.tssupported_networkssrc/core/tools.tsget_wallet_address, get_chain_info, get_supported_networks, get_gas_price, resolve_ens_name, lookup_ens_address, get_block, get_latest_block, get_balance, get_token_balance, get_allowance, get_transaction +13
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSVNothing could be resolved to exact versions; 2 not resolved: bun.lock: lockfile format is not supported by this analyzer, dependencies were not checked; package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/sdk ^1.22.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials10 of 36 capabilities read credentials; 19 more call code the scanner could not follow, where it may happen
- Environment variables10 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.22.0 |
| Servers in the code | 1 (evm-mcp-server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-03 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 8 catalogs (awesome_habitoai, awesome_mobinx, awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org, npm) |
| License | MIT |
| Created | 2025-03-08 |
| Topics | agent blockchain ethereum evm mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.