PowerSun — TRON MCP server: features and setup
PowerSun handles TRON Energy and Bandwidth purchases, swaps with energy delegation, and resource pools. Use it to estimate transaction costs or manage pool earnings.
no license 378 installs updated 2026-03-02
claude mcp add --transport http tron-energy-mcp https://tron-energy-mcp--powersun.run.toolsWhat PowerSun does
The server reports Energy and Bandwidth prices and availability, estimates purchase costs, and places market orders for Energy. For SunSwap trades, it provides a quote and an unsigned transaction; after you sign it, PowerSun can execute the swap with energy delegated before broadcast.
Pool owners can inspect delegations and earnings, adjust automatic resource sales, and withdraw TRX. Registering a pool requires granting the platform DelegateResource and UnDelegateResource permissions. Voting also requires VoteWitness. Some tools need an API key, and withdrawals have a 100 TRX minimum.
PowerSun works with Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI. To add it to Codex, run codex mcp add powersun --url https://tron-energy-mcp--powersun.run.tools.
What it helps with
- estimate Energy costs for TRON transactions
- check available Energy and Bandwidth before buying
- swap tokens on SunSwap with automatic energy delegation
- review pool earnings and active delegations
- configure automatic resource sales for a pool
Example prompts for the agent
- Estimate the Energy cost for five TRON transfers.
- Get a SunSwap token swap quote and prepare the transaction.
- Show my pool earnings and active delegations.
How to install PowerSun
Platform CLI: remote server
claude mcp add --transport http tron-energy-mcp https://tron-energy-mcp--powersun.run.toolsPlatform CLI: remote server
codex mcp add powersun --url https://tron-energy-mcp--powersun.run.toolsConfig file
{
"mcpServers": {
"powersun": {
"url": "https://tron-energy-mcp--powersun.run.tools"
}
}
}Config file
{
"servers": {
"powersun": {
"type": "http",
"url": "https://tron-energy-mcp--powersun.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http powersun https://tron-energy-mcp--powersun.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PowerSun
How do I install PowerSun in Codex?
Run codex mcp add powersun --url https://tron-energy-mcp--powersun.run.tools to add the MCP server.
What does PowerSun do?
It helps manage TRON Energy and Bandwidth purchases, estimates transaction costs, and handles token swaps with automatic energy delegation. Pool owners can also track earnings and configure resource sales.
Which permissions does a PowerSun pool need?
Grant DelegateResource and UnDelegateResource so the platform can manage resource delegations. Voting requires the additional VoteWitness permission.