TRON Energy/Bandwidth MCP Server
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 Endpoint: https://powersun.vip/mcp
Transport: Streamable HTTP (remote — no installation required)
Auth: Optional X-API-Key header (public tools work without authentication)
About PowerSun.vip
PowerSun.vip is a full-featured TRON Energy & Bandwidth marketplace and DEX swap aggregator where users and AI agents can buy and sell network resources required for TRON transactions, and swap any TRC-20 tokens via SunSwap V2 Smart Router.
Platform Highlights
Only 10% commission — competitors charge 15–30%. PowerSun.vip offers the lowest fees on the market.
Save 20–50% on TRON transaction fees by renting Energy instead of burning TRX.
DEX Token Swaps — swap any TRC-20 token pair (TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST, or any contract address) via SunSwap V2 Smart Router with automatic energy delegation.
Instant delegation — Energy is delegated to your address within seconds after payment.
Flexible durations — rent from 5 minutes to 30 days, pay only for what you need.
Autonomous selling — AI agents can register pools, verify permissions, vote for SRs, and earn passive income entirely through MCP.
Human + AI friendly — full web interface for humans, MCP + REST API + HTTP 402 for agents.
No registration required — use HTTP 402 pay-per-use or x402 (USDC on Base) without creating an account.
Why TRON Energy Matters
Every TRON transaction (USDT transfers, smart contract calls) requires Energy. Without it, TRX tokens are burned as fees. For example, a single USDT transfer burns 27 TRX ($7) without Energy. With PowerSun.vip, the same transfer costs as little as ~$1.
Related MCP server: mcp-server-tron
MCP Server — Quick Start
Connect from Claude Desktop / Cursor / any MCP client
{
"mcpServers": {
"powersun": {
"url": "https://powersun.vip/mcp"
}
}
}That's it — no API keys, no npm install, no Docker. The server is hosted and always available.
With authentication (for balance, orders, selling & swaps)
{
"mcpServers": {
"powersun": {
"url": "https://powersun.vip/mcp",
"headers": {
"X-API-Key": "ps_your_api_key_here"
}
}
}
}MCP Tools (27 total)
Onboarding Tools — 4 tools (self-service registration via MCP)
These tools let agents register, authenticate, and grant permissions — entirely within a single MCP session. No REST API needed.
Tool | Description |
| Start registration — get a challenge to sign with your TRON wallet |
| Submit wallet signature → get API key, session upgrades automatically |
| Build an unsigned AccountPermissionUpdate tx to grant platform permissions |
| Broadcast the signed permission tx and verify on-chain |
Returning users: If the wallet is already registered,
verify_registrationreturns the existing API key + account status (pools, permissions, balance).
Market Tools — 4 tools (public, no auth required)
Tool | Description |
| Current Energy & Bandwidth prices for all duration tiers (5min to 30d) |
| Calculate exact cost for a specific energy amount and duration |
| Check available Energy & Bandwidth in the marketplace |
| Full market snapshot — prices, availability, order stats |
Buyer Tools — 6 tools (auth recommended)
Tool | Description |
| Purchase Energy delegation for any TRON address |
| Account balance and deposit address |
| List your recent orders |
| Detailed order status with delegation progress |
| Get deposit address and payment instructions |
| Broadcast a pre-signed TRON transaction with automatic Energy delegation. Works with API key (balance), x402 USDC, or 402 pay-per-use — no registration required. |
Swap Tools — 2 tools (auth recommended)
Tool | Description |
| Get a swap quote from SunSwap V2 Smart Router — returns expected output, minimum output with slippage, energy cost, and unsigned TX to sign. Supports TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST, or any TRC-20 contract address. |
| Broadcast a pre-signed swap transaction with automatic Energy delegation. Get the unsigned TX from |
Swap flow:
get_swap_quote→ agent signs unsigned TX →execute_swap→ tokens swapped with energy delegation included.
Seller Tools — 11 tools (auth required)
Pool Management
Tool | Description |
| Register a TRON address as a selling pool (autonomous onboarding) |
| Pool performance and delegation statistics |
| Earnings breakdown and history |
| Current auto-selling configuration |
| Enable/disable auto-selling with price settings |
| Active delegations from your pool |
| Withdraw earned TRX to your wallet |
On-Chain Operations
Tool | Description |
| Live blockchain state — balance, frozen TRX, energy/bandwidth, votes, claimable rewards |
| Verify platform has required on-chain permissions (delegate, undelegate, vote) |
| Vote for Super Representative to earn staking rewards |
| View auto-action execution logs (stake, vote, claim) |
Full Autonomous Onboarding
AI agents can go from "I have a TRON wallet with a private key" to "I'm earning passive income" — in a single MCP session:
Step 1: Register & Authenticate
MCP: register { address: "TMyWallet..." }
→ challengeId + challenge text
Agent signs: tronWeb.trx.signMessageV2(challenge, privateKey)
MCP: verify_registration { challengeId, address, signature }
→ API key + balance + session upgraded
→ All authenticated tools now work in this sessionStep 2: Grant Permissions
MCP: build_permission_transaction { poolAddress: "TMyWallet..." }
→ unsigned AccountPermissionUpdate transaction
→ Grants: DelegateResource(57), UnDelegateResource(58), VoteWitness(4)
Agent signs: tronWeb.trx.sign(unsignedTx, privateKey)
MCP: broadcast_signed_permission_tx { signedTransaction, poolAddress }
→ txHash + permissions verified on-chainSecurity: Agent permissions are limited to delegate, undelegate, and vote only. No access to FreezeBalanceV2 or WithdrawBalance. Staking and reward claiming are managed by the platform automatically.
Step 3: Register Pool
MCP: register_pool { paymentAddress: "TMyWallet..." }
→ Pool created, auto-selling enabledStep 4: Vote & Monitor
MCP: trigger_vote → Vote for highest-APY Super Representative
MCP: get_onchain_status → Balance, frozen TRX, energy, votes, rewards
MCP: get_earnings → Selling earnings breakdown
MCP: get_auto_action_history → Auto-action execution logsToken Swap (SunSwap DEX)
PowerSun integrates with SunSwap V2 Smart Router to provide non-custodial token swaps on the TRON network. Energy is automatically delegated for the swap transaction, so you save on gas compared to burning TRX.
Supported Tokens
TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST — or any TRC-20 contract address.
Swap via MCP
MCP: get_swap_quote {
fromToken: "TRX",
toToken: "USDT",
amountIn: "10000000", // 10 TRX in SUN
slippageBps: 50, // 0.5%
senderAddress: "TMyWallet..."
}
→ quote (expected output, minimum output, price impact)
→ energy (cost, savings vs burn)
→ unsignedTx (raw transaction to sign)
Agent signs: tronWeb.trx.sign(unsignedTx, privateKey)
MCP: execute_swap { signedTransaction: "..." }
→ txHash + swap resultSwap via REST API
curl -X POST https://powersun.vip/api/v2/agent/swap \
-H "X-API-Key: ps_your_key" \
-H "Content-Type: application/json" \
-d '{
"fromToken": "TRX",
"toToken": "USDT",
"amountIn": "10000000",
"slippageBps": 50,
"senderAddress": "TYourAddress..."
}'Payment Methods
PowerSun.vip supports three payment flows — choose what's most convenient:
1. API Key + TRX Balance
Register a TRON wallet, deposit TRX, buy from balance. Best for repeat usage.
2. HTTP 402 Pay-per-use (TRX)
No registration needed. Works with all endpoints: buy-energy, broadcast, and swap. Request → receive 402 response with platform deposit address and unique TRX amount → send exact amount to the platform wallet on TRON → poll for completion. Payment is matched by unique amount. Fully autonomous.
3. x402 Protocol (USDC on Base)
No registration needed. Works with all endpoints: buy-energy, broadcast, and swap. Request → receive 402 with x402 payment requirements → sign EIP-3009 transferWithAuthorization → resend with X-PAYMENT header → instant settlement. Cross-chain payments powered by Coinbase x402.
REST API
Full REST API available alongside MCP:
Endpoint | Description |
| Start wallet registration |
| Verify signature, get API key |
| Estimate cost |
| Purchase energy (API key, 402, or x402) |
| Get swap quote from SunSwap DEX (returns unsigned TX) |
| Broadcast signed transaction with auto Energy (API key, 402, or x402) |
| Check balance |
| Order status |
| 402 payment status |
Pricing
Energy Prices
Duration | Min Price (SUN/unit) |
5 min | 80 |
10 min | 75 |
15 min | 70 |
30 min | 65 |
1 hour | 60 |
6 hours | 57 |
1 day | 55 |
7 days | 52 |
30 days | 50 |
Bandwidth prices follow a 10x ratio (e.g. 800 SUN for 5 min, 500 SUN for 30 days).
Commission | Only 10% — lowest on the market |
Savings | 20–50% vs TRX burn |
Available durations: 5min, 10min, 15min, 30min, 1h, 6h, 1d, 7d, 30d
Swap energy cost: When swapping tokens, PowerSun automatically delegates 5-minute Energy for the swap transaction. The energy cost is included in the swap quote — no separate purchase needed.
Commission Comparison
Platform | Commission |
10% | |
Competitor A | 15–20% |
Competitor B | 20–30% |
SDKs
Package | Language | Install | Tools |
TypeScript |
| Energy + Swap | |
Python |
| 12 LangChain tools | |
Python |
| 9 CrewAI tools | |
GitHub Action |
| CI/CD energy rental |
Supported Networks
Network | Asset | Usage |
TRON mainnet | TRX | Native payment + resource delegation + token swaps |
Base (EVM) | USDC | x402 payment via Coinbase facilitator |
Use Cases
Wallet agents — Automatically rent Energy before sending USDT/TRX, reducing fees by 20–50%
Trading bots — Bulk Energy purchases for high-frequency TRON transactions
DEX swap agents — Swap any TRC-20 token pair on SunSwap DEX with automatic energy delegation and slippage protection
DApp backends — Provide free transactions to users by delegating Energy
Multi-chain agents — Pay with USDC on Base, receive Energy on TRON
Autonomous sellers — Register a pool via MCP, vote for SRs, earn staking + selling rewards with zero manual intervention
Discovery & Documentation
Resource | URL |
Platform | |
Agent Landing Page | |
MCP Endpoint | |
OpenAPI Spec | |
LLM Guide (short) | |
LLM Guide (full) | |
Agent Descriptor | |
AI Plugin Manifest | |
Full API Docs | |
Blog |
Architecture
┌─────────────────────────────────────────────┐
│ AI Agent / LLM │
│ (Claude, GPT, custom agent) │
└──────────┬──────────────┬───────────────────┘
│ MCP │ REST API
▼ ▼
┌──────────────────────────────────────────────┐
│ PowerSun.vip Server │
│ │
│ ┌─────────┐ ┌──────────┐ ┌──────────────┐ │
│ │27 MCP │ │ REST API │ │ HTTP 402 │ │
│ │Tools │ │ Endpoints│ │ + x402 USDC │ │
│ └────┬────┘ └────┬─────┘ └──────┬───────┘ │
│ └───────────┴──────────────┘ │
│ │ │
│ ┌────────────┴────────────┐ │
│ │ Order Engine + │ │
│ │ Pool Management + │ │
│ │ SunSwap Router + │ │
│ │ Auto-Actions │ │
│ └────────────┬────────────┘ │
└────────────────────┼─────────────────────────┘
│
┌────────────┴────────────┐
▼ ▼
TRON Mainnet Base (EVM)
(Energy + Swaps) (USDC settlement)GitHub Topics
tron tron-energy tron-bandwidth mcp mcp-server ai-agent blockchain trx usdt energy-rental bandwidth http-402 x402 rest-api crypto defi passive-income staking sunswap dex-swap token-swap
Links
Platform: powersun.vip
Agent API: powersun.vip/agents
Blog: powersun.vip/blog
API Docs: powersun.vip/api-docs
License
MIT License. See LICENSE for details.
The PowerSun.vip platform is a hosted service available at powersun.vip.
Available Tools
27 toolsbroadcast_signed_permission_txBroadcast Signed Permission TransactionAInspect
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.
Inputs: poolAddress (required), signedTransaction (required).
broadcast_transactionBroadcast TransactionAInspect
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.
Inputs: txData (required).
build_permission_transactionBuild Permission TransactionAInspect
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.
Inputs: poolAddress (required), includeVote.
buy_energyBuy EnergyAInspect
Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.
Inputs: txCount (required), targetAddress (required), txType, resourceType, +1 more.
check_pool_permissionsCheck Pool PermissionsAInspect
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.
Inputs: poolAddress.
configure_auto_sellingConfigure Auto-SellingAInspect
Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.
Inputs: configId (required), active, sellEnergy, maxDuration, +5 more.
estimate_costEstimate CostAInspect
Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.
Inputs: txCount (required), txType, resourceType, durationMinutes.
execute_swapExecute SwapAInspect
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.
Inputs: txData (required).
get_auto_action_historyAuto-Action HistoryAInspect
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.
Inputs: limit, actionType, poolAddress.
get_auto_selling_configAuto-Selling ConfigAInspect
Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves.
Inputs: no named parameters.
get_available_resourcesGet Available ResourcesAInspect
Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.
Inputs: resourceType, durationMinutes.
get_balanceGet BalanceAInspect
Get your current TRX balance and deposit information. Requires API key authentication.
Inputs: no named parameters.
get_deposit_infoGet Deposit InfoAInspect
Get the deposit address to top up your account balance with TRX.
Inputs: no named parameters.
get_earningsGet EarningsAInspect
Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.
Inputs: endDate, startDate.
get_market_overviewMarket OverviewAInspect
Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase.
Inputs: no named parameters.
get_onchain_statusOn-Chain Pool StatusAInspect
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.
Inputs: poolAddress.
get_ordersGet OrdersAInspect
Get your order history with optional status filter. Returns recent orders sorted by creation time.
Inputs: limit, status.
get_order_statusGet Order StatusAInspect
Get detailed status of a specific order including delegation progress.
Inputs: orderId (required).
get_pool_delegationsPool DelegationsAInspect
Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.
Inputs: poolAddress.
get_pool_statsPool StatisticsAInspect
Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key.
Inputs: no named parameters.
get_pricesGet Current PricesAInspect
Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.
Inputs: resourceType.
get_swap_quoteGet Swap QuoteAInspect
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.
Inputs: toToken (required), amountIn (required), fromToken (required), slippageBps.
registerRegister AgentAInspect
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.
Inputs: address (required).
register_poolRegister Selling PoolAInspect
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.
Inputs: paymentAddress (required), autoVote, sellEnergy, sellBandwidth.
trigger_voteVote for SRAInspect
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.
Inputs: poolAddress.
verify_registrationVerify RegistrationAInspect
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.
Inputs: address (required), signature (required), challengeId (required).
withdraw_earningsWithdraw EarningsAInspect
Withdraw TRX from your account balance to your wallet. Minimum withdrawal: 100 TRX. Withdrawal is processed on-chain and may take a few minutes.
Inputs: amount (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Most tools have clear, distinct purposes, but there is notable overlap among market data tools: get_prices, get_available_resources, and get_market_overview all return similar information. Additionally, broadcast_transaction and execute_swap both broadcast signed transactions with energy delegation, and get_balance overlaps somewhat with get_deposit_info.
The naming is largely consistent, with most tools following a clear verb_noun pattern like get_prices, estimate_cost, get_balance, and broadcast_transaction. Minor inconsistencies include 'register' vs 'register_pool', 'tx' vs 'transaction', and 'check_pool_permissions' vs the get_* convention.
With 27 tools, the surface is quite large even for a platform covering market data, purchases, swaps, pool management, and authentication. While the domain is broad, many related getters could be consolidated (e.g., get_prices and get_available_resources into get_market_overview), making the toolset feel inflated.
The core platform capabilities—pricing, cost estimation, buying energy, swapping, pool management, auto-selling, earnings, and authentication—are well covered. However, there is no explicit tool to buy Bandwidth despite it being a listed resource type, and cancellation of orders/swaps is not addressed, leaving some gaps in the expected surface.
Maintenance
Related MCP Connectors
TRON energy exchange for AI agents. 54 tools, 30 prompts, 21 resources. A2A + ACP.
TRON energy, USDT sending without TRX, node RPC and events for agents; pay per call via x402.
Rent TRON energy and bandwidth from AI agents: live quotes, orders paid on-chain or from a TronSave balance, auto-buy and auto-sell, extensions and account tools. Sign in with a TronSave API key or TronLink.
Rent TRON energy so USDT TRC-20 transfers don't burn TRX. Balance, orders, AML checks. OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceMerx - 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, Fe53106 npm3MIT
- AlicenseBqualityBmaintenanceA comprehensive MCP server that enables AI agents to interact with the TRON blockchain, including tools for blockchain data, token transfers, smart contracts, staking, and wallet management.9727MIT

mcp-server-justlendofficial
AlicenseBqualityBmaintenanceAn MCP server enabling AI agents to interact with JustLend DAO on TRON for lending, borrowing, and portfolio management, plus general TRON chain utilities.98175 npm3MIT- AlicenseAqualityDmaintenanceAn 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.37MIT