GoTRON MCP Server Setup
The GoTRON MCP Server lets AI agents query balances, tokens, blocks, and build transactions on TRON — directly from your IDE or AI assistant.
Quick Start
Hosted Endpoint (Zero Install)
Connect instantly using the public hosted endpoint:
https://mcp.gotron.sh/mcp
Local Installation
Install the MCP server locally:
curl -fsSL gotron.sh/install-mcp | sh
Or build from source:
go install github.com/fbsobreira/gotron-mcp@latest
IDE Setup
Claude Desktop / Claude Code
claude mcp add gotron --transport http https://mcp.gotron.sh/mcp
Or add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"gotron": {
"command": "gotron-mcp"
}
}
}
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"gotron": {
"url": "https://mcp.gotron.sh/mcp"
}
}
}
Cline / VS Code
Add to your Cline MCP settings:
{
"mcpServers": {
"gotron": {
"url": "https://mcp.gotron.sh/mcp"
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"gotron": {
"serverUrl": "https://mcp.gotron.sh/mcp"
}
}
}
Available Tools
The MCP server exposes these tools to AI agents:
| Tool | Description |
|---|---|
get_account | Get account balance and details |
get_account_resource | Get energy and bandwidth usage |
get_trc20_balance | Get TRC20 token balance |
get_trc20_token_info | Get token name, symbol, decimals |
get_transaction | Get transaction details by hash |
get_block | Get block by number or latest |
transfer_trx | Build a TRX transfer transaction |
transfer_trc20 | Build a TRC20 token transfer |
estimate_energy | Estimate energy cost for a transaction |
trigger_contract | Call a smart contract method |
list_witnesses | List super representative candidates |
Example Prompts
Once connected, try asking your AI agent:
- “What is the TRX balance of TRX_ADDRESS?”
- “Get the USDT balance for this address on TRON”
- “Show me the latest block on TRON”
- “How much energy would a USDT transfer cost?”
- “Build a transaction to send 100 TRX to ADDRESS”
Source Code
Next Steps
- GoTRON Go SDK Guide — Use the SDK directly in Go
- GoTRON Code Examples — Real-world code examples
- Send USDT on TRON with Go — Step-by-step token transfer guide