MCP Catalogs
Home

UCAI

by nirholas·33·Score 44

UCAI is a tool that converts smart contract ABIs to MCP servers, enabling AI agents to interact with blockchain protocols.

financedeveloper-toolsai-llm
6
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

Universal Contract AI Interface (UCAI) provides a standardized way for AI agents to interact with smart contracts. The abi-to-mcp tool generates production-ready MCP servers from any contract ABI, automatically creating tool schemas, type mappings, and safety patterns. It supports various blockchain protocols including Uniswap, Aave, ERC20, and NFTs across multiple EVM chains like Ethereum, Polygon, and Arbitrum.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building AI agents with DeFi capabilities for swapping tokens, providing liquidity, and managing yield farms
you:Creating wallet applications that can explain and execute smart contract transactions through natural language
you:Developing DAO tooling with AI-powered proposal creation, voting mechanisms, and treasury management
you:What blockchains are supported?
you:How does the security scanner work?

When to choose this

When building AI applications that need to interact with blockchain contracts and want to avoid the tedious work of manually creating MCP servers.

When NOT to choose this

If you need non-EVM blockchain support, or if you require advanced features not covered by the standard ABI-to-MCP conversion.

Tools this server exposes

5 tools extracted from the README
  • getAmountsOut

    Calculate the output amounts for token swaps on Uniswap

  • swapExactTokensForTokens

    Execute a token swap on Uniswap

  • ownerOf

    Get the owner of a specific NFT in a collection

  • balanceOf

    Get the token balance of an address

  • getUserAccountData

    Get user's account data on Aave including health factor

Note: Tool names inferred from contract examples and use cases in the README. Actual tool signatures would be generated by the abi-to-mcp tool based on contract ABIs.

Comparable tools

web3-mcpevm-chainlink-mcpblockchain-shell-mcp

Installation

Installation

pip install abi-to-mcp

Quick Start

Generate an MCP server for a smart contract:

abi-to-mcp generate 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D -o ~/uniswap-server
cd ~/uniswap-server && pip install -r requirements.txt

Connect to Claude Desktop by adding to your config:

{
  "mcpServers": {
    "uniswap": {
      "command": "python",
      "args": ["/path/to/uniswap-server/server.py"],
      "env": {
        "RPC_URL": "https://eth.llamarpc.com"
      }
    }
  }
}

FAQ

What blockchains are supported?
UCAI supports all EVM-compatible chains including Ethereum, Polygon, Arbitrum, Base, and others. Any chain that can be accessed through an RPC endpoint works.
How does the security scanner work?
The security scanner analyzes smart contracts for common vulnerabilities like honeypots, rug pulls, and malicious functions. It checks for OpenZeppelin usage, owner permissions, and mint functions to provide a risk score.

Compare UCAI with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.