ton-create-wallet
Create TON Agentic Wallet
Deploy an on-chain agentic wallet on TON. The agent generates operator keys, opens the dashboard when local browser/shell tools are available, and uses callback-based completion only in long-lived stdio/HTTP MCP server sessions.
MCP Tools
| Tool | Description |
|---|---|
agentic_start_root_wallet_setup |
Generate operator keys, create pending setup, return dashboard URL |
agentic_list_pending_root_wallet_setups |
List pending setup drafts and their callback status |
agentic_get_root_wallet_setup |
Read one pending setup by setupId |
agentic_complete_root_wallet_setup |
Finish onboarding from callback or manual wallet address |
agentic_cancel_root_wallet_setup |
Cancel a pending setup |
Tool Parameters
| Tool | Required | Optional |
|---|---|---|
agentic_start_root_wallet_setup |
— | network, name, source, collectionAddress, tonDeposit |
agentic_get_root_wallet_setup |
setupId |
— |
agentic_complete_root_wallet_setup |
setupId |
walletAddress, ownerAddress |
agentic_cancel_root_wallet_setup |
setupId |
— |
Workflow
- Call
agentic_start_root_wallet_setup— this generates an operator key pair and returns asetupId,dashboardUrl, andcallbackUrl - If the environment exposes local browser or shell tools, open
dashboardUrlyourself with the platform opener (open,xdg-open,start) or browser automation; only paste the link to the user if automatic opening is unavailable or fails - Tell the user only to approve wallet deployment from their main TON wallet; do not ask them to retype the URL or copy intermediate data
- In long-lived stdio/HTTP MCP server sessions, poll
agentic_get_root_wallet_setuporagentic_list_pending_root_wallet_setupsand wait forstatus: "callback_received"when callback flow is available; then callagentic_complete_root_wallet_setupwithsetupId; - In raw one-shot CLI usage, skip callback polling and ask for
walletAddressafter the user deploys the wallet; then callagentic_complete_root_wallet_setupwithwalletAddress - Confirm the wallet is active with
get_current_walletorlist_wallets(seeton-manage-walletsskill)
How It Works
- The agent keeps the operator private key — it can sign transactions autonomously
- The user keeps the owner key — they can withdraw funds or revoke access at any time
- The wallet is an on-chain smart contract (NFT-based), not a custodial service
- The dashboard is at
agents.ton.org
Environment Variables
| Variable | Description |
|---|---|
NETWORK |
mainnet (default) or testnet |
AGENTIC_CALLBACK_BASE_URL |
Public URL for the onboarding callback (auto in HTTP mode) |
AGENTIC_CALLBACK_PORT |
Port for the callback server |
Notes
- Callback-driven completion is for long-lived stdio/HTTP MCP server sessions; raw CLI should use manual
walletAddresscompletion - If automatic dashboard opening is supported in the current environment, do it instead of asking the user to open the URL manually
- In raw CLI mode, ask for the wallet address after deployment because the callback server is not available long enough to complete the flow
- After wallet creation, fund the wallet with TON before using transfer or swap skills
More from ton-org/skills
ton-docs
>
24ton-cli
Use this skill when invoking TON MCP tools directly from the command line. It calls any TON wallet tool via `npx @ton/mcp@alpha <tool_name> [--arg value ...]` without starting an MCP server session. Also use when querying wallet info, checking balances, sending transactions, or running raw TON MCP commands from the terminal.
21ton-balance
Use this skill when checking TON wallet balances, token holdings, or transaction history. It retrieves how much TON or jettons a wallet holds, lists tokens, looks up token details, checks transaction history, and verifies transaction status. Also use when the user asks about their funds, portfolio, or recent activity on TON.
20ton-swap
Swap or trade tokens on the TON blockchain via DEX. Use when the user wants to swap, trade, exchange, convert, buy, or sell tokens like TON, USDT, jUSDC, or any jetton. Covers phrases like "swap TON for USDT", "trade tokens", "buy USDT", "exchange jettons".
19ton-send
Use this skill when sending TON or jettons (tokens) to an address or TON DNS domain. It transfers TON, jettons, or other assets to any wallet address, .ton domain, or .t.me domain. Also use when the user wants to pay someone, send funds, transfer tokens, or move assets on the TON blockchain.
19ton-nfts
Use this skill when viewing or transferring NFTs on the TON blockchain. It lists collectibles, checks NFT details, and sends NFTs to other addresses. Also use when the user mentions collectibles, digital assets, NFT collections, or wants to send an NFT to someone on TON.
19