hovsteder avatar

Powersun Tron Mcp

hovsteder/powersun-tron-mcp

Connects Claude to the TRON blockchain for energy marketplace operations and token swaps. Exposes 27 tools across buying energy delegation (cheaper than burning TRX for transaction fees), selling resources for passive income, and swapping TRC-20 tokens via SunSwap DEX. Includes autonomous onboarding: agents can register wallets, sign challenges, grant on-chain permissions, configure auto-selling pools, and vote for super representatives entirely through MCP. Supports authenticated mode with API keys or pay-per-use via HTTP 402. Useful when you need AI agents to optimize TRON transaction costs, execute token swaps with automatic energy delegation, or manage staking rewards without manual intervention.

GitHub stars
1
tools
27
transport
HTTP
last updated
Mar 2, 2026

Install

From registry metadata
$ npx add-mcp https://powersun.vip/mcp --name powersun-tron-mcp

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http powersun-tron-mcp https://powersun.vip/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 27 tools

Verified live against the running server on Nov 6, 2026.

get_pricesGet current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.1 params

Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.

Parameters* required
resourceTypestring
Filter by resource type (default: all)one of ENERGY · BANDWIDTH
estimate_costCalculate the cost of purchasing TRON Energy or Bandwidth. Exact resourceAmount takes priority. Derived Bandwidth is an estimate for standard USDT TRC-20 transfers (345 units plus 5%); other transaction templates require an explicit resourceAmount. Minimum order sizes still ap...6 params

Calculate the cost of purchasing TRON Energy or Bandwidth. Exact resourceAmount takes priority. Derived Bandwidth is an estimate for standard USDT TRC-20 transfers (345 units plus 5%); other transaction templates require an explicit resourceAmount. Minimum order sizes still ap...

Parameters* required
durationMinutesnumber
Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 180, 360, 1440, 10080, 43200. Default: 60.
resourceAmountinteger
Exact resource amount; otherwise derived from transaction count.
resourceTypestring
Resource type (default: ENERGY)one of ENERGY · BANDWIDTH
targetAddressstring
TRON target address. Required for an executable market quote.
txCount*integer
Number of transactions
txTypestring
Transaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address.one of trc20_transfer · trc20_transfer_new · trc10_transfer · contract_call
get_available_resourcesGet total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.2 params

Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.

Parameters* required
durationMinutesnumber
Filter pools that support this duration
resourceTypestring
Filter by resource type (default: both)one of ENERGY · BANDWIDTH
get_market_overviewComprehensive 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.

No parameters. Call it with no arguments.

get_balanceGet your current TRX balance and deposit information. Requires API key authentication.

Get your current TRX balance and deposit information. Requires API key authentication.

No parameters. Call it with no arguments.

buy_energyPurchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.5 params

Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.

Parameters* required
durationMinutesnumber
Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 180, 360, 1440, 10080, 43200. Default: 60.
resourceTypestring
Resource type (default: ENERGY)one of ENERGY · BANDWIDTH
targetAddress*string
TRON address to delegate energy to (T-address format)
txCount*integer
Number of transactions you need energy for
txTypestring
Transaction type (default: trc20_transfer)one of trc20_transfer · trc20_transfer_new · trc10_transfer · contract_call
broadcast_transactionBroadcast 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.1 params

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.

Parameters* required
txData*object
Pre-signed transaction object with txID, raw_data, raw_data_hex, and signature
get_ordersGet your order history with optional status filter. Returns recent orders sorted by creation time.2 params

Get your order history with optional status filter. Returns recent orders sorted by creation time.

Parameters* required
limitinteger
Maximum number of orders to return (default: 20)
statusstring
Filter by order statusone of pending · active · processing · completed · failed · cancelled
get_order_statusGet detailed status of a specific order including delegation progress.1 params

Get detailed status of a specific order including delegation progress.

Parameters* required
orderId*string
Order ID (UUID format)
get_deposit_infoGet the deposit address to top up your account balance with TRX.

Get the deposit address to top up your account balance with TRX.

No parameters. Call it with no arguments.

get_swap_quoteGet 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.4 params

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.

Parameters* required
amountIn*string
Amount to swap in smallest unit (SUN for TRX, base units for tokens)
fromToken*string
Token to sell — symbol (USDT, TRX, SUN, ...) or TRC-20 contract address
slippageBpsinteger
Slippage tolerance in basis points (default: 50 = 0.5%)
toToken*string
Token to buy — symbol or TRC-20 contract address
execute_swapExecute 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.1 params

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.

