Skip to main content
Glama

powersun-tron-mcp

Server Details

TRON Energy & Bandwidth marketplace for AI agents. Buy/sell via MCP, REST, HTTP 402.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
Hovsteder/powersun-tron-mcp
GitHub Stars
0

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

21 tools
broadcast_transactionTry in Inspector

Broadcast a pre-signed TRON transaction with auto energy delegation. Send your signed transaction data and PowerSun will delegate energy before broadcasting. Requires API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
txDataYesPre-signed transaction object with txID, raw_data, raw_data_hex, and signature
buy_energyTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
txTypeNoTransaction type (default: trc20_transfer)
txCountYesNumber of transactions you need energy for
resourceTypeNoResource type (default: ENERGY)
targetAddressYesTRON address to delegate energy to (T-address format)
durationMinutesNoDuration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60.
check_pool_permissionsTry in Inspector

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoPool address to check. If omitted, uses your first registered pool.
configure_auto_sellingTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
activeNoEnable/disable auto-selling
configIdYesConfiguration ID to update (from get_auto_selling_config)
sellEnergyNoEnable/disable energy selling
maxDurationNoMaximum rental duration
minDurationNoMinimum rental duration (e.g., "5min", "1h", "1d")
allowRenewalsNoAllow order renewals
sellBandwidthNoEnable/disable bandwidth selling
reservedEnergyNoEnergy to keep reserved (not sold)
reservedBandwidthNoBandwidth to keep reserved (not sold)
estimate_costTry in Inspector

Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.

ParametersJSON Schema
NameRequiredDescriptionDefault
txTypeNoTransaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address.
txCountYesNumber of transactions
resourceTypeNoResource type (default: ENERGY)
durationMinutesNoDuration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60.
get_auto_action_historyTry in Inspector

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of records to return (default: 20, max: 100)
actionTypeNoFilter by action type
poolAddressNoPool address to get history for. If omitted, uses your first registered pool.
get_auto_selling_configTry in Inspector

Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_available_resourcesTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
resourceTypeNoFilter by resource type (default: both)
durationMinutesNoFilter pools that support this duration
get_balanceTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_deposit_infoTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_earningsTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
endDateNoEnd date (ISO 8601)
startDateNoStart date (ISO 8601, e.g. 2026-01-01)
get_market_overviewTry in Inspector

Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_onchain_statusTry in Inspector

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoPool address to check. If omitted, uses your first registered pool.
get_ordersTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of orders to return (default: 20)
statusNoFilter by order status
get_order_statusTry in Inspector

Get detailed status of a specific order including delegation progress.

ParametersJSON Schema
NameRequiredDescriptionDefault
orderIdYesOrder ID (UUID format)
get_pool_delegationsTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoFilter by specific pool address. If not provided, shows all your pools.
get_pool_statsTry in Inspector

Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_pricesTry in Inspector

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

ParametersJSON Schema
NameRequiredDescriptionDefault
resourceTypeNoFilter by resource type (default: all)
register_poolTry in Inspector

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
autoVoteNoAuto-vote for the best Super Representative to earn rewards (default: true)
sellEnergyNoEnable energy selling (default: true)
sellBandwidthNoEnable bandwidth selling (default: false)
paymentAddressYesTRON address to register as pool (starts with T, 34 characters). This is the address where you hold/stake TRX.
trigger_voteTry in Inspector

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoPool address to vote from. If omitted, uses your first registered pool.
withdraw_earningsTry in Inspector

Withdraw TRX from your account balance to your wallet. Minimum withdrawal: 100 TRX. Withdrawal is processed on-chain and may take a few minutes.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYesAmount to withdraw in TRX (minimum 100 TRX)

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.