MERX - TRON Resource Exchange
NPM · MERX-MCP · 2 COMPONENTS · SCANNED AUG 3
TRON energy exchange for AI agents. 54 tools, 30 prompts, 21 resources. A2A + ACP.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security91
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects ws 8.17.1, reached via tronweb > ethers > ws. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 7 of 53 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 116 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability82
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 3537 tokens (~52/item across 68 items; 54 tools + 14 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities20
- Spec-recency check failed: implements MCP spec 2024-11-05; the latest is 2026-07-28. See how to fix → Fail
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · merx-mcp
claude mcp add exchange-merx-mcp -- npx -y merx-mcp
codex mcp add exchange-merx-mcp -- npx -y merx-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"exchange-merx-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"merx-mcp"
],
"enabled": true
}
}
} openclaw mcp add exchange-merx-mcp --command npx --arg -y --arg merx-mcp
mcp_servers:
exchange-merx-mcp:
command: "npx"
args: ["-y", "merx-mcp"] {
"mcpServers": {
"exchange-merx-mcp": {
"command": "npx",
"args": [
"-y",
"merx-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +62
- CVE-2026-48779 affects this package: high ▼ security
- CVE-2026-45736 affects this package: high ▼ security
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → fail ▼ security
- Malware scan: unverified → pass ▲ security
- Install scripts: unverified → pass ▲ security
- MCP protocol: unverified → fail ▼ functional
- Schema quality: unverified → good ▲ functional
- Maintenance: unverified → pass ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → 0.95 ▲ functional
- Schema quality: unverified → 100 ▲ functional
- Stability: unverified → 0.23 ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Licence: MIT functional
- 1 Aug 26 −21
- Schema quality: 100 → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- 31 Jul 26 +17
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −15
- Malware scan: pass → unverified ▼ security
- Dependency health: unverified → partial ▲ functional
- 28 Jul 26 −29
- Tool coverage: 100 → unverified ▼ functional
- Schema quality: 100 → unverified ▼ functional
- 27 Jul 26 53
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Vulnerabilities 2 findings
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-58qx-3vcg-4xpx | CVE-2026-45736 | medium | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N | yes |
| GHSA-96hv-2xvq-fx4p | CVE-2026-48779 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
Dependencies 53 packages
53 packages in the resolved dependency tree · 7 stale.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
analyze_prices ~36
Market price analysis with trends and recommendations. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| resource | string | — | Filter by resource type. Omit for all. |
No output schema declared.
No examples provided.
approve_trc20 ~73
Approve TRC-20 spending allowance. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | string | yes | Allowance amount (human-readable, or "unlimited"). |
| spender | string | yes | Spender TRON address. |
| token | string | yes | Token symbol or contract address. |
No output schema declared.
No examples provided.
calculate_savings ~55
Calculate savings from renting energy vs burning TRX. No authentication required.
| Name | Type | Req | Description |
|---|---|---|---|
| operation | string | — | Operation type. Default: trc20_transfer. |
| transaction_count | number | — | Number of transactions. Default: 1. |
No output schema declared.
No examples provided.
call_contract ~99
Execute a state-changing smart contract function. Estimates resources, buys via Merx if needed. Requires TRON_PRIVATE_KEY and TRON_ADDRESS.
| Name | Type | Req | Description |
|---|---|---|---|
| call_value_trx | string | — | TRX to send with call (optional). |
| contract_address | string | yes | Contract TRON address. |
| function_selector | string | yes | Function signature, e.g. "stake(uint256)". |
| parameter | string | — | ABI-encoded parameter hex (optional). |
No output schema declared.
No examples provided.
check_address_resources ~42
Check energy, bandwidth, and TRX balance for any TRON address. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address (starts with T). |
No output schema declared.
No examples provided.
compare_providers ~39
Side-by-side provider comparison with prices and availability. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| resource | string | — | Filter by resource type. Omit for all. |
No output schema declared.
No examples provided.
compile_policy ~161
Convert a natural language energy management policy into MERX automation. Creates standing orders and monitors based on your instructions. Examples: - "Keep 500k energy on my wallet, buy when price is below 55 SUN, max 200 TRX/week" - "Buy energy every day at 6 AM UTC, 1 million units, for 24 hours" - "Alert me when my energy drops below 100k" Returns a preview of what will be created. Set apply=true to execute.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | — | TRON address this policy applies to (optional) |
| apply | boolean | — | Set to true to create the standing orders. Default false (preview only). |
| instruction | string | yes | Natural language description of the desired automation policy |
No output schema declared.
No examples provided.
convert_address ~50
Convert TRON address between base58 (T...) and hex (41...) formats. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address in base58 (T...) or hex (41...). |
No output schema declared.
No examples provided.
create_account ~54
Create a new Merx account, generate an API key, and get deposit info. No auth needed.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Email address for the account | |
| password | string | yes | Password (min 8 characters) |
No output schema declared.
No examples provided.
create_monitor ~103
Create a persistent monitor (delegation expiry, balance, price alert). Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| monitor_type | string | yes | Type of monitor to create. |
| notify | object | yes | Notification config: { webhook, telegram_chat_id }. |
| params | object | yes | Monitor params: { alert_before_sec, auto_renew, resource_type, max_price_sun, duration_sec }. |
| target_address | string | — | TRON address to monitor (for delegation_expiry). |
No output schema declared.
No examples provided.
create_order ~130
Buy energy or bandwidth on Merx. Routed to cheapest provider. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | yes | Amount of resource units (min 65000 for ENERGY, 300 for BANDWIDTH). |
| duration_sec | number | yes | Rental duration in seconds (e.g. 300, 3600, 86400, 2592000). |
| max_price_sun | number | — | Optional max price in SUN/unit. Order fails if no provider is cheaper. |
| resource_type | string | yes | Resource type to purchase. |
| target_address | string | yes | TRON address to receive delegated resources. |
No output schema declared.
No examples provided.
create_paid_order ~73
Create a zero-registration order via x402 pay-per-use. Requires TRON_PRIVATE_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | yes | Amount of resource units |
| duration_sec | number | yes | Duration in seconds |
| resource_type | string | yes | Resource type |
| target_address | string | yes | TRON address to receive resources |
No output schema declared.
No examples provided.
create_standing_order ~148
Create a server-side standing order with trigger-based automation. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| action_params | object | yes | Action parameters: { resource_type, amount, duration_sec, target_address }. |
| action_type | string | yes | Action to perform when triggered. |
| budget_trx | string | yes | Maximum budget in TRX (converted to SUN internally). |
| expires_at | string | — | ISO 8601 expiration date (optional). |
| max_executions | number | yes | Maximum number of times this order can execute. |
| trigger_params | object | yes | Trigger parameters: { resource, threshold_sun } or { cron }. |
| trigger_type | string | yes | Condition that triggers the order. |
No output schema declared.
No examples provided.
deposit_trx ~44
Deposit TRX to your Merx account. Requires MERX_API_KEY + TRON_PRIVATE_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| amount_trx | string | yes | Amount of TRX to deposit |
No output schema declared.
No examples provided.
enable_auto_deposit ~73
Configure automatic top-up when balance drops below a threshold. Session-only.
| Name | Type | Req | Description |
|---|---|---|---|
| deposit_amount_trx | string | yes | Amount of TRX per deposit |
| max_daily_deposits | number | — | Max deposits per day (default 5) |
| threshold_trx | string | yes | Balance threshold in TRX |
No output schema declared.
No examples provided.
ensure_resources ~92
Declarative resource provisioning. Checks current resources on target address and purchases only what is missing. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| bandwidth_minimum | number | — | Minimum bandwidth the address should have. |
| duration_sec | number | — | Rental duration in seconds (default: 3600). |
| energy_minimum | number | — | Minimum energy the address should have. |
| target_address | string | yes | TRON address to provision resources for. |
No output schema declared.
No examples provided.
estimate_contract_call ~93
Estimate energy and bandwidth cost for a smart contract call. Compares rental vs burn cost. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| caller_address | string | — | Caller TRON address for simulation (optional). |
| contract_address | string | yes | Contract TRON address. |
| function_selector | string | yes | Function signature, e.g. "transfer(address,uint256)". |
| parameter | string | — | ABI-encoded parameter hex (optional). |
No output schema declared.
No examples provided.
estimate_transaction_cost ~126
Estimate energy and bandwidth cost for a TRON transaction. Compares rental vs burn cost. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | string | — | Token amount (as string). |
| contract_address | string | — | Contract address (custom). |
| from_address | string | — | Sender TRON address. |
| function_selector | string | — | Function selector (custom). |
| operation | string | yes | Transaction type. |
| parameter | string | — | ABI-encoded parameter (custom). |
| to_address | string | — | Recipient TRON address. |
| token_address | string | — | TRC20 contract address. |
No output schema declared.
No examples provided.
execute_intent ~92
Execute a multi-step operation (transfer, swap, buy resources, etc). Validates and simulates all steps with resource cost estimates. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| dry_run | boolean | — | If true, simulate only without executing (default: false). |
| resource_strategy | string | — | Resource acquisition strategy (default: batch_cheapest). |
| steps | array | yes | Array of { action, params } steps to execute. |
No output schema declared.
No examples provided.
execute_swap ~87
Execute a token swap on SunSwap V2. Requires TRON_PRIVATE_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | string | yes | Amount of source token to swap |
| from_token | string | yes | Source token symbol (TRX, USDT, USDC, etc.) |
| slippage | number | — | Slippage tolerance in percent (default 1) |
| to_token | string | yes | Destination token symbol |
No output schema declared.
No examples provided.
explain_concept ~54
Explain a TRON or Merx concept. No authentication required.
| Name | Type | Req | Description |
|---|---|---|---|
| topic | string | yes | Topic: energy, bandwidth, staking, delegation, sun_units, burn_vs_rent, merx_routing, provider_types |
No output schema declared.
No examples provided.
get_account_info ~43
Full on-chain account state: TRX balance, energy, bandwidth, creation date. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address (T...). |
No output schema declared.
No examples provided.
get_balance ~29
Get your Merx account balance (TRX, USDT, locked). Requires MERX_API_KEY.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_best_price ~45
Find the cheapest provider for a given resource and amount. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | number | — | Amount of resource units needed. |
| resource | string | yes | Resource type. |
No output schema declared.
No examples provided.
get_block ~40
Get TRON block info by number (or latest if omitted). No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| block_number | number | — | Block number. Omit for latest. |
No output schema declared.
No examples provided.
get_chain_parameters ~33
Get TRON network parameters (energy fee, bandwidth cost, etc.) with Merx price comparison. No auth required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_deposit_info ~25
Get your Merx deposit address and memo. Requires MERX_API_KEY.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_order ~31
Get order details and fill status by ID. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| order_id | string | yes | The order UUID. |
No output schema declared.
No examples provided.
get_price_history ~54
Historical price snapshots. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | — | Time period (default: 24h). |
| provider | string | — | Filter by provider name. |
| resource | string | — | Filter by resource type. |
No output schema declared.
No examples provided.
get_prices ~52
Get current energy and bandwidth prices from all Merx providers. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| duration | number | — | Filter by duration in seconds. |
| resource | string | — | Filter by resource type. Omit for all. |
No output schema declared.
No examples provided.
get_swap_quote ~87
Get a real swap quote from SunSwap V2. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| amount | string | yes | Amount of source token to swap |
| from_token | string | yes | Source token symbol (TRX, USDT, USDC, etc.) |
| slippage | number | — | Slippage tolerance in percent (default 1) |
| to_token | string | yes | Destination token symbol |
No output schema declared.
No examples provided.
get_token_info ~42
Get TRC-20 token metadata: name, symbol, decimals, total supply. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | Token symbol or contract address. |
No output schema declared.
No examples provided.
get_token_price ~46
Get token price via SunSwap quote + CoinGecko USD rate. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | Token symbol (USDT, USDC, SUN, etc.) |
No output schema declared.
No examples provided.
get_transaction ~34
Look up a transaction by ID on TRON. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| tx_id | string | yes | Transaction ID (hash). |
No output schema declared.
No examples provided.
get_transaction_history ~40
Get your Merx account transaction history. Requires MERX_API_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | — | Time period to query. Default: 30D. |
No output schema declared.
No examples provided.
get_trc20_balance ~70
Get TRC-20 token balance for an address. Supports symbol (USDT, USDC) or contract address. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address to query. |
| token | string | yes | Token symbol (USDT, USDC) or contract address. |
No output schema declared.
No examples provided.
get_trx_balance ~37
Quick TRX balance for a TRON address. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address (T...). |
No output schema declared.
No examples provided.
get_trx_price ~38
Get current TRX price from CoinGecko. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| currency | string | — | Fiat currency code (default: usd). |
No output schema declared.
No examples provided.
list_monitors ~31
List all monitors with optional status filter. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| status | string | — | Filter by monitor status. |
No output schema declared.
No examples provided.
list_orders ~48
List recent orders with optional status filter. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | — | Max number of orders to return (default: 20). |
| status | string | — | Filter by order status. |
No output schema declared.
No examples provided.
list_providers ~26
List all Merx providers with types, durations, and availability. No authentication required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_standing_orders ~32
List all standing orders with optional status filter. Auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| status | string | — | Filter by status. |
No output schema declared.
No examples provided.
login ~40
Log in to an existing Merx account. No MERX_API_KEY needed.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Email address | |
| password | string | yes | Password |
No output schema declared.
No examples provided.
pay_invoice ~33
Pay an x402 invoice by sending TRX and verifying payment.
| Name | Type | Req | Description |
|---|---|---|---|
| invoice_id | string | yes | Invoice ID to pay |
No output schema declared.
No examples provided.
read_contract ~73
Call a view/pure function on a TRON smart contract. No auth or private key required.
| Name | Type | Req | Description |
|---|---|---|---|
| contract_address | string | yes | Contract TRON address. |
| function_selector | string | yes | Function signature, e.g. "balanceOf(address)". |
| parameter | string | — | ABI-encoded parameter hex (optional). |
No output schema declared.
No examples provided.
search_transaction_history ~62
Get on-chain transaction history for a TRON address. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | TRON address. |
| limit | number | — | Max results (default: 20). |
| type | string | — | Transaction type filter (default: all). |
No output schema declared.
No examples provided.
set_api_key ~60
Set your Merx API key for this session. Unlocks all authenticated tools (trading, balance, orders). Use this if you already have an API key.
| Name | Type | Req | Description |
|---|---|---|---|
| api_key | string | yes | Your Merx API key (starts with sk_live_) |
No output schema declared.
No examples provided.
set_private_key ~77
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.
| Name | Type | Req | Description |
|---|---|---|---|
| private_key | string | yes | Your TRON private key (64 hex characters) |
No output schema declared.
No examples provided.
simulate ~56
Simulate a multi-step operation without executing. Returns resource estimates and costs.
| Name | Type | Req | Description |
|---|---|---|---|
| resource_strategy | string | — | Resource acquisition strategy (default: batch_cheapest). |
| steps | array | yes | Array of { action, params } steps to simulate. |
No output schema declared.
No examples provided.
suggest_duration ~48
Recommend a rental duration based on your use case. No authentication required.
| Name | Type | Req | Description |
|---|---|---|---|
| transaction_count | number | — | Expected number of transactions (optional). |
| use_case | string | yes | Your intended use case. |
No output schema declared.
No examples provided.