Parameters* required
txData*object
Pre-signed swap transaction from get_swap_quote
get_pool_statsGet 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.

No parameters. Call it with no arguments.

get_earningsGet earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.2 params

Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.

Parameters* required
endDatestring
End date (ISO 8601)
startDatestring
Start date (ISO 8601, e.g. 2026-01-01)
get_auto_selling_configGet 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.

No parameters. Call it with no arguments.

configure_auto_sellingUpdate auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.9 params

Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.

Parameters* required
activeboolean
Enable/disable auto-selling
allowRenewalsboolean
Allow order renewals
configId*string
Configuration ID to update (from get_auto_selling_config)
maxDurationstring
Maximum rental duration
minDurationstring
Minimum rental duration (e.g., "5min", "1h", "1d")
reservedBandwidthinteger
Bandwidth to keep reserved (not sold)
reservedEnergyinteger
Energy to keep reserved (not sold)
sellBandwidthboolean
Enable/disable bandwidth selling
sellEnergyboolean
Enable/disable energy selling
get_pool_delegationsGet active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.1 params

Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.

Parameters* required
poolAddressstring
Filter by specific pool address. If not provided, shows all your pools.
withdraw_earningsWithdrawal execution is not available through MCP. Use the withdrawal flow at https://powersun.vip. This tool does not create a withdrawal request or move funds.1 params

Withdrawal execution is not available through MCP. Use the withdrawal flow at https://powersun.vip. This tool does not create a withdrawal request or move funds.

Parameters* required
amount*number
Requested TRX amount (retained for compatibility; MCP does not execute withdrawals)
register_poolRegister 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 del...4 params

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 del...

Parameters* required
autoVoteboolean
Auto-vote for the best Super Representative to earn rewards (default: true)default: true
paymentAddress*string
TRON address to register as pool (starts with T, 34 characters). This is the address where you hold/stake TRX.
sellBandwidthboolean
Enable bandwidth selling (default: false)default: false
sellEnergyboolean
Enable energy selling (default: true)default: true
get_onchain_statusGet 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.1 params

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.

Parameters* required
poolAddressstring
Pool address to check. If omitted, uses your first registered pool.
check_pool_permissionsVerify 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 platfor...1 params

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 platfor...

Parameters* required
poolAddressstring
Pool address to check. If omitted, uses your first registered pool.
trigger_voteVote 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-...1 params

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-...

Parameters* required
poolAddressstring
Pool address to vote from. If omitted, uses your first registered pool.
get_auto_action_historyView execution history of automatic actions (stake, vote, claim) for your pool. Shows status (success/failed/skipped), amounts, transaction hashes, and timestamps. Requires API key.3 params

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.

Parameters* required
actionTypestring
Filter by action typeone of stake · vote · claim
limitinteger
Number of records to return (default: 20, max: 100)default: 20
poolAddressstring
Pool address to get history for. If omitted, uses your first registered pool.
registerStart 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.1 params

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.

Parameters* required
address*string
Your TRON wallet address (T-address format, 34 characters)
verify_registrationComplete 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 reconne...3 params

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 reconne...

Parameters* required
address*string
Your TRON wallet address (must match the register call)
challengeId*string
Challenge ID from the register tool
signature*string
Signature from tronWeb.trx.signMessageV2(challenge, privateKey)
build_permission_transactionBuild 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_per...2 params

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_per...

Parameters* required
includeVoteboolean
Include VoteWitness permission for earning SR rewards (default: true)
poolAddress*string
TRON address to grant permissions on (your pool address, T-address format)
broadcast_signed_permission_txBroadcast 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.2 params

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.

Parameters* required
poolAddress*string
The pool address that the permission was granted on
signedTransaction*object
The complete signed permission transaction from tronWeb.trx.sign(), including visible, raw_data_hex, and signature

Sponsors

Readme

PowerSun.vip — TRON Energy & Bandwidth MCP Server + DEX Swap Aggregator

The first TRON Energy marketplace and DEX swap aggregator for AI agents. Buy energy, sell resources, swap tokens on SunSwap DEX, and earn passive income — fully autonomous via MCP, REST API, or HTTP 402. Only 10% commission — the lowest on the market.

MCP Tools OpenAPI Commission License: MIT

PowerSun MCP server

View the full README on GitHub

Details

Repository
github.com/hovsteder/powersun-tron-mcp
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026

More from hovsteder