- Claude
- ChatGPT
- Claude Code
- Codex
- Cursor
Works in Claude on the web and in the desktop app, on every plan (the Free plan allows one custom connector).
- Open Add to Claude — or go to Customize → Connectors → Add → Add custom connector and enter the name
TronRentaland the URL above. - Click Connect next to TronRental.
- Sign in on tronrental.com and approve.
- In a chat, turn TronRental on in the tools menu and ask, for example: “What is my TronRental balance?”
Check that it works
Ask the agent: “Quote 65,000 energy for 1 hour on TronRental.” It callsquote_energy and shows the price — nothing is charged.
Before any purchase the agent quotes the price, shows it to you and passes it as max_price_trx; it also sends an idempotency_key, so a retry never charges twice. Purchases need top-ups of 100 TRX in total on the account — until then the connection can only read. See Spending and errors.
Manage and disconnect
The Connected apps list on the API page shows every connected client: who connected it, its permissions, its daily cap and what it spent in the last 24 hours. Change the cap there, or click Disconnect to revoke the connection at once.Use an API key instead
Clients that let you set headers can connect with an API key instead of signing in — for example, for an agent that runs on your server:~/.codex/config.toml:
"headers": { "Authorization": "Bearer ${env:TRONRENTAL_API_KEY}" } next to url.
An API key has no daily cap: give it only the scopes the agent needs. See Build with MCP.
Agents without a browser
Agents that cannot open a browser can use the local package @tronrental-com/mcp-server: it runs on your machine with an API key inTRONRENTAL_API_KEY, or lets the agent register an account with your email and a code from it. Setup is in its README.