Skip to main content
Glama
TronRental MCP Server

TronRental MCP Server

Official

TronRental for agents and the command line

TronRental.com rents TRON energy and bandwidth so that USDT (TRC-20) transfers cost a fraction of the TRX they would burn. This repository holds the tools that reach it from outside the website:

Package

What it is

@tronrental-com/cli

tronrental — the command line: sign in, quote, buy, check orders, withdraw

@tronrental-com/mcp-server

stdio MCP bridge for agents whose client speaks only stdio

Both talk to the TronRental remote MCP server, https://mcp.tronrental.com/mcp. Its tool catalog comes from the server on every connection: neither package keeps a copy of it.

Which one do I need?

  • An agent whose client supports remote MCP (Claude, ChatGPT, Claude Code, Codex, Cursor): connect it to https://mcp.tronrental.com/mcp directly. You sign in with TronRental in the browser and choose what the agent may do; there is no key to copy.

    claude mcp add --transport http tronrental https://mcp.tronrental.com/mcp
  • A terminal, a script or CI: the CLI.

    npm install -g @tronrental-com/cli
    tronrental login
    tronrental quote --amount 65000
  • An agent client that speaks only stdio: the bridge, with an API key.

    claude mcp add tronrental -e TRONRENTAL_API_KEY=your_key -- npx -y @tronrental-com/mcp-server@2.0.0

Related MCP server: mcp-server-tronlink

Development

npm ci
npm run typecheck
npm run build
npm test

Node 20 or newer. Every pull request runs the same steps in CI.

Publishing

A version on npm can never be published again, so publish only from a fresh clone of main:

git clone https://github.com/tronrentalcom/tronrental-com-mcp.git && cd tronrental-com-mcp
# or, in an existing clone: git checkout main && git pull
npm ci

Look at each tarball before uploading it:

npm pack --dry-run --workspace packages/mcp-server
npm pack --dry-run --workspace packages/cli

In the output check:

  • name and version — the package and the version you mean to publish (@tronrental-com/mcp-server 2.x, @tronrental-com/cli 1.x);

  • the file list — README.md, package.json and dist/*.js only; the bin is there (dist/index.js for the bridge, dist/main.js for the CLI); no src/, no *.test.js, no .env;

  • total files — 6 for the bridge, 9 for the CLI as of 2.0.0 / 1.0.0; a much smaller number means an empty or stale dist.

Then publish:

npm publish --workspace packages/mcp-server --access public
npm publish --workspace packages/cli --access public

npm publish first runs the guard scripts/prepublish.mjs (prepublishOnly), and stops before uploading if any check fails:

  • the checkout is a clean main equal to origin/main;

  • dist is deleted and built again, and the tests pass;

  • the built CLI's --version and the bridge's serverInfo.version equal version in package.json, and server.json names the same version;

  • the tarball holds the bin files and no compiled tests.

After the bridge is on npm, publish server.json to the MCP Registry with mcp-publisher publish.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to check TRON energy prices, estimate the energy a USDT transfer needs, and rent energy for a receiver under a configurable spending cap, without ever handling wallet keys. It also exposes address resource lookups, held quotes, and order status so agents can watch a delegation land on chain.
      11
      12 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to create, look up, list, and cancel crypto invoices, manage reusable payment links, check USDT and TRX rates, and simulate test payments through a secure API.
      7
      MIT