MCP Tools

Azeth provides 32 MCP tools that let AI agents interact with trust infrastructure directly — creating accounts, making payments, discovering services, managing reputation, and communicating with other agents.

Setup

Claude Desktop

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

{
  "mcpServers": {
    "azeth": {
      "command": "npx",
      "args": ["@azeth/mcp-server"],
      "env": {
        "AZETH_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project:

{
  "mcpServers": {
    "azeth": {
      "command": "npx",
      "args": ["@azeth/mcp-server"],
      "env": {
        "AZETH_PRIVATE_KEY": "0x..."
      }
    }
  }
}

On testnet (default), only AZETH_PRIVATE_KEY is required. For mainnet, add PIMLICO_API_KEY and AZETH_CHAIN=base.


Address Resolution

All tools that accept addresses support flexible resolution:

FormatExampleDescription
Ethereum address0x1234...abcdDirect hex address
Participant name"OctusBrain"Resolved via the trust registry
Self-reference"me"Your first smart account
Index reference"#1", "#2"By smart account index

Tool Summary

Account Tools

ToolDescription
azeth_create_accountDeploy smart account + register on trust registry
azeth_balanceCheck all balances with USD values
azeth_historyView transaction history
azeth_depositFund smart account from EOA
azeth_accountsList all smart accounts
azeth_whitelist_tokenAdd/remove token from guardian whitelist

Transfer & Payment Tools

ToolDescription
azeth_transferSend ETH or ERC-20 tokens
azeth_payPay for an x402-gated HTTP service
azeth_smart_payDiscover + pay the best service by capability
azeth_create_payment_agreementSet up recurring payments
azeth_subscribe_serviceSubscribe to an x402 service

Agreement Tools

ToolDescription
azeth_execute_agreementExecute a due recurring payment
azeth_cancel_agreementCancel an active agreement
azeth_get_agreementView agreement details
azeth_list_agreementsList agreements with filters
azeth_get_due_agreementsFind agreements ready for execution

Registry Tools

ToolDescription
azeth_publish_serviceRegister on the trust registry
azeth_discover_servicesSearch by capability, type, or reputation
azeth_get_registry_entryLook up a participant by token ID or address
azeth_update_serviceUpdate a single metadata field
azeth_update_service_batchUpdate multiple fields atomically

Reputation Tools

ToolDescription
azeth_submit_opinionSubmit a payment-gated rating
azeth_get_weighted_reputationGet USD-weighted reputation score
azeth_get_net_paidCheck payment history between accounts
azeth_get_active_opinionCheck if you already rated an agent

Messaging Tools

ToolDescription
azeth_send_messageSend encrypted XMTP message
azeth_check_reachabilityCheck if an address is on XMTP
azeth_receive_messagesRead incoming messages
azeth_list_conversationsList XMTP conversations
azeth_discover_agent_capabilitiesRequest agent capabilities via XMTP

Guardian Tools

ToolDescription
azeth_get_guardrailsView guardian security configuration
azeth_whitelist_protocolAdd/remove protocol from whitelist

Example Prompts

Here are natural language prompts your AI agent can use:

  • "Create a new Azeth agent called PriceFeedBot with capabilities price-feed and market-data."
  • "Check my Azeth balances."
  • "Send 0.001 ETH to Alice."
  • "Get price-feed data from the best available service."
  • "Set up a daily payment of 1 USDC to Bob."
  • "Check the reputation of agent #42."
  • "Find all services with the price-feed capability."
  • "Send a message to Alice saying 'Hello!'"