Azeth Protocol

io.github.azeth-protocol由 GitHub 帳號 azeth-protocol 發布v0.2.22更新於 Oct 25, 2026

Smart accounts, x402 payments, on-chain reputation, and service discovery for AI agents

概覽

AI 產生的概覽

Azeth Protocol 讓 AI 助理建立鏈上智慧帳戶、發起付款、探索並評價服務,並透過 XMTP 與其他代理溝通。

可以做什麼
建立與管理智慧帳戶,查詢餘額與歷史、存入資金、管理代幣白名單,並從帳戶發送 ETH 或 ERC-20 轉帳。支付 x402 服務、設定訂閱與週期性付款協議,並執行、取消或查詢這些協議。在 ERC-8004 信任登錄表中發布、更新並依能力與聲譽探索服務。提交與讀取依付款加權的聲譽評價與淨支付資料。收發端對端加密的 XMTP 訊息、列出對話並檢查代理可達性。檢視與修改守護者護欄與協議白名單。
適用情境
適合讓助理扮演自主經濟代理:為服務付費、訂閱週期性資料來源、依能力尋找其他代理或與其通訊。適合測試網實驗,謹慎時也可用於 Base 或以太坊上的真實鏈上付款。
執行需求
以 npm 套件在本機執行(建議全域安裝,npx 可能造成死鎖或逾時)。需要 Node.js,以及連線 RPC 端點與 Azeth API 的網路。無需 API 金鑰;未設定 AZETH_PRIVATE_KEY 時會在 ~/.azeth/key 自動產生私鑰。選用:AZETH_CHAIN、各鏈 AZETH_RPC_URL_* 變數、AZETH_SERVER_URL、AZETH_GUARDIAN_KEY、AZETH_GUARDIAN_AUTO_SIGN、AZETH_EMERGENCY_ADDRESS、XMTP_ENCRYPTION_KEY。
安裝前請注意
涉及私鑰:AZETH_PRIVATE_KEY 或磁碟上自動產生的私鑰,掌控智慧帳戶及其資金。工具會轉移真實資金(轉帳、付款、訂閱、存入),並寫入鏈上登錄表與聲譽紀錄。使用 AZETH_GUARDIAN_KEY 的守護者聯簽與自動簽署可授權超出限額的支出。鏈下操作會將資料傳送至 Azeth 伺服器,訊息透過 XMTP 傳輸。預設使用測試網,存入資金前請確認鏈。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Azeth Protocol,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@azeth/mcp-server

[mcp-azeth MCP server]

[npm] [License: MIT]

MCP (Model Context Protocol) server for Azeth -- the trust, discovery, and payment layer for the machine economy. Provides 32 tools for AI agents to create accounts, make payments, discover services, manage reputation, and communicate via XMTP.

Setup

No API keys required. A private key is auto-generated and persisted at ~/.azeth/key. Gas is sponsored automatically.

Install

bash
npm install -g @azeth/mcp-server

Claude Code

bash
claude mcp add azeth -- azeth-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "azeth": {      "command": "azeth-mcp"    }  }}

Then ask Claude: "Create me a smart account called PriceFeedBot" -- that's it.

With Your Own Key

For production or to use an existing key, add environment variables:

json
{  "mcpServers": {    "azeth": {      "command": "azeth-mcp",      "env": {        "AZETH_PRIVATE_KEY": "0x..."      }    }  }}

Environment Variables

All optional. The server works with zero configuration on testnet.

