Connection check
verified live · 27h ago
powersun-tron-mcp
TRON Energy marketplace + DEX swap aggregator for AI agents. 27 MCP tools.
Tools
27
GitHub stars
2
Installs / wk
—
Licence
MIT
Transport
streamable-http
Last checked
27h ago
Tools & capabilities
27 toolsRead from the running server on 27h ago.
broadcast_signed_permission_tx
poolAddress*signedTransaction*
Broadcast a signed AccountPermissionUpdate transaction to the TRON blockchain. After broadcasting, verifies that the platform permissions were correctly applied. Use this after sig… 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.
broadcast_transaction
txData*
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 (ba… 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.
build_permission_transaction
includeVotepoolAddress*
Build an AccountPermissionUpdate transaction that grants the PowerSun platform permission to delegate/undelegate resources and optionally vote on your behalf. Returns an unsigned t… 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.
buy_energy
txTypetxCount*resourceTypetargetAddress*durationMinutes
Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance. Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.
check_pool_permissions
poolAddress
Verify that the platform has the required active permissions on your pool address. Required: DelegateResource (to sell energy), UnDelegateResource (to reclaim). Optional: VoteWitne… 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.
configure_auto_selling
activeconfigId*sellEnergymaxDurationminDurationallowRenewals
+3
Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config. Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.
estimate_cost
txTypetxCount*resourceTypedurationMinutes
Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX. Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.
execute_swap
txData*
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. Wor… 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.
get_auto_action_history
limitactionTypepoolAddress
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… 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.
get_auto_selling_config
Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves. Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves.
get_available_resources
resourceTypedurationMinutes
Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now. Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.
get_balance
Get your current TRX balance and deposit information. Requires API key authentication. Get your current TRX balance and deposit information. Requires API key authentication.
get_deposit_info
Get the deposit address to top up your account balance with TRX. Get the deposit address to top up your account balance with TRX.
get_earnings
endDatestartDate
Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range. Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.
get_market_overview
Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase. Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase.
get_onchain_status
poolAddress
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… 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.
get_orders
limitstatus
Get your order history with optional status filter. Returns recent orders sorted by creation time. Get your order history with optional status filter. Returns recent orders sorted by creation time.
get_order_status
orderId*
Get detailed status of a specific order including delegation progress. Get detailed status of a specific order including delegation progress.
get_pool_delegations
poolAddress
Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire. Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.
get_pool_stats
Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key. Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key.
get_prices
resourceType
Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration. Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.
get_swap_quote
toToken*amountIn*fromToken*slippageBps
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… 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.
register
address*
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,… 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.
register_pool
autoVotesellEnergysellBandwidthpaymentAddress*
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… 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.
trigger_vote
poolAddress
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 permis… 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.
verify_registration
address*signature*challengeId*
Complete agent registration by verifying your signed challenge. Returns an API key and upgrades the current session to authenticated. After verification, all authenticated tools (b… 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.
withdraw_earnings
amount*