# powersun-tron-mcp MCP server

TRON Energy marketplace + DEX swap aggregator for AI agents. 27 MCP tools.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-hovsteder-powersun-tron-mcp
- Repository: https://github.com/Hovsteder/powersun-tron-mcp

## Install
- Endpoint: https://powersun.vip/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://powersun.vip/mcp

## Tools
- get_prices (Get Current Prices) - Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration. Endpoint: https://powersun.vip/mcp
- estimate_cost (Estimate Cost) - Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX. Endpoint: https://powersun.vip/mcp
- get_available_resources (Get Available Resources) - Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now. Endpoint: https://powersun.vip/mcp
- get_market_overview (Market Overview) - Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase. Endpoint: https://powersun.vip/mcp
- get_balance (Get Balance) - Get your current TRX balance and deposit information. Requires API key authentication. Endpoint: https://powersun.vip/mcp
- buy_energy (Buy Energy) - Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance. Endpoint: https://powersun.vip/mcp
- broadcast_transaction (Broadcast Transaction) - 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. Endpoint: https://powersun.vip/mcp
- get_orders (Get Orders) - Get your order history with optional status filter. Returns recent orders sorted by creation time. Endpoint: https://powersun.vip/mcp
- get_order_status (Get Order Status) - Get detailed status of a specific order including delegation progress. Endpoint: https://powersun.vip/mcp
- get_deposit_info (Get Deposit Info) - Get the deposit address to top up your account balance with TRX. Endpoint: https://powersun.vip/mcp
- get_swap_quote (Get Swap Quote) - 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. Endpoint: https://powersun.vip/mcp
- execute_swap (Execute Swap) - 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. Endpoint: https://powersun.vip/mcp
- get_pool_stats (Pool Statistics) - Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key. Endpoint: https://powersun.vip/mcp
- get_earnings (Get Earnings) - Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range. Endpoint: https://powersun.vip/mcp
- get_auto_selling_config (Auto-Selling Config) - Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves. Endpoint: https://powersun.vip/mcp
- configure_auto_selling (Configure Auto-Selling) - Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config. Endpoint: https://powersun.vip/mcp
- get_pool_delegations (Pool Delegations) - Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire. Endpoint: https://powersun.vip/mcp
- withdraw_earnings (Withdraw Earnings) - Withdraw TRX from your account balance to your wallet. Minimum withdrawal: 100 TRX. Withdrawal is processed on-chain and may take a few minutes. Endpoint: https://powersun.vip/mcp
- register_pool (Register Selling Pool) - 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. Endpoint: https://powersun.vip/mcp
- get_onchain_status (On-Chain Pool Status) - 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. Endpoint: https://powersun.vip/mcp
- check_pool_permissions (Check Pool Permissions) - 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. Endpoint: https://powersun.vip/mcp
- trigger_vote (Vote for SR) - 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. Endpoint: https://powersun.vip/mcp
- get_auto_action_history (Auto-Action History) - 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. Endpoint: https://powersun.vip/mcp
- register (Register Agent) - 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. Endpoint: https://powersun.vip/mcp
- verify_registration (Verify Registration) - 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. Endpoint: https://powersun.vip/mcp
- build_permission_transaction (Build Permission Transaction) - 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. Endpoint: https://powersun.vip/mcp
- broadcast_signed_permission_tx (Broadcast Signed Permission Transaction) - 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. Endpoint: https://powersun.vip/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.Hovsteder
- Version: 1.3.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Mar 2, 2026
- Source: https://registry.modelcontextprotocol.io
