Skip to main content
Glama

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
2
Server Listing
TRON Energy/Bandwidth MCP Server

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 3.8/5 across 27 of 27 tools scored. Lowest: 3.1/5.

Server CoherenceA
Disambiguation4/5

Most tools have distinct purposes, but there is some overlap in resource management and transaction handling that could cause confusion. For example, broadcast_transaction and execute_swap both handle pre-signed transactions with energy delegation, which might lead to misselection. However, descriptions generally clarify their specific contexts.

Naming Consistency5/5

Tool names follow a consistent snake_case pattern with clear verb_noun structures throughout, such as broadcast_signed_permission_tx, get_auto_selling_config, and register_pool. This predictability aids in agent understanding and selection.

Tool Count3/5

With 27 tools, the count feels heavy for the TRON blockchain and resource management scope, potentially overwhelming agents. While the domain is complex, a more streamlined set might improve usability without sacrificing functionality.

Completeness5/5

The toolset provides comprehensive coverage for the PowerSun platform, including registration, pool management, resource trading, market operations, and earnings handling. It supports full lifecycle management from setup to withdrawal, with no apparent gaps in core workflows.

Available Tools

27 tools
broadcast_signed_permission_txBroadcast Signed Permission TransactionInspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressYesThe pool address that the permission was granted on
signedTransactionYesThe signed transaction object from tronWeb.trx.sign()
broadcast_transactionBroadcast 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
txDataYesPre-signed transaction object with txID, raw_data, raw_data_hex, and signature
build_permission_transactionBuild 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
includeVoteNoInclude VoteWitness permission for earning SR rewards (default: true)
poolAddressYesTRON address to grant permissions on (your pool address, T-address format)
buy_energyBuy EnergyInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoPool address to check. If omitted, uses your first registered pool.
configure_auto_sellingConfigure 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.

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_costEstimate CostInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
txDataYesPre-signed swap transaction from get_swap_quote
get_auto_action_historyAuto-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.

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_configAuto-Selling ConfigInspect

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_resourcesGet Available ResourcesInspect

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_balanceGet BalanceInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_deposit_infoGet Deposit InfoInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_earningsGet EarningsInspect

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_overviewMarket OverviewInspect

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_statusOn-Chain Pool 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolAddressNoPool address to check. If omitted, uses your first registered pool.
get_ordersGet OrdersInspect

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_statusGet Order StatusInspect

Get detailed status of a specific order including delegation progress.

ParametersJSON Schema
NameRequiredDescriptionDefault
orderIdYesOrder ID (UUID format)
get_pool_delegationsPool DelegationsInspect

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_statsPool StatisticsInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_pricesGet Current PricesInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
toTokenYesToken to buy — symbol or TRC-20 contract address
amountInYesAmount to swap in smallest unit (SUN for TRX, base units for tokens)
fromTokenYesToken to sell — symbol (USDT, TRX, SUN, ...) or TRC-20 contract address
slippageBpsNoSlippage tolerance in basis points (default: 50 = 0.5%)
registerRegister AgentInspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesYour TRON wallet address (T-address format, 34 characters)
register_poolRegister Selling 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.

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_voteVote for SRInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesYour TRON wallet address (must match the register call)
signatureYesSignature from tronWeb.trx.signMessageV2(challenge, privateKey)
challengeIdYesChallenge ID from the register tool
withdraw_earningsWithdraw 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.

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

Discussions

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

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Merx - TRON Resource Exchange Merx is the first TRON resource exchange that aggregates energy and bandwidth providers into a single MCP server. GitHub: https://github.com/Hovsteder/merx-mcp Hosted SSE: https://merx.exchange/mcp/sse npm: merx-mcp Website: https://merx.exchange Stats * 52 tools, 30 prompts, 21 resources * 7+ energy providers (CatFee, ITRX, PowerSun, Fe
    Last updated
    53
    84
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for AI agents to interact with the JustLend DAO lending protocol on TRON, plus general TRON chain utilities like balances, transfers, and staking.
    Last updated
    37
    19
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.