MCP Server

The TronSave MCP server — drive TronSave authentication, orders, pricing, and delegate workflows from AI agents over Streamable HTTP.

tron-save-mcp-server is a production-oriented Model Context Protocol server for the TronSave ecosystem. It exposes TronSave business operations as MCP tools over Streamable HTTP transport, with Redis-backed sessions and strong TypeScript + Zod contracts.

Core capabilities:

  • Streamable MCP endpoint at /mcp (POST, GET, DELETE)

  • Dual authentication model (ApiKey and Signature)

  • Session and nonce security with Redis TTL

  • Typed GraphQL and REST integrations

  • Strict input/output schemas for all tools

Mission

TronSave Unified Resource Operations

The server provides one MCP interface for platform and internal TronSave operations — authentication, account data, order lifecycle, pricing/estimation, and delegate extension workflows.

Authentication model

The server supports two credential types:

  • ApiKey — authenticates with your TronSave API key. Required for all Internal Operations tools.

  • Signature — authenticates with a wallet-signed message. Required for some platform tools.

Call tronsave_get_sign_message to obtain a one-time message/nonce, sign it with your wallet, then call tronsave_login to create a server session.

Internal tools always require an API-key session. Some platform tools require a Signature session. Tools marked No under Requires Login can be called immediately after MCP initialization without any login step.

See Authentication for how to obtain an API key and choose between API-key and signed-transaction methods.

Tool categories

Platform authentication & identity

Tool
Requires Login
Description

tronsave_get_sign_message

No

Returns a one-time message/nonce to be signed by wallet for Signature login.

tronsave_login

No

Creates a server session using ApiKey or Signature credentials.

tronsave_user_info_get

Yes

Retrieves profile-level information for the authenticated platform user.

tronsave_user_permissions_get

Yes

Returns granted permissions/scopes for the current platform session.

tronsave_user_auto_setting_get

Yes

Gets current auto-settings related to platform user behavior.

Platform market, orders & resource actions

Tool
Requires Login
Description

tronsave_order_book

No

Returns public buy/sell market depth and current order book data.

tronsave_orders_list

No

Lists platform orders for the current user/session context.

tronsave_order_detail

Yes

Fetches detailed information for one specific platform order.

tronsave_order_create

No

Creates an order using the legacy nested payload shape.

tronsave_order_create_onchain

No

Creates a new order using ONCHAIN payment mode and flat input.

tronsave_order_create_internal

No

Creates a new order using INTERNAL balance and flat input.

tronsave_order_create_pending

No

Creates a pending order that waits for deposit/settlement flow.

tronsave_order_update

No

Updates editable fields of an existing order.

tronsave_order_cancel

No

Cancels an open order when cancellation rules allow it.

tronsave_order_sell_manual

No

Triggers manual sell flow for eligible resource positions/orders.

tronsave_estimate_buy_resource

No

Estimates expected amount/cost before creating a buy order.

tronsave_energy_price_table_get

Yes

Returns pricing table snapshots for Energy/resource market.

tronsave_user_seller_energy_stats_get

Yes

Returns seller-side performance and Energy statistics.

tronsave_extendable_delegates_get

No

Lists delegate entries that can be extended.

Internal operations

Tool
Requires Login
Description

tronsave_internal_account_get

Yes

Gets internal account/balance details for API-key session.

tronsave_get_deposit_address

Yes

Returns deposit address for internal funding workflow.

tronsave_internal_order_history

Yes

Lists internal order history records with filtering support.

tronsave_internal_order_details

Yes

Returns full details for an internal order record.

tronsave_internal_order_estimate

Yes

Calculates estimate for an internal order before submission.

tronsave_internal_order_create

Yes

Creates a new internal order using internal workflow parameters.

tronsave_internal_extend_delegates

Yes

Extends delegate duration/terms in internal workflow.

tronsave_internal_extend_request

Yes

Submits an extension request for internal delegate/order process.

Connecting

The MCP server is hosted at https://mcp.tronsave.io/mcp. The package is published as tron-save-mcp-server.

The endpoint uses Streamable HTTP transport, accepting POST, GET, and DELETE requests. Point any MCP-compatible client (for example, an AI agent runtime) at the host endpoint:

Next steps

Last updated