← All Skills

MCP Server

Works with any MCP-compatible client via stdio transport.

Setup

1Configure your MCP client

Add to your MCP client config (the exact file depends on your tool):

{
  "mcpServers": {
    "tongateway": {
      "command": "npx",
      "args": ["-y", "@tongateway/mcp"],
      "env": {
        "AGENT_GATEWAY_API_URL": "https://api.tongateway.ai"
      }
    }
  }
}

No token needed. The agent authenticates automatically — it generates a link, you open it and connect your wallet once.

2Try it

Ask your agent to "send 1 TON to EQD...abc" and it will use the MCP tools. The server communicates via stdio — no HTTP, no ports.

Available Tools

ToolParamsDescription
request_transfer to, amountNano, payload? Queue a TON transfer for owner approval
get_request_status id Check if a request was approved, rejected, or pending
list_pending_requests List all pending transfer requests

Amount reference

TONnanoTON
0.1100000000
0.5500000000
11000000000
1010000000000

Compatible Clients

The MCP server works with any client that supports the Model Context Protocol:

Example

You: Send 0.5 TON to EQD...abc

Agent: I'll request that transfer for you.
       [calls request_transfer with to="EQD...abc", amountNano="500000000"]

       Transfer request created (ID: abc-123).
       Please approve it in your Agent Gateway dashboard.

You: Is it confirmed?

Agent: [calls get_request_status with id="abc-123"]
       Yes, the transfer was confirmed and signed by the wallet.