TRON infrastructure for AI agents.
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MERX_API_KEY | No | Your API key from merx.exchange. Required to unlock trading tools, including order management, account balance, and monitoring tools. | |
| TRON_PRIVATE_KEY | No | Your 64-character hex TRON private key. Required to unlock write operations such as sending TRX/USDT, swapping tokens, and executing smart contract intents. Transaction signing is performed locally and the key never leaves your machine. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_pricesB | Get current energy and bandwidth prices from all Merx providers. No auth required. |
| get_best_priceA | Find the cheapest provider for a given resource and amount. No auth required. |
| analyze_pricesC | Market price analysis with trends and recommendations. No auth required. |
| get_price_historyC | Historical price snapshots. No auth required. |
| compare_providersA | Side-by-side provider comparison with prices and availability. No auth required. |
| estimate_transaction_costA | Estimate energy and bandwidth cost for a TRON transaction. Compares rental vs burn cost. No auth required. |
| check_address_resourcesB | Check energy, bandwidth, and TRX balance for any TRON address. No auth required. |
| create_orderB | Buy energy or bandwidth on Merx. Routed to cheapest provider. Auth required. |
| get_orderB | Get order details and fill status by ID. Auth required. |
| list_ordersC | List recent orders with optional status filter. Auth required. |
| ensure_resourcesA | Declarative resource provisioning. Checks current resources on target address and purchases only what is missing. Auth required. |
| get_balanceA | Get your Merx account balance (TRX, USDT, locked). Requires MERX_API_KEY. |
| get_deposit_infoB | Get your Merx deposit address and memo. Requires MERX_API_KEY. |
| get_transaction_historyB | Get your Merx account transaction history. Requires MERX_API_KEY. |
| explain_conceptA | Explain a TRON or Merx concept. No authentication required. |
| suggest_durationA | Recommend a rental duration based on your use case. No authentication required. |
| calculate_savingsA | Calculate savings from renting energy vs burning TRX. No authentication required. |
| list_providersA | List all Merx providers with types, durations, and availability. No authentication required. |
| get_account_infoA | Full on-chain account state: TRX balance, energy, bandwidth, creation date. No auth required. |
| get_trx_balanceA | Quick TRX balance for a TRON address. No auth required. |
| get_trc20_balanceA | Get TRC-20 token balance for an address. Supports symbol (USDT, USDC) or contract address. No auth required. |
| get_transactionA | Look up a transaction by ID on TRON. No auth required. |
| get_blockA | Get TRON block info by number (or latest if omitted). No auth required. |
| get_chain_parametersA | Get TRON network parameters (energy fee, bandwidth cost, etc.) with Merx price comparison. No auth required. |
| convert_addressA | Convert TRON address between base58 (T...) and hex (41...) formats. No auth required. |
| get_trx_priceA | Get current TRX price from CoinGecko. No auth required. |
| validate_addressA | Validate a TRON address format and check on-chain status. No auth required. |
| search_transaction_historyA | Get on-chain transaction history for a TRON address. No auth required. |
| transfer_trxA | Send TRX to an address. Checks bandwidth, buys via Merx if needed. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY. |
| transfer_trc20A | Transfer TRC-20 tokens with automatic energy optimization. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY. |
| approve_trc20A | Approve TRC-20 spending allowance. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY. |
| get_token_infoA | Get TRC-20 token metadata: name, symbol, decimals, total supply. No auth required. |
| read_contractA | Call a view/pure function on a TRON smart contract. No auth or private key required. |
| estimate_contract_callA | Estimate energy and bandwidth cost for a smart contract call. Compares rental vs burn cost. No auth required. |
| call_contractA | Execute a state-changing smart contract function. Estimates resources, buys via Merx if needed. Requires TRON_PRIVATE_KEY and TRON_ADDRESS. |
| get_swap_quoteC | Get a real swap quote from SunSwap V2. No auth required. |
| execute_swapC | Execute a token swap on SunSwap V2. Requires TRON_PRIVATE_KEY. |
| get_token_priceB | Get token price via SunSwap quote + CoinGecko USD rate. No auth required. |
| create_accountA | Create a new Merx account, generate an API key, and get deposit info. No auth needed. |
| loginB | Log in to an existing Merx account. No MERX_API_KEY needed. |
| set_api_keyA | Set your Merx API key for this session. Unlocks all authenticated tools (trading, balance, orders). Use this if you already have an API key. |
| set_private_keyA | Set your TRON private key for this session. Address is derived automatically. Enables write tools: transfer_trx, transfer_trc20, approve_trc20, execute_swap, deposit_trx. Key stays local - never sent to Merx servers. |
| deposit_trxA | Deposit TRX to your Merx account. Requires MERX_API_KEY + TRON_PRIVATE_KEY. |
| enable_auto_depositB | Configure automatic top-up when balance drops below a threshold. Session-only. |
| pay_invoiceB | Pay an x402 invoice by sending TRX and verifying payment. |
| create_paid_orderA | Create a zero-registration order via x402 pay-per-use. Requires TRON_PRIVATE_KEY. |
| execute_intentB | Execute a multi-step operation (transfer, swap, buy resources, etc). Validates and simulates all steps with resource cost estimates. Auth required. |
| simulateA | Simulate a multi-step operation without executing. Returns resource estimates and costs. |
| create_standing_orderB | Create a server-side standing order with trigger-based automation. Auth required. |
| list_standing_ordersB | List all standing orders with optional status filter. Auth required. |
| create_monitorA | Create a persistent monitor (delegation expiry, balance, price alert). Auth required. |
| list_monitorsC | List all monitors with optional status filter. Auth required. |
| withdrawA | Withdraw TRX or USDT from your Merx account to an external TRON address. Requires MERX_API_KEY. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| buy-energy | Buy TRON energy at the best market price |
| buy-bandwidth | Buy TRON bandwidth at the best market price |
| ensure-resources | Guarantee minimum energy + bandwidth on an address |
| market-analysis | Full TRON energy and bandwidth market analysis |
| compare-providers | Deep comparison of providers for a specific use case |
| send-usdt | Send USDT (TRC-20) to a TRON address with optimized fees |
| send-trx | Send TRX to a TRON address |
| send-token | Send any TRC-20 token to a TRON address |
| multi-transfer | Send tokens to multiple recipients in one batch operation |
| explain-transaction | Analyze and explain a TRON transaction in human-readable terms |
| check-wallet | Full wallet overview: balances, resources, staking, and recent activity |
| audit-spending | Analyze spending on energy, bandwidth, and fees over a time period |
| monitor-delegations | Show all active resource delegations to and from an address |
| optimize-wallet | Analyze wallet usage patterns and recommend optimizations for staking, resources, and fee reduction |
| swap-tokens | Swap tokens on TRON DEX with best route and slippage protection |
| check-token | Get detailed information about a TRC-20 token: price, liquidity, holders, contract verification, and risk assessment |
| price-check | Get current prices for one or more tokens with 24h change and volume |
| estimate-costs | Estimate the cost of a TRON operation including energy, bandwidth, and fees. Compare burning TRX vs renting resources. |
| budget-plan | Create a daily/weekly/monthly budget plan for TRON operations. Calculates optimal resource strategy based on transaction volume. |
| stake-vs-rent | Compare staking TRX for resources vs renting on Merx. Shows breakeven point and total cost over 30/90/365 days. |
| integrate-merx | Generate integration code for Merx SDK |
| setup-mcp | Set up Merx MCP server for an AI client |
| onboard | Set up a new Merx account with API key and deposit address |
| fund-account | Fund your Merx account with TRX |
| setup-auto-funding | Configure automatic Merx account funding |
| buy-without-account | Buy TRON resources without a Merx account using x402 payment protocol |
| simulate-plan | Simulate a multi-step operation before executing to preview costs and outcomes |
| execute-plan | Execute a multi-step plan with resource optimization |
| setup-standing-order | Create a standing order that buys resources when price conditions are met |
| auto-renew-delegations | Automatically renew resource delegations before they expire |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Energy Prices | Energy prices from all providers, sorted cheapest first |
| Bandwidth Prices | Bandwidth prices from providers that offer it |
| Best Prices | Best energy + bandwidth price with USDT transfer cost |
| Market Analysis | Price trends, averages, and buy/wait recommendation |
| Provider List | All providers with type, durations, resources, status |
| Provider Status | Provider health: online/offline, available supply |
| Account Balance | Merx balance: TRX available, locked, USDT |
| Recent Orders | Last 10 orders with status and cost |
| Account Stats | 30-day stats: total spent, saved, order count |
| Auto-Deposit Config | Auto-deposit threshold and amount configuration |
| Chain Parameters | TRON network parameters: burn prices, energy limit |
| TRX Price | Current TRX price in USD |
| Token Registry | Well-known TRC20 tokens: addresses, decimals |
| Active Standing Orders | Active standing orders with trigger status |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hovsteder/merx-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server