Skip to content
VS Code

UCAI for VS Code

io.github.nirholas/abi-to-mcp

UCAI — The ABI-to-MCP Server Generator. Convert any smart contract ABI into an AI-ready MCP server.

client:VS Code transport:stdio runtime:pypi

Install UCAI in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "web3-provider-url",
      "description": "WEB3_PROVIDER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "etherscan-api-key",
      "description": "ETHERSCAN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "private-key",
      "description": "PRIVATE_KEY",
      "password": true
    }
  ],
  "servers": {
    "abi-to-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "abi-to-mcp"
      ],
      "env": {
        "WEB3_PROVIDER_URL": "${input:web3-provider-url}",
        "ETHERSCAN_API_KEY": "${input:etherscan-api-key}",
        "PRIVATE_KEY": "${input:private-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

UCAI in other clients