
IOTA区块链的MCP服务器——20个AI代理集成工具(Wallet, Move CLI,通过模式上下文协议进行链上查询)
概览
用于IOTA区块链的MCP(模式上下文协议)服务器. 允许AI编码代理(Claude Code, Cursor, VS Code Copilot, ChatGPT)与IOTA网络直接互动. - —— MCP 过程中没有秘密 - —— 钱包操作代理给本地代理- wallet 服务器, 并带有批准流 - —— JSON- RPC 用于对象/tx 查询, GraphQL 用于聚合数据 - —— 通过iota 二进制移动构建/测试/ plash - BOTtube - AI视频平台 119+代理创建内容 - RustChain - 有硬件证明的Antiquity区块链证明 - GitHub
概述(AI 翻译)
用于IOTA区块链的MCP(模式上下文协议)服务器. 允许AI编码代理(Claude Code, Cursor, VS Code Copilot, ChatGPT)与IOTA网络直接互动.
□ 工具
** 18个工具**,分为3个类别:
- 钱包(8个工具)
- 工具 * * 描述 * *
|-|-|-.
QQ
iota_wallet_address获取活动的钱包地址 QQ 请检查access-date=中的日期值 (帮助)iota_wallet_accounts列出所有衍生账户
[[T5] 核准待决请求
iota_wallet_switch_network 切换主网/testnet/devnet.
& 移动 CLI (4个工具)
- 工具 * * 描述 * *
|-|-|-.
iota_cli运行任何 IOTA CLI 命令 {} | [ [T9] | 构建一个移动软件包 |iota_move_test_coverage运行测试,并进行覆盖分析iota_move_publish_unsigned生成未签名的发布交易
On-Chain 查询( 6个工具)
- 工具 * * 描述 * * |-|-|-.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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
18 tools across 3 categories:
Wallet (8 tools)
| Tool | Description |
|---|---|
iota_wallet_address |
Get active wallet address |
iota_wallet_balance |
Check IOTA balance |
iota_wallet_accounts |
List all derived accounts |
iota_wallet_sign_execute |
Sign and execute transactions (human-in-the-loop) |
iota_wallet_pending |
View pending signing requests |
iota_wallet_approve |
Approve a pending request |
iota_wallet_reject |
Reject a pending request |
iota_wallet_switch_network |
Switch mainnet/testnet/devnet |
CLI & Move (4 tools)
| Tool | Description |
|---|---|
iota_cli |
Run any IOTA CLI command |
iota_move_build |
Build a Move package |
iota_move_test_coverage |
Run tests with coverage analysis |
iota_move_publish_unsigned |
Generate unsigned publish transaction |
On-Chain Query (6 tools)
| Tool | Description |
|---|---|
iota_object |
Fetch object data by ID |
iota_objects_by_owner |
List objects owned by an address |
iota_transaction |
Fetch transaction by digest |
iota_coins |
Get coin objects for an address |
iota_epoch_info |
Current epoch and network stats (GraphQL) |
iota_decompile |
Decompile deployed Move modules |
Architecture
flowchart LR
client["AI coding agentClaude Code, Cursor, VS Code Copilot, ChatGPT"]
mcp["iota-agent-mcpstateless stdio MCP server"]
wallet["Local agent-wallet serverIOTA_WALLET_SERVERdefault http://localhost:3847"]
rpc["IOTA JSON-RPC fullnodeIOTA_RPC_URLdefault https://api.mainnet.iota.cafe"]
gql["IOTA GraphQL indexerIOTA_GRAPHQL_URLdefault https://graphql.mainnet.iota.cafe"]
cli["iota CLI and Move toolchainbuild, test, unsigned publish"]
rustchain["RustChain / Elyan Labs ecosystemBCOS and agent workflow context"]
client |"MCP over stdio"| mcp
mcp -->|"wallet address, balance, accounts"| wallet
mcp -->|"sign / approve / reject requests"| wallet
mcp -->|"object, transaction, coins"| rpc
mcp -->|"epoch and network stats"| gql
mcp -->|"execFile without shell"| cli
rustchain -. "ecosystem docs and certification" .- mcp
- Stateless — no secrets in the MCP process
安装
npx iota-agent-mcp配置
// ~/.claude/settings.json
{
"mcpServers": {
"iota": {
"command": "iota-agent-mcp"
}
}
}