
powersun-tron-mcp
powersun-tron-mcp: биржа энергии TRON и агрегатор DEX-свопов для AI-агентов
Что умеет
- Смотреть цены и оценивать стоимость покупки энергии
- Покупать энергию и отправлять транзакции в сеть TRON
- Получать котировки свопов и исполнять обмены через DEX
- Отслеживать заказы, балансы и пулы делегирования
- Настраивать автопродажу и выводить заработок из пула
Какие данные видит
Ассистент работает напрямую с блокчейном TRON и балансами кошелька пользователя, без отдельной авторизации через API-ключ.
Нужен ли аккаунт
Не нужен: сервер работает без входа
Коннектор даёт доступ к маркетплейсу энергии TRON и агрегатору обменов на DEX. Ассистент может смотреть цены, покупать энергию, отправлять транзакции, отслеживать заказы и пулы делегирования, настраивать автопродажу заработка.
Как подключить
Как подключить powersun-tron-mcp к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://powersun.vip/mcp
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить powersun-tron-mcp к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://powersun.vip/mcp
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить powersun-tron-mcp к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://powersun.vip/mcp
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (27)
Технические названия из tools/list. Нужны только разработчикам.
| get_prices | Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration. |
| estimate_cost | Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX. |
| get_available_resources | Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now. |
| get_market_overview | Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase. |
| get_balance | Get your current TRX balance and deposit information. Requires API key authentication. |
| buy_energy | Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance. |
| broadcast_transaction | 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. |
| get_orders | Get your order history with optional status filter. Returns recent orders sorted by creation time. |
| get_order_status | Get detailed status of a specific order including delegation progress. |
| get_deposit_info | Get the deposit address to top up your account balance with TRX. |
| get_swap_quote | 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. |
| execute_swap | 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. |
| get_pool_stats | Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key. |
| get_earnings | Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range. |
| get_auto_selling_config | Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves. |
| configure_auto_selling | Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config. |
| get_pool_delegations | Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire. |
| withdraw_earnings | Withdraw TRX from your account balance to your wallet. Minimum withdrawal: 100 TRX. Withdrawal is processed on-chain and may take a few minutes. |
| register_pool | 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. |
| get_onchain_status | 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. |
| check_pool_permissions | 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. |
| trigger_vote | 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. |
| get_auto_action_history | 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. |
| register | 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. |
| verify_registration | 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. |
| build_permission_transaction | 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. |
| broadcast_signed_permission_tx | 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. |