MCP ServerSTDIOOfficialv0.1.0

UCAI MCP Server

Convert smart contract ABIs into AI-ready MCP servers that can read contract state and execute transactions. Built for developers integrating blockchain interactions into AI agents and LLM workflows.

io.github.nirholas/abi-to-mcp

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the UCAI MCP server does

How models use it and what it is built for.

Convert smart contract ABIs into AI-ready MCP servers that can read contract state and execute transactions. Built for developers integrating blockchain interactions into AI agents and LLM workflows.

Connect to UCAI

Local install — runs as a subprocess.

uvx abi-to-mcp==0.1.0

Environment variables

Configuration this server reads at startup.

  • WEB3_PROVIDER_URL

    Ethereum JSON-RPC endpoint URL

  • ETHERSCAN_API_KEYSecret

    Etherscan API key for fetching verified contract ABIs

  • PRIVATE_KEYSecret

    Private key for signing transactions (write operations)

Resources

Where to find authoritative docs and source for UCAI.

Example prompts for UCAI

Paste any of these into Agent Studio after connecting UCAI.

  • Generate an MCP server from a Uniswap V3 contract ABI on Etherscan
  • Create a server that lets me query token balances and allowances via AI
  • Build an MCP server to execute swap transactions on a contract I specify
  • Show me how to configure WEB3_PROVIDER_URL for Arbitrum instead of Ethereum

UCAI MCP server — FAQ

Common questions about connecting and running UCAI.

  • What does abi-to-mcp actually do?

    It transforms a smart contract ABI (Application Binary Interface) into an MCP server, making contract functions callable through an AI chat interface. You provide an ABI and configuration, and it generates a server that can read state and execute transactions.

  • How do I fetch a contract ABI automatically?

    Set the ETHERSCAN_API_KEY environment variable with your Etherscan API key. The server can then fetch verified contract ABIs directly from Etherscan instead of requiring you to paste them manually.

  • Can I use this to send transactions?

    Yes, if you provide a PRIVATE_KEY environment variable, the generated MCP server can sign and execute write operations on the contract. Always use a key with limited funds for testing.

  • What RPC endpoint should I use?

    Set WEB3_PROVIDER_URL to any Ethereum-compatible JSON-RPC endpoint (Infura, Alchemy, Arbitrum, Polygon, etc.). This determines which blockchain the server interacts with.

  • Is this different from calling a contract directly in code?

    Yes—this wraps contract ABIs as MCP tools, letting LLMs and AI agents discover and call contract functions naturally through conversation, rather than requiring custom code for each integration.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground