Server Details
TRON Energy marketplace + DEX swap aggregator for AI agents. 27 MCP tools.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- Hovsteder/powersun-tron-mcp
- GitHub Stars
- 0
See and control every tool call
Available Tools
27 toolsbroadcast_signed_permission_txInspect
Broadcast a signed AccountPermissionUpdate transaction to the TRON blockchain. After broadcasting, verifies that the platform permissions were correctly applied. Use this after signing the transaction from build_permission_transaction. Requires authentication.
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | Yes | The pool address that the permission was granted on | |
| signedTransaction | Yes | The signed transaction object from tronWeb.trx.sign() |
broadcast_transactionInspect
Broadcast a pre-signed TRON transaction with auto energy delegation. Send your signed transaction data and PowerSun will delegate energy before broadcasting. Works with API key (balance deduction) or x402 USDC payment. Without authentication, returns cost estimate.
| Name | Required | Description | Default |
|---|---|---|---|
| txData | Yes | Pre-signed transaction object with txID, raw_data, raw_data_hex, and signature |
build_permission_transactionInspect
Build an AccountPermissionUpdate transaction that grants the PowerSun platform permission to delegate/undelegate resources and optionally vote on your behalf. Returns an unsigned transaction that you must sign with your private key and then broadcast using broadcast_signed_permission_tx. All existing account permissions are preserved. Requires authentication.
| Name | Required | Description | Default |
|---|---|---|---|
| includeVote | No | Include VoteWitness permission for earning SR rewards (default: true) | |
| poolAddress | Yes | TRON address to grant permissions on (your pool address, T-address format) |
buy_energyInspect
Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.
| Name | Required | Description | Default |
|---|---|---|---|
| txType | No | Transaction type (default: trc20_transfer) | |
| txCount | Yes | Number of transactions you need energy for | |
| resourceType | No | Resource type (default: ENERGY) | |
| targetAddress | Yes | TRON address to delegate energy to (T-address format) | |
| durationMinutes | No | Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60. |
check_pool_permissionsInspect
Verify that the platform has the required active permissions on your pool address. Required: DelegateResource (to sell energy), UnDelegateResource (to reclaim). Optional: VoteWitness (to vote for SRs and earn rewards). Run this after granting permissions to confirm the platform can operate your pool. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | No | Pool address to check. If omitted, uses your first registered pool. |
configure_auto_sellingInspect
Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Enable/disable auto-selling | |
| configId | Yes | Configuration ID to update (from get_auto_selling_config) | |
| sellEnergy | No | Enable/disable energy selling | |
| maxDuration | No | Maximum rental duration | |
| minDuration | No | Minimum rental duration (e.g., "5min", "1h", "1d") | |
| allowRenewals | No | Allow order renewals | |
| sellBandwidth | No | Enable/disable bandwidth selling | |
| reservedEnergy | No | Energy to keep reserved (not sold) | |
| reservedBandwidth | No | Bandwidth to keep reserved (not sold) |
estimate_costInspect
Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.
| Name | Required | Description | Default |
|---|---|---|---|
| txType | No | Transaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address. | |
| txCount | Yes | Number of transactions | |
| resourceType | No | Resource type (default: ENERGY) | |
| durationMinutes | No | Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60. |
execute_swapInspect
Execute a pre-signed swap transaction with automatic energy delegation. Get the unsigned TX from get_swap_quote, sign it, and submit here. Energy is delegated before broadcast. Works with API key (balance deduction) or x402 USDC payment.
| Name | Required | Description | Default |
|---|---|---|---|
| txData | Yes | Pre-signed swap transaction from get_swap_quote |
get_auto_action_historyInspect
View execution history of automatic actions (stake, vote, claim) for your pool. Shows status (success/failed/skipped), amounts, transaction hashes, and timestamps. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records to return (default: 20, max: 100) | |
| actionType | No | Filter by action type | |
| poolAddress | No | Pool address to get history for. If omitted, uses your first registered pool. |
get_auto_selling_configInspect
Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_available_resourcesInspect
Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.
| Name | Required | Description | Default |
|---|---|---|---|
| resourceType | No | Filter by resource type (default: both) | |
| durationMinutes | No | Filter pools that support this duration |
get_balanceInspect
Get your current TRX balance and deposit information. Requires API key authentication.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_deposit_infoInspect
Get the deposit address to top up your account balance with TRX.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_earningsInspect
Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date (ISO 8601) | |
| startDate | No | Start date (ISO 8601, e.g. 2026-01-01) |
get_market_overviewInspect
Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_onchain_statusInspect
Get live blockchain state for your pool: TRX balance, frozen resources (Energy/Bandwidth), voting status, claimable rewards, and delegated resources. Data is fetched directly from TRON blockchain. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | No | Pool address to check. If omitted, uses your first registered pool. |
get_ordersInspect
Get your order history with optional status filter. Returns recent orders sorted by creation time.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of orders to return (default: 20) | |
| status | No | Filter by order status |
get_order_statusInspect
Get detailed status of a specific order including delegation progress.
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order ID (UUID format) |
get_pool_delegationsInspect
Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | No | Filter by specific pool address. If not provided, shows all your pools. |
get_pool_statsInspect
Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_pricesInspect
Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.
| Name | Required | Description | Default |
|---|---|---|---|
| resourceType | No | Filter by resource type (default: all) |
get_swap_quoteInspect
Get a price quote and unsigned transaction for swapping tokens on SunSwap DEX. Returns an unsigned TX for client-side signing. After signing, submit via execute_swap. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| toToken | Yes | Token to buy — symbol or TRC-20 contract address | |
| amountIn | Yes | Amount to swap in smallest unit (SUN for TRX, base units for tokens) | |
| fromToken | Yes | Token to sell — symbol (USDT, TRX, SUN, ...) or TRC-20 contract address | |
| slippageBps | No | Slippage tolerance in basis points (default: 50 = 0.5%) |
registerInspect
Start agent registration by providing your TRON address. Returns a challenge string that you must sign with your TRON private key using tronWeb.trx.signMessageV2(). After signing, call verify_registration with the signature to receive your API key. No authentication required.
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Your TRON wallet address (T-address format, 34 characters) |
register_poolInspect
Register a TRON address as an energy/bandwidth selling pool on PowerSun. This creates a pool and auto-selling configuration. After registering, you must grant active permissions to the platform address (DelegateResource, UnDelegateResource, VoteWitness) so the platform can delegate resources to buyers and vote on your behalf. Use check_pool_permissions to verify permissions after granting them. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| autoVote | No | Auto-vote for the best Super Representative to earn rewards (default: true) | |
| sellEnergy | No | Enable energy selling (default: true) | |
| sellBandwidth | No | Enable bandwidth selling (default: false) | |
| paymentAddress | Yes | TRON address to register as pool (starts with T, 34 characters). This is the address where you hold/stake TRX. |
trigger_voteInspect
Vote for the best Super Representative (SR) with the highest APY to earn voting rewards. The platform automatically selects the SR with the best return. Requires VoteWitness permission granted to the platform. Voting rewards accumulate and can be claimed automatically if auto-claim is enabled. Requires API key.
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | No | Pool address to vote from. If omitted, uses your first registered pool. |
verify_registrationInspect
Complete agent registration by verifying your signed challenge. Returns an API key and upgrades the current session to authenticated. After verification, all authenticated tools (buy_energy, get_balance, register_pool, etc.) will work in this session without needing to reconnect. No authentication required.
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Your TRON wallet address (must match the register call) | |
| signature | Yes | Signature from tronWeb.trx.signMessageV2(challenge, privateKey) | |
| challengeId | Yes | Challenge ID from the register tool |
withdraw_earningsInspect
Withdraw TRX from your account balance to your wallet. Minimum withdrawal: 100 TRX. Withdrawal is processed on-chain and may take a few minutes.
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to withdraw in TRX (minimum 100 TRX) |
Verify Ownership
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [
{
"email": "your-email@example.com"
}
]
}The email address must match the email associated with your Glama account. Once verified, the connector will appear as claimed by you.
Sign in to verify ownershipControl your server's listing on Glama, including description and metadata
Receive usage reports showing how your server is being used
Get monitoring and health status updates for your server
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Your Connectors
Sign in to create a connector for this server.