PowerSun

by hovsteder

Not rated
GitHub

About

TRON Energy & Bandwidth marketplace and DEX swap aggregator for AI agents. 27 tools: buy energy, swap TRC-20 tokens, sell resources, earn passive income. Remote Streamable HTTP, no installation required.

Details

Author
hovsteder
Categories
Cloud Service, Other

Setup

Install PowerSun in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/hovsteder/powersun-tron-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

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/mcpTransport:Streamable HTTP (remote — no installation required)Auth:OptionalX-API-Keyheader (public tools work without authentication)

PowerSun.vipis a full-featuredTRON Energy & Bandwidth marketplace and DEX swap aggregatorwhere 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.

- Only 10% commission— competitors charge 15–30%.PowerSun.vipoffers 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.

Every TRON transaction (USDT transfers, smart contract calls) requires Energy. Without it, TRX tokens are burned as fees. For example, a single USDT transfer burns27 TRX ($7) without Energy. WithPowerSun.vip, the same transfer costs as little as ~$1.

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" } } } }

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.

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)

Buyer Tools — 6 tools (auth recommended)

Swap flow:get_swap_quote→ agent signs unsigned TX →execute_swap→ tokens swapped with energy delegation included.

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:

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 session
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-chain

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

MCP: register_pool { paymentAddress: "TMyWallet..." } → Pool created, auto-selling enabled
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 logs

PowerSun integrates withSunSwap V2 Smart Routerto 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.

TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST — or any TRC-20 contract address.

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 result
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..." }'

PowerSun.vipsupports three payment flows — choose what's most convenient:

Register a TRON wallet, deposit TRX, buy from balance. Best for repeat usage.

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.

No registration needed. Works with all endpoints: buy-energy, broadcast, and swap. Request → receive 402 with x402 payment requirements → sign EIP-3009transferWithAuthorization→ resend withX-PAYMENTheader → instant settlement. Cross-chain payments powered byCoinbase x402.

Bandwidth prices follow a 10x ratio (e.g. 800 SUN for 5 min, 500 SUN for 30 days).

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.

- 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

┌─────────────────────────────────────────────┐ │ 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)

trontron-energytron-bandwidthmcpmcp-serverai-agentblockchaintrxusdtenergy-rentalbandwidthhttp-402x402rest-apicryptodefipassive-incomestakingsunswapdex-swaptoken-swap

- Platform:powersun.vip
- Agent API:
powersun.vip/agents
- Blog:
powersun.vip/blog
- API Docs:
powersun.vip/api-docs

ThePowerSun.vipplatform is a hosted service available atpowersun.vip.

Interact with the Solana blockchain using the Solana Agent Kit.

On-chain automated trading strategies (DEX) for AI agents. Create limit orders, range orders, recurring buy-low-sell-high strategies, and concentrated liquidity positions across Ethereum, Sei, Celo, TAC, and COTI. Unlike traditional AMMs and liquidity pools, Carbon lets you set asymmetric price ranges - your buy and sell orders are independent, not mirrored. Backtest any strategy against historical prices before going on-chain, explore market liquidity, find discount entry points, and swap tokens against Carbon DeFi's maker liquidity. 25 tools. Returns unsigned transactions — agents never hold funds or private keys. Zero gas on fills.

About An MCP server that gives AI agents direct access to Polymarket Crypto prediction markets, enriched with live spot prices. Discover markets, analyze order books, paper trade strategies, track activity, and execute live trades.

Provides tools for interacting with the EDUCHAIN blockchain, including wallet, swap, and arbitrage operations on SailFish DEX.

Trade on prediction markets from Claude Code. Browse markets, check odds, build and execute trades on-chain.

Prediction market trading server for GuessMarket. Browse markets, buy/sell shares, add/remove liquidity, check portfolios, and build on-chain transactions. 20+ tools.

OTC crypto trading with HTLC atomic settlement on Ethereum and Bitcoin — create trades, lock assets, and settle trustlessly via AI agents

An MCP server for the Osmosis Agent Toolkit, enabling interactions with the Osmosis blockchain.

An MCP tool for interacting with the Polymarket prediction market platform.

First native Solana staking MCP server. 26 tools for complete staking workflows — stake, unstake, withdraw, verify, simulate, and more. Zero custody design, ~6% APY.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.