← All Skills

Cursor

Connect Agent Gateway to Cursor via MCP server.

Setup

1Add MCP server

Open Cursor Settings → MCP Servers, and add:

{
  "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

In Cursor's AI chat, just say "send 1 TON to EQD...abc" and the agent will use the MCP tools.

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

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.