Use TRONAgg from AI agents (MCP)
TRONAgg's MCP server lets an AI assistant like ChatGPT or Claude fetch live TRON Energy prices and buy Energy on your behalf, through the open Model Context Protocol. TRONAgg is a TRON Energy provider — you buy Energy directly from us, with instant fulfilment, automatic fail-over, and refunds on anything we can't fill.
This page shows how to give an AI assistant a direct line to that: live prices, exact quotes, provider comparison, one-click buying, and AutoEnergy — all from a chat. The connection uses the Model Context Protocol (MCP), the open standard for connecting assistants to external tools. TRONAgg runs a remote MCP server, so there is nothing to install — you point your assistant at one URL.
The human-friendly guide with copy-paste setup for each client lives at tronagg.ai/agents. This page is the reference version.
What is an MCP server for TRON Energy?
An MCP server is a small service that exposes a set of tools an AI assistant can call. TRONAgg's MCP server exposes TRON Energy tools — check the live price, get an exact quote, compare providers, and buy Energy — so your assistant acts on real, up-to-the-second data instead of guessing. It runs remotely at https://mcp.tronagg.ai/mcp, so there is nothing to install and nothing to run yourself.
How to connect ChatGPT, Claude, or Cursor to TRON Energy
Point your assistant at this one URL and the TRONAgg tools appear:
https://mcp.tronagg.ai/mcp
Read tools (prices, quotes, provider comparison, order status) work immediately with no key. To buy Energy or manage AutoEnergy, add your TRONAgg API key as an X-API-Key header on the connector. Get a key from your workspace → API Keys.
Claude (web & desktop)
Settings → Connectors → Add custom connector → paste https://mcp.tronagg.ai/mcp. To buy, add a header X-API-Key: ta_your_key.
ChatGPT
Settings → Connectors → add https://mcp.tronagg.ai/mcp as a custom connector.
Claude Code (CLI)
Register the connector once:
claude mcp add --transport http tronagg https://mcp.tronagg.ai/mcp \
--header "X-API-Key: ta_your_key"
Cursor
Add TRONAgg to ~/.cursor/mcp.json:
{
"mcpServers": {
"tronagg": {
"url": "https://mcp.tronagg.ai/mcp",
"headers": { "X-API-Key": "ta_your_key" }
}
}
}
Hermes Agent
Add TRONAgg to ~/.hermes/config.yaml (it expands ${VAR} in the url and headers):
mcp_servers:
tronagg:
url: "https://mcp.tronagg.ai/mcp"
headers:
X-API-Key: "${TRONAGG_API_KEY}" # only for buying / AutoEnergy; reads work without it
OpenClaw
Add TRONAgg to OpenClaw's MCP config, or register it from the CLI:
{
"mcp": {
"servers": {
"tronagg": {
"url": "https://mcp.tronagg.ai/mcp",
"transport": "streamable-http",
"headers": { "X-API-Key": "ta_your_key" }
}
}
}
}
CLI alternative: openclaw mcp add tronagg --url https://mcp.tronagg.ai/mcp --transport streamable-http.
Read tools work with no key straight away. Before relying on buying or AutoEnergy, run openclaw mcp doctor tronagg --probe to confirm your X-API-Key actually reaches the server — some OpenClaw builds don't forward custom headers over streamable-http.
What TRON Energy tools your AI agent gets
Thirteen tools across three safety tiers. Reads are open; anything that touches your account needs your key; anything that spends money needs your key and an explicit confirmation.
Open — no key required
Public data. Nothing touches an account.
| Tool | What it does |
|---|---|
get_energy_price | Live TRON Energy price and how far below the market average it sits. |
estimate_energy_for_transfer | Estimate the Energy a TRC-20 (e.g. USDT) transfer needs, and its rough cost. |
get_quote | Exact quote to buy a given amount of Energy, including any activation fee. |
compare_providers | The verified providers TRONAgg tracks, with price and TrustScore. |
get_order_status | Look up an order by id: status and delegation details. |
get_autoenergy_pricing | AutoEnergy plan pricing — daily subscription plus per-transfer fees. |
Account — API key required
Reads your account. Needs your X-API-Key header.
| Tool | What it does |
|---|---|
get_account | Your TRONAgg balance, deposit address, and linked wallet. |
list_autoenergy_subscriptions | All your AutoEnergy subscriptions and their status. |
get_autoenergy_subscription | One AutoEnergy subscription by address, with recent usage. |
Actions — key + confirmation
Moves money. Needs your key and an explicit confirm step.
| Tool | What it does |
|---|---|
buy_energy | Buy Energy for an address. Spends your balance. |
subscribe_autoenergy | Start an AutoEnergy subscription. Recurring billing. |
reactivate_autoenergy | Resume a closed AutoEnergy subscription. Recurring billing. |
close_autoenergy | Close an AutoEnergy subscription. Billing stops. |
How TRONAgg keeps agent buying safe
Your agent can look freely, but it can never spend without you.
- Reads are open. Prices, quotes, provider comparison, and order status need no key — nothing that touches your account or your money.
- Your key stays in the header. You add your API key as an
X-API-Keyheader on the connector. It is sent only to TRONAgg — never placed in tool arguments or chat logs. - Money moves only on confirm. Buying and AutoEnergy require your key and an explicit confirmation of the exact amount, receiver, and cost. Nothing happens until you approve.
- Recurring charges are spelled out. Starting or resuming AutoEnergy always states the ongoing daily and per-transfer charge before it begins.
The MCP server is an optional surface that talks to the same public API a developer would. If it is ever down, TRONAgg itself — the site, your balance, your orders — is completely unaffected.
Example prompts for buying TRON Energy with AI
Talk to your assistant in plain language — it picks the right tools for you.
- "How much Energy does a USDT transfer to
T…need, and what would it cost on TRONAgg?" → callsestimate_energy_for_transfer, thenget_quoteto show the exact cost. - "Buy 65,000 Energy for
T…on TRONAgg." → callsget_quote, confirms the cost with you, thenbuy_energyonce you approve. - "Keep
T…topped up with Energy automatically." → showsget_autoenergy_pricing, confirms the recurring charge, thensubscribe_autoenergy.
Prefer to call the API directly?
Every tool is a thin wrapper over TRONAgg's public REST API. If you are building your own integration instead of using an assistant, use the API directly:
- Base URL:
https://tronagg.ai/api/v1, authenticated with anX-API-Keyheader. - Buying supports
resource_type=ENERGYandduration=1h. - Full endpoint reference: API Reference.
Frequently asked questions
Can ChatGPT or Claude buy TRON Energy?
Yes. Once you connect TRONAgg's MCP server and add your API key, ChatGPT, Claude, and other MCP clients can buy TRON Energy on your behalf — but only after you confirm the exact amount, receiver, and cost. Without a key they can still fetch live prices and quotes, just not spend.
Do I need an API key to check TRON Energy prices with an AI agent?
No. The price, quote, provider-comparison, and order-status tools are public and need no key. Only buying Energy and managing AutoEnergy require a TRONAgg API key.
Is it safe to let an AI agent buy Energy?
Yes. Your agent can read prices and quotes freely, but it can never spend money without your key and an explicit confirmation of the exact amount, receiver, and cost. Your API key stays in the connector header and is never placed in chat logs or tool arguments.
How much does it cost to use the MCP server?
The MCP server is free — you only pay for the Energy you actually buy, at TRONAgg's live price. There is no subscription or per-call fee for connecting an AI assistant.
Which AI assistants work with TronAgg?
Any assistant that speaks the Model Context Protocol — including ChatGPT, Claude (web, desktop, and Claude Code), Cursor, Hermes Agent, and OpenClaw. You connect them all with the same URL, https://mcp.tronagg.ai/mcp.
What is AutoEnergy?
AutoEnergy is a subscription that automatically keeps a TRON address topped up with Energy, so USDT and other TRC-20 transfers never fail for lack of Energy. Your agent can start, check, or cancel an AutoEnergy subscription once you add your API key and confirm the recurring charge.
How do I connect my AI assistant to TRONAgg?
Add https://mcp.tronagg.ai/mcp as a custom connector in your assistant's settings, and the TRONAgg tools appear immediately. Reads work with no key; to buy Energy, add your TRONAgg API key as an X-API-Key header.
Ready to connect? Add the connector or read the agent guide.