MCP Hub
Back to servers

iota-agent-mcp

An MCP server that enables AI agents to interact with the IOTA blockchain, supporting wallet management, transaction signing, and Move smart contract development. It provides tools for on-chain queries and CLI operations with a human-in-the-loop security model.

Stars
1
Updated
Mar 2, 2026
Validated
Mar 7, 2026

iota-agent-mcp

MCP (Model Context Protocol) server for IOTA blockchain. Enables AI coding agents (Claude Code, Cursor, VS Code Copilot, ChatGPT) to interact directly with the IOTA network.

Tools

20 tools across 4 categories:

Wallet (8 tools)

ToolDescription
iota_wallet_addressGet active wallet address
iota_wallet_balanceCheck IOTA balance
iota_wallet_accountsList all derived accounts
iota_wallet_sign_executeSign and execute transactions (human-in-the-loop)
iota_wallet_pendingView pending signing requests
iota_wallet_approveApprove a pending request
iota_wallet_rejectReject a pending request
iota_wallet_switch_networkSwitch mainnet/testnet/devnet

CLI & Move (4 tools)

ToolDescription
iota_cliRun any IOTA CLI command
iota_move_buildBuild a Move package
iota_move_test_coverageRun tests with coverage analysis
iota_move_publish_unsignedGenerate unsigned publish transaction

On-Chain Query (8 tools)

ToolDescription
iota_objectFetch object data by ID
iota_objects_by_ownerList objects owned by an address
iota_transactionFetch transaction by digest
iota_coinsGet coin objects for an address
iota_epoch_infoCurrent epoch and network stats (GraphQL)
iota_decompileDecompile deployed Move modules

Architecture

┌──────────────────────┐     stdio      ┌──────────────────────┐
│  AI Agent (Claude,   │ ◀────────────▶ │  iota-agent-mcp      │
│  Cursor, VS Code)    │                │  (this server)       │
└──────────────────────┘                └───┬──────┬──────┬────┘
                                            │      │      │
                                    HTTP    │  RPC │  GQL │
                                            ▼      ▼      ▼
                                   ┌────────┐ ┌────────┐ ┌────────┐
                                   │ Agent  │ │  IOTA  │ │  IOTA  │
                                   │ Wallet │ │  Node  │ │  GQL   │
                                   │:3847   │ │  RPC   │ │Indexer │
                                   └────────┘ └────────┘ └────────┘
  • Stateless — no secrets in the MCP process
  • Human-in-the-loop — wallet ops proxy to a local agent-wallet server with approval flow
  • Dual query — JSON-RPC for object/tx queries, GraphQL for aggregate stats
  • CLI passthrough — Move build/test/publish via iota binary

Quick Start

Install

npm install -g iota-agent-mcp

Claude Code

// ~/.claude/settings.json
{
  "mcpServers": {
    "iota": {
      "command": "iota-agent-mcp"
    }
  }
}

Cursor / VS Code

// .cursor/mcp.json or .vscode/mcp.json
{
  "servers": {
    "iota": {
      "command": "npx",
      "args": ["iota-agent-mcp"]
    }
  }
}

Configuration

Environment variables:

VariableDefaultDescription
IOTA_WALLET_SERVERhttp://localhost:3847Agent wallet server URL
IOTA_RPC_URLhttps://api.mainnet.iota.cafeIOTA JSON-RPC endpoint
IOTA_GRAPHQL_URLhttps://graphql.mainnet.iota.cafeIOTA GraphQL indexer

Development

git clone https://github.com/Scottcjn/iota-agent-mcp.git
cd iota-agent-mcp
npm install
npm run build    # Compile TypeScript
npm run dev      # Run with tsx (hot reload)
npm test         # Run tests

License

Apache-2.0

Reviews

No reviews yet

Sign in to write a review