For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use TronSave with AI Assistants

Connect TronSave to Claude Code, Cursor or Claude and rent TRON energy by asking your AI assistant — quotes, orders and account tools over MCP.

TronSave runs a hosted MCP server, so AI assistants can work with the TronSave market for you. Ask for the price of energy, get a quote for any wallet, buy ENERGY or BANDWIDTH, and manage your orders and auto-buy rules, all from a chat.

There is nothing to install. You add one URL to your assistant and sign in once.

Claude quoting 65,000 energy on TronSave
Claude getting a TronSave quote and the internal balance

Pick a URL

URL
Use it when

https://mcp.tronsave.io/oauth/mcp

Recommended. Your assistant opens a TronSave sign-in page the first time. Sign in with your API key or your TronLink wallet.

https://mcp.tronsave.io/mcp

Prices and quotes only (no sign-in), or scripts that send an API key in a header.

https://mcp.tronsave.io/oauth/testnet/mcp

Trying it on the Nile testnet with test TRX. Nothing real is spent.

Mainnet and testnet are separate. A sign-in on one URL does not work on the other.

Claude Code

  1. Add TronSave once, for all your projects:

  2. Start Claude Code, type /mcp, select tronsave and choose Authenticate. Your browser opens the TronSave sign-in page. When it confirms, return to the terminal.

  3. Ask: "Use TronSave to show the current price of energy."

To use an API key instead (servers, CI), add it as a header and keep it out of shared project files:

Cursor

Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

Then open Cursor Settings → MCP, find tronsave and sign in. Cursor opens the TronSave sign-in page in your browser.

You can also paste this one-click install link into your browser's address bar:

Claude (web and desktop)

  1. Go to Settings → Connectors → Add custom connector. Custom connectors depend on your Claude plan.

  2. Name it TronSave and use the URL https://mcp.tronsave.io/oauth/mcp. Click Add, then Connect.

  3. Sign in on the TronSave page and start a chat.

Claude asks before it uses each TronSave tool. For anything that buys or changes something, choose Allow once after checking the details.

Claude asking permission before creating a TronSave order
Claude shows the order parameters and asks before buying

Signing in

The TronSave sign-in page offers two methods:

Sign in with
What it unlocks
How long it lasts

API key

Your internal balance: buy from the balance, order history, deposit address. See Get an API key.

30 days

TronLink wallet (or a signature from any TRON wallet)

Your wallet account: orders, auto-buy and auto-sell settings, notifications, API keys.

24 hours

Prices, quotes and market data work without signing in.

Things to ask

  • "What's the cheapest energy on TronSave right now?"

  • "How much energy does my wallet need for a USDT transfer, and what would it cost?"

  • "Buy 130k energy for one day for my wallet with my TronSave balance."

  • "Show my open orders and cancel the oldest one."

  • "Keep my wallet above 100k energy with auto-buy, budget 50 TRX."

Completed TronSave order in Claude
The order is placed and the energy is delegated

Safety

  • Every action that spends funds or changes settings is marked as a write, so your assistant asks before running it.

  • Orders carry a price cap and duplicate protection, and a failed purchase is never retried automatically.

  • Check the plan and the TRX total before you approve. On-chain payments are final.

  • New to it? Start with the testnet URL and a Nile wallet.

Troubleshooting

You see
Do this

"Needs authentication" or a 401

Sign in again: /mcp → Authenticate in Claude Code, the sign-in button in Cursor, Connect in Claude.

SESSION_REQUIRED

That tool needs an account. Use the /oauth/mcp URL and sign in.

INVALID_SESSION_TYPE

That tool needs a wallet sign-in. Reconnect and choose TronLink.

Wallet tools stop after a day

Wallet sign-ins last 24 hours. Sign in again.

OAUTH_INVALID_TOKEN about testnet/mainnet

You signed in on the other network. Use the matching URL.

Next steps

Last updated