ton-manage-wallets
TON Wallet Management
Manage the local wallet registry and perform advanced agentic wallet operations including import and key rotation.
MCP Tools
Wallet Registry
| Tool | Required | Optional |
|---|---|---|
list_wallets |
— | — |
get_current_wallet |
— | — |
set_active_wallet |
walletSelector |
— |
remove_wallet |
walletSelector |
— |
Agentic Wallet Management
| Tool | Required | Optional |
|---|---|---|
agentic_validate_wallet |
address |
network, ownerAddress, collectionAddress |
agentic_list_wallets_by_owner |
ownerAddress |
network |
agentic_import_wallet |
address |
name |
agentic_rotate_operator_key |
walletSelector |
— |
agentic_complete_rotate_operator_key |
rotationId |
— |
Workflows
Switch Active Wallet
- Call
list_walletsto see all stored wallets - Call
set_active_walletwith awalletSelector(id, name, or address) - Confirm with
get_current_wallet
Import Existing Agentic Wallet
- Call
agentic_validate_walletto verify the wallet address and contract - Call
agentic_import_walletto add it to the registry - If the agent needs to sign transactions and no operator key is available, call
agentic_rotate_operator_keyand thenagentic_complete_rotate_operator_keyafter the user applies the key change on-chain via the dashboard
Rotate Operator Key
- Call
agentic_rotate_operator_key— generates a new key pair and returns a dashboard URL for the user to apply the change on-chain - If local browser or shell tools are available, open the dashboard URL yourself; only send the raw link when automatic opening is unavailable or fails
- Ask the user only to approve the on-chain key change in their wallet; do not require them to re-paste the URL or type a fixed confirmation phrase
- Call
agentic_complete_rotate_operator_keywith therotationId; if the chain state has not updated yet, wait briefly and retry instead of forcing extra user input
Notes
walletSelectoraccepts wallet id, name, or address- For one-off queries, pass
walletSelectordirectly to wallet-scoped tools instead of changing the active wallet - Use available shell/browser tools to open dashboard URLs for the user whenever possible
- For confirmations and small option sets, prefer the host client's structured confirmation/choice UI when available; otherwise use a short natural-language yes/no prompt and never require an exact magic word
- Registry data is stored in
~/.config/ton/config.json(orTON_CONFIG_PATH) - Read tools work with imported agentic wallets that don't yet have an
operator_private_key; write tools require it - Management tool responses never expose private keys, mnemonics, or API keys
- To create a brand new agentic wallet, use the
ton-create-walletskill instead
More from ton-org/skills
ton-docs
>
21ton-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.
18ton-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".
16ton-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.
16ton-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.
16ton-xstocks
Buy or sell Backed xStocks (tokenized equities, e.g. TSLAx) on TON using jetton addresses from the xStocks API and TON MCP swap tools. Use when the user asks for xStocks, xStock, TSLAx, stock tokens on TON, or buying/selling equity jettons via Omniston.
16