# PowerSun

PowerSun handles TRON Energy and Bandwidth purchases, swaps with energy delegation, and resource pools. Use it to estimate transaction costs or manage pool earnings.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 378 installs
- Author: powersun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/powersun/tron-energy-mcp
- Updated: 2026-03-02
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/powersun

## What it 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`.

## Requirements
- Remote server: `https://tron-energy-mcp--powersun.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http tron-energy-mcp https://tron-energy-mcp--powersun.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add powersun --url https://tron-energy-mcp--powersun.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "powersun": {
            "url": "https://tron-energy-mcp--powersun.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "powersun": {
            "type": "http",
            "url": "https://tron-energy-mcp--powersun.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http powersun https://tron-energy-mcp--powersun.run.tools
```

## When to use it
- 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
- 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.

## Similar
- [MERX](https://affpapa.org/en/nevibecode/mcp/merx.md) — MCP server · 2649 installs
- [EnergyAI: Solar and Clean-Energy Incentives](https://affpapa.org/en/nevibecode/mcp/energyai-solar-and-clean-energy-incentives.md) — MCP server · 1161 installs
- [huawei-cloud-cdn-traffic-anomaly-analysis](https://affpapa.org/en/nevibecode/skills/huawei-cloud-cdn-traffic-anomaly-analysis.md) — skill · 159 installs
- [commodities-list](https://affpapa.org/en/nevibecode/skills/commodities-list.md) — skill · 342 installs
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 91020 repo stars
- [voltcast](https://affpapa.org/en/nevibecode/mcp/voltcast.md) — MCP server

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
