@ton/mcp 0.1.15-alpha.3 → 0.1.15-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -321,7 +321,7 @@ Import an existing agentic wallet into the local TON config registry, recovering
321
321
  - `name` (optional): Wallet display name
322
322
 
323
323
  #### `agentic_start_root_wallet_setup` (registry mode only)
324
- Start first-root-agent setup: generate operator keys, persist a pending draft, and return a dashboard URL for the user to create the wallet from their main wallet.
324
+ Start first-root-agent setup: generate operator keys, persist a pending draft, and return a dashboard URL for the user to create the wallet from their main wallet. Agents with local shell/browser access should open the dashboard URL for the user. Callback-based completion is for long-lived stdio/HTTP server sessions; raw CLI should use manual completion.
325
325
 
326
326
  **Parameters:**
327
327
  - `network` (optional): Network for the new root wallet
package/dist/cli.d.ts CHANGED
@@ -5,5 +5,33 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- export {};
8
+ /**
9
+ * TON MCP CLI - Command-line MCP server for TON wallet management
10
+ *
11
+ * This CLI runs a Model Context Protocol server that provides
12
+ * TON wallet management tools for use with Claude Desktop or other MCP clients.
13
+ *
14
+ * Usage:
15
+ * npx @ton/mcp@alpha # stdio mode (default)
16
+ * npx @ton/mcp@alpha --http # HTTP server on 0.0.0.0:3000
17
+ * npx @ton/mcp@alpha --http 8080 # HTTP server on custom port
18
+ * npx @ton/mcp@alpha --http --host 127.0.0.1 # HTTP server on custom host
19
+ * npx @ton/mcp@alpha get_balance # raw CLI: call tool and exit
20
+ * npx @ton/mcp@alpha get_transactions --limit 5
21
+ * npx @ton/mcp@alpha get_jetton_balance --jettonAddress EQAbc...
22
+ *
23
+ * Environment variables:
24
+ * NETWORK - Network to use (mainnet or testnet, default: mainnet)
25
+ * MNEMONIC - 24-word mnemonic phrase for wallet
26
+ * PRIVATE_KEY - Hex-encoded private key (alternative to MNEMONIC)
27
+ * WALLET_VERSION - Wallet version (v5r1, v4r2, or agentic; default: v5r1)
28
+ * AGENTIC_WALLET_ADDRESS - Agentic wallet address (required for WALLET_VERSION=agentic unless derived from init params)
29
+ * AGENTIC_WALLET_NFT_INDEX - walletNftIndex / subwallet id for agentic wallet (uint256, optional)
30
+ * AGENTIC_COLLECTION_ADDRESS - collection address for agentic wallet state init derivation (optional)
31
+ * TONCENTER_API_KEY - API key for Toncenter (optional, for higher rate limits)
32
+ * AGENTIC_CALLBACK_BASE_URL - optional public callback base URL for agentic onboarding
33
+ * AGENTIC_CALLBACK_HOST - host for local callback server in stdio mode (default: 127.0.0.1)
34
+ * AGENTIC_CALLBACK_PORT - port for local callback server in stdio mode (default: random free port)
35
+ */
36
+ import './suppress-punycode-deprecation.js';
9
37
  //# sourceMappingURL=cli.d.ts.map
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,oCAAoC,CAAC"}