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:

ToolDescription
get_accountGet account balance and details
get_account_resourceGet energy and bandwidth usage
get_trc20_balanceGet TRC20 token balance
get_trc20_token_infoGet token name, symbol, decimals
get_transactionGet transaction details by hash
get_blockGet block by number or latest
transfer_trxBuild a TRX transfer transaction
transfer_trc20Build a TRC20 token transfer
estimate_energyEstimate energy cost for a transaction
trigger_contractCall a smart contract method
list_witnessesList 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