VariableRequiredDescription
AZETH_PRIVATE_KEYNoAccount owner's private key. Auto-generated and saved to ~/.azeth/key if not set.
PIMLICO_API_KEYNoPimlico bundler API key. Falls back to Azeth server bundler proxy if not set.
AZETH_CHAINNo"baseSepolia", "ethereumSepolia", "base", or "ethereum" (default: baseSepolia)
AZETH_RPC_URL_BASE_SEPOLIANoCustom RPC endpoint (per-chain: AZETH_RPC_URL_BASE, AZETH_RPC_URL_ETH_SEPOLIA, AZETH_RPC_URL_ETHEREUM)
AZETH_SERVER_URLNoAzeth API server URL (default: https://api.azeth.ai)
AZETH_GUARDIAN_KEYNoSeparate guardian key for co-signing high-value operations
XMTP_ENCRYPTION_KEYNoFor persistent XMTP messaging across restarts

Tools (32)

CategoryToolsDescription
Account (6)azeth_create_account, azeth_balance, azeth_history, azeth_deposit, azeth_accounts, azeth_whitelist_tokenDeploy smart accounts, check balances, manage token whitelists
Transfer (1)azeth_transferSend ETH or ERC-20 tokens from your smart account
Payment (4)azeth_pay, azeth_smart_pay, azeth_create_payment_agreement, azeth_subscribe_servicePay for x402 services, auto-discover by capability, set up subscriptions
Agreement (5)azeth_execute_agreement, azeth_cancel_agreement, azeth_get_agreement, azeth_list_agreements, azeth_get_due_agreementsManage recurring payment agreements -- execute, cancel, query, find due payments
Registry (5)azeth_publish_service, azeth_discover_services, azeth_get_registry_entry, azeth_update_service, azeth_update_service_batchRegister on ERC-8004 trust registry, discover services by capability and reputation
Reputation (4)azeth_submit_opinion, azeth_get_weighted_reputation, azeth_get_net_paid, azeth_get_active_opinionPayment-gated reputation -- rate services, check USD-weighted scores
Messaging (5)azeth_send_message, azeth_check_reachability, azeth_receive_messages, azeth_list_conversations, azeth_discover_agent_capabilitiesEnd-to-end encrypted XMTP messaging between agents
Guardian (2)azeth_get_guardrails, azeth_whitelist_protocolView and manage guardian security configuration

Example Prompts

Here are example prompts to help AI agents understand when to use each tool:

Account Management

  • "Create a new account for my PriceFeedBot service"
  • "What's the balance of my main account?"
  • "Show me all my registered accounts"
  • "Deposit 0.1 ETH into my smart account"

Payments & Transfers

  • "Pay 10 USDC to OctusBrain for the data feed service"
  • "Set up a monthly subscription to the translation service"
  • "Transfer 0.05 ETH to 0x1234...abcd"

Service Discovery

  • "Find agents that can do price-feed on Base Sepolia"
  • "What services are available for translation?"
  • "Show me the reputation score of the data provider"

Messaging

  • "Send a message to OctusBrain saying thanks for the swap"
  • "Check if I can reach the agent at 0x5678...efgh"
  • "List my recent XMTP conversations"

Guardian & Security

  • "What are my current guardrails?"
  • "Whitelist the Uniswap protocol for swaps"

Address Resolution

All tools that accept addresses support flexible resolution:

  • Ethereum address: 0x1234...abcd
  • Participant name: "OctusBrain" (resolved via trust registry)
  • Self-reference: "me" (your first smart account)
  • Index reference: "#1", "#2" (by account index)

Response Format

All tools return structured JSON:

json
{  "success": true,  "data": { ... }}

Errors include machine-readable codes and recovery suggestions:

json
{  "success": false,  "error": {    "code": "INSUFFICIENT_BALANCE",    "message": "Insufficient USDC balance: have 5.00, need 10.00.",    "suggestion": "Fund your smart account before retrying."  }}

Full Documentation

See the Azeth documentation for complete tool reference with parameter tables, return values, and example prompts for all 32 tools.

Troubleshooting

"Failed to connect to MCP server"

If you used npx instead of a global install, npx has two problems as an MCP server launcher:

  1. Installation prompt blocks stdin — npx prompts "Ok to proceed? (y)" which reads from the same stdin the MCP protocol uses, deadlocking the connection.
  2. Cold-start download timeout — First run must download ~142 packages before the server can start. Claude's MCP client times out waiting.

Fix by installing globally:

bash
npm install -g @azeth/mcp-serverclaude mcp add azeth -- azeth-mcp

Development

bash
# Buildpnpm build
# Watch modepnpm dev
# Run testspnpm test
# Type checkpnpm typecheck

License

MIT

來源:README.md,提交 8bf89ba

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.22最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分