MCP Abi MCP Server

Mcp server for ABI

Local serverstdio

What is the MCP Abi MCP server?

Mcp server for ABI. That is what the mcp abi mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

The ABI MCP Server enables AI agents to interact with any Ethereum-compatible smart contract using its ABI (Application Binary Interface). This server dynamically generates MCP tools from contract ABIs, allowing seamless interaction with any smart contract without requiring custom tool implementations.

Getting it running

Installation goes through your MCP client rather than a global install: point it at @iqai/mcp-abi on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

The tools it exposes

The server publishes 12 tools. What each one is for:

  • erc20_balanceOf — Query token balance
  • erc20_transfer — Transfer tokens
  • erc20_approve — Approve spending
  • erc20_allowance — Check allowance
  • usdc_name — Query the token name
  • usdc_symbol — Query the token symbol
  • usdc_decimals — Query token decimals
  • usdc_totalSupply — Query total token supply
  • usdc_balanceOf — Query balance of an address
  • usdc_transfer — Transfer tokens to an address
  • usdc_approve — Approve spending allowance
  • usdc_transferFrom — Transfer tokens on behalf of another address

What it needs from you

Configuration is passed through the environment: CONTRACT_ABI, CONTRACT_ADDRESS, CONTRACT_NAME, WALLET_PRIVATE_KEY, CHAIN_ID, RPC_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 12 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Abi.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Abi's toolset — erc20_balanceOf, erc20_transfer, erc20_approve and 9 more — is a fair guide to whether it matches your workflow. It is maintained by IQAIcom; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
erc20_balanceOfQuery token balance
erc20_transferTransfer tokens
erc20_approveApprove spending
erc20_allowanceCheck allowance
usdc_nameQuery the token name
usdc_symbolQuery the token symbol
usdc_decimalsQuery token decimals
usdc_totalSupplyQuery total token supply
usdc_balanceOfQuery balance of an address
usdc_transferTransfer tokens to an address
usdc_approveApprove spending allowance
usdc_transferFromTransfer tokens on behalf of another address

How to install the MCP Abi MCP server

{
  "mcpServers": {
    "smart-contract-abi": {
      "command": "npx",
      "args": ["-y", "@iqai/mcp-abi"],
      "env": {
        "CONTRACT_ABI": "[{\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
        "CONTRACT_ADDRESS": "0xaB195B090Cc60C1EFd4d1cEE94Bf441F5931C01b",
        "CONTRACT_NAME": "ERC20"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CONTRACT_ABIConfiguration value read at startup.Optional
CONTRACT_ADDRESSConfiguration value read at startup.Optional
CONTRACT_NAMEConfiguration value read at startup.Optional
WALLET_PRIVATE_KEYCredential the server authenticates with.Yes
CHAIN_IDConfiguration value read at startup.Optional
RPC_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use MCP Abi to erc20 balanceOf.
  • Use MCP Abi to erc20 transfer.
  • Use MCP Abi to erc20 approve.

Frequently asked questions

It connects MCP Abi to MCP-compatible AI assistants such as Claude and Cursor, exposing 12 tools (erc20_balanceOf, erc20_transfer, erc20_approve, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Abi directly.