🌐MCP

MCP Server

tron-save-mcp-server is a production-oriented MCP 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's mission is to provide one MCP interface for platform and internal TronSave operations — authentication, account data, order lifecycle, pricing/estimation, and delegate extension workflows.

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.

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

Last updated