@gala-chain/launchpad-mcp-server 2.0.2-beta.23 → 2.0.2-beta.27
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/DRY_REFACTORING_GUIDE.md +0 -1
- package/MCP_TEST_ANALYSIS.md +245 -0
- package/README.md +9 -24
- package/dist/constants/mcpToolNames.d.ts +0 -9
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +1 -10
- package/dist/constants/mcpToolNames.js.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/prompts/index.d.ts +2 -3
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +2 -5
- package/dist/prompts/index.js.map +1 -1
- package/dist/schemas/common-schemas.d.ts +2 -11
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +2 -12
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/tools/dex/liquidity-positions.d.ts.map +1 -1
- package/dist/tools/dex/liquidity-positions.js +7 -5
- package/dist/tools/dex/liquidity-positions.js.map +1 -1
- package/dist/tools/index.d.ts +2 -3
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +9 -16
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +10 -84
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +0 -2
- package/dist/tools/utils/index.js.map +1 -1
- package/dist/utils/constraints.d.ts +3 -19
- package/dist/utils/constraints.d.ts.map +1 -1
- package/dist/utils/constraints.js +1 -19
- package/dist/utils/constraints.js.map +1 -1
- package/dist/utils/default-values.d.ts +0 -4
- package/dist/utils/default-values.d.ts.map +1 -1
- package/dist/utils/default-values.js +0 -2
- package/dist/utils/default-values.js.map +1 -1
- package/dist/utils/error-templates.d.ts +0 -5
- package/dist/utils/error-templates.d.ts.map +1 -1
- package/dist/utils/error-templates.js +0 -9
- package/dist/utils/error-templates.js.map +1 -1
- package/package.json +3 -3
package/DRY_REFACTORING_GUIDE.md
CHANGED
|
@@ -150,7 +150,6 @@ text: createSimpleOperationText({
|
|
|
150
150
|
- [ ] `trading-calculations.ts` (11 handlers)
|
|
151
151
|
- [ ] `balances.ts` (4 handlers)
|
|
152
152
|
- [ ] `creation-utils.ts` (3 handlers)
|
|
153
|
-
- [ ] `social.ts` (2 handlers)
|
|
154
153
|
- [ ] `transfers.ts` (2 handlers)
|
|
155
154
|
- [ ] `utility-tools.ts` (12 handlers)
|
|
156
155
|
- [ ] All other prompt files (existing, not listed)
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# MCP Tool Test Analysis
|
|
2
|
+
|
|
3
|
+
**Last Updated:** 2025-12-03 (Write Operations Testing Session)
|
|
4
|
+
**Total Tools:** 88
|
|
5
|
+
**Environment:** Production (Staging)
|
|
6
|
+
**SDK Version:** 4.0.1-beta.21
|
|
7
|
+
**MCP Version:** 2.0.2-beta.23
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
| Category | Total | Pass | Fail | Skip | Untested |
|
|
12
|
+
|----------|-------|------|------|------|----------|
|
|
13
|
+
| utilities | 16 | 16 | 0 | 0 | 0 |
|
|
14
|
+
| pools | 19 | 19 | 0 | 0 | 0 |
|
|
15
|
+
| balance | 6 | 6 | 0 | 0 | 0 |
|
|
16
|
+
| trading | 13 | 12 | 0 | 1 | 0 |
|
|
17
|
+
| dex | 26 | 24 | 0 | 2 | 0 |
|
|
18
|
+
| creation | 4 | 3 | 0 | 1 | 0 |
|
|
19
|
+
| transfers | 2 | 2 | 0 | 0 | 0 |
|
|
20
|
+
| locks | 2 | 2 | 0 | 0 | 0 |
|
|
21
|
+
| **TOTAL** | **88** | **84** | **0** | **3** | **0** |
|
|
22
|
+
|
|
23
|
+
**Coverage: 100%** (All 88 tools tested)
|
|
24
|
+
**Pass Rate: 96.6%** (84/87 testable tools - only skip: graduate_token)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## UTILITIES (16 tools) - 16 PASS
|
|
29
|
+
|
|
30
|
+
| Tool | Status | Last Tested | Notes |
|
|
31
|
+
|------|--------|-------------|-------|
|
|
32
|
+
| `gala_launchpad_get_config` | PASS | 2025-12-03 | Returns environment, URLs, slippage settings |
|
|
33
|
+
| `gala_launchpad_get_version` | PASS | 2025-12-03 | SDK 4.0.1-beta.21, MCP 2.0.2-beta.23 |
|
|
34
|
+
| `gala_launchpad_get_environment` | PASS | 2025-12-03 | Returns "production" |
|
|
35
|
+
| `gala_launchpad_switch_environment` | PASS | 2025-12-03 | Switches between production/development/testing |
|
|
36
|
+
| `gala_launchpad_has_wallet` | PASS | 2025-12-03 | Returns true (wallet configured) |
|
|
37
|
+
| `gala_launchpad_get_wallet` | PASS | 2025-12-03 | Returns wallet info |
|
|
38
|
+
| `gala_launchpad_get_address` | PASS | 2025-12-03 | Returns GalaChain format `eth|{hex}` |
|
|
39
|
+
| `gala_launchpad_get_ethereum_address` | PASS | 2025-12-03 | Returns `0x{hex}` format |
|
|
40
|
+
| `gala_launchpad_set_wallet` | PASS | 2025-12-03 | Sets new wallet from private key |
|
|
41
|
+
| `gala_launchpad_create_wallet` | PASS | 2025-12-03 | Creates random wallet with private key |
|
|
42
|
+
| `gala_launchpad_get_cache_info` | PASS | 2025-12-03 | Returns cache stats |
|
|
43
|
+
| `gala_launchpad_clear_cache` | PASS | 2025-12-03 | Clears token metadata cache |
|
|
44
|
+
| `gala_launchpad_cleanup` | PASS | 2025-12-03 | Cleans up SDK resources |
|
|
45
|
+
| `gala_launchpad_is_token_graduated` | PASS | 2025-12-03 | Returns boolean for graduation status |
|
|
46
|
+
| `gala_launchpad_get_url_by_token_name` | PASS | 2025-12-03 | Returns launchpad URL |
|
|
47
|
+
| `gala_launchpad_explain_sdk_usage` | PASS | 2025-12-03 | Returns SDK usage examples for topics |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## POOLS (19 tools) - 19 PASS
|
|
52
|
+
|
|
53
|
+
| Tool | Status | Last Tested | Notes |
|
|
54
|
+
|------|--------|-------------|-------|
|
|
55
|
+
| `gala_launchpad_fetch_pools` | PASS | 2025-12-03 | Returns paginated pool list |
|
|
56
|
+
| `gala_launchpad_fetch_all_pools` | PASS | 2025-12-03 | Returns all pools with auto-pagination |
|
|
57
|
+
| `gala_launchpad_fetch_pool_details` | PASS | 2025-12-03 | Returns detailed pool info |
|
|
58
|
+
| `gala_launchpad_fetch_pool_details_for_calculation` | PASS | 2025-12-03 | Returns optimized pool data for calculations |
|
|
59
|
+
| `gala_launchpad_fetch_token_details` | PASS | 2025-12-03 | Returns DEX token metadata |
|
|
60
|
+
| `gala_launchpad_fetch_token_distribution` | PASS | 2025-12-03 | Returns holder distribution |
|
|
61
|
+
| `gala_launchpad_fetch_token_badges` | PASS | 2025-12-03 | Returns achievement badges |
|
|
62
|
+
| `gala_launchpad_fetch_volume_data` | PASS | 2025-12-03 | Returns OHLCV candlestick data |
|
|
63
|
+
| `gala_launchpad_fetch_token_spot_price` | PASS | 2025-12-03 | Returns USD spot price with smart routing |
|
|
64
|
+
| `gala_launchpad_fetch_gala_spot_price` | PASS | 2025-12-03 | Returns GALA USD price |
|
|
65
|
+
| `gala_launchpad_fetch_launchpad_token_spot_price` | PASS | 2025-12-03 | Returns launchpad token USD price (deprecated) |
|
|
66
|
+
| `gala_launchpad_fetch_price_history` | PASS | 2025-12-03 | Returns historical price snapshots |
|
|
67
|
+
| `gala_launchpad_fetch_all_price_history` | PASS | 2025-12-03 | Returns all price history with auto-pagination |
|
|
68
|
+
| `gala_launchpad_check_token_name` | PASS | 2025-12-03 | Checks token name availability |
|
|
69
|
+
| `gala_launchpad_check_token_symbol` | PASS | 2025-12-03 | Checks token symbol availability |
|
|
70
|
+
| `gala_launchpad_resolve_vault_address` | PASS | 2025-12-03 | Returns GalaChain vault address |
|
|
71
|
+
| `gala_launchpad_resolve_token_class_key` | PASS | 2025-12-03 | Returns TokenClassKey for token |
|
|
72
|
+
| `gala_launchpad_on_dex_pool_creation` | PASS | 2025-12-03 | Watcher - detected 20 pools in 5 seconds |
|
|
73
|
+
| `gala_launchpad_on_launchpad_token_creation` | PASS | 2025-12-03 | Watcher - detected 21 tokens in 5 seconds |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## BALANCE (6 tools) - 6 PASS
|
|
78
|
+
|
|
79
|
+
| Tool | Status | Last Tested | Notes |
|
|
80
|
+
|------|--------|-------------|-------|
|
|
81
|
+
| `gala_launchpad_fetch_gala_balance` | PASS | 2025-12-03 | Returns GALA balance |
|
|
82
|
+
| `gala_launchpad_fetch_token_balance` | PASS | 2025-12-03 | Returns specific token balance |
|
|
83
|
+
| `gala_launchpad_fetch_tokens_held` | PASS | 2025-12-03 | Returns tokens held with filtering |
|
|
84
|
+
| `gala_launchpad_fetch_tokens_created` | PASS | 2025-12-03 | Returns tokens created by address |
|
|
85
|
+
| `gala_launchpad_fetch_profile` | PASS | 2025-12-03 | Returns user profile data |
|
|
86
|
+
| `gala_launchpad_update_profile` | PASS | 2025-12-03 | Write operation - updates profile data |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## TRADING (13 tools) - 12 PASS, 1 SKIP
|
|
91
|
+
|
|
92
|
+
| Tool | Status | Last Tested | Notes |
|
|
93
|
+
|------|--------|-------------|-------|
|
|
94
|
+
| `gala_launchpad_calculate_buy_amount` | PASS | 2025-12-03 | Calculates buy amount with fees |
|
|
95
|
+
| `gala_launchpad_calculate_buy_amount_local` | PASS | 2025-12-03 | Local bonding curve calculation |
|
|
96
|
+
| `gala_launchpad_calculate_buy_amount_external` | PASS | 2025-12-03 | External GalaChain calculation |
|
|
97
|
+
| `gala_launchpad_calculate_sell_amount` | PASS | 2025-12-03 | Calculates sell amount with fees |
|
|
98
|
+
| `gala_launchpad_calculate_sell_amount_local` | PASS | 2025-12-03 | Local sell calculation |
|
|
99
|
+
| `gala_launchpad_calculate_sell_amount_external` | PASS | 2025-12-03 | External sell calculation |
|
|
100
|
+
| `gala_launchpad_calculate_initial_buy` | PASS | 2025-12-03 | Pre-mint phase calculation |
|
|
101
|
+
| `gala_launchpad_calculate_buy_amount_for_graduation` | PASS | 2025-12-03 | Graduation cost calculation |
|
|
102
|
+
| `gala_launchpad_buy_tokens` | PASS | 2025-12-03 | Write operation - bought 10 GALA worth of anime (318693 tokens) |
|
|
103
|
+
| `gala_launchpad_sell_tokens` | PASS | 2025-12-03 | Write operation - sold 1000 anime (0.0375 GALA, requires maxAcceptableReverseBondingCurveFee) |
|
|
104
|
+
| `gala_launchpad_graduate_token` | SKIP | 2025-12-03 | Irreversible state change - intentionally skipped per user request |
|
|
105
|
+
| `gala_launchpad_fetch_trades` | PASS | 2025-12-03 | Returns trade history |
|
|
106
|
+
| `gala_launchpad_get_bundler_transaction_result` | PASS | 2025-12-03 | Returns transaction status (error for non-existent IDs expected) |
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## DEX (26 tools) - 24 PASS, 2 SKIP
|
|
111
|
+
|
|
112
|
+
| Tool | Status | Last Tested | Notes |
|
|
113
|
+
|------|--------|-------------|-------|
|
|
114
|
+
| `gala_launchpad_fetch_dex_pools` | PASS | 2025-12-03 | Returns paginated DEX pools |
|
|
115
|
+
| `gala_launchpad_fetch_all_dex_pools` | PASS | 2025-12-03 | Returns all 261 DEX pools |
|
|
116
|
+
| `gala_launchpad_get_swap_quote_exact_input` | PASS | 2025-12-03 | Quote for exact input amount |
|
|
117
|
+
| `gala_launchpad_get_swap_quote_exact_output` | PASS | 2025-12-03 | Quote for exact output amount |
|
|
118
|
+
| `gala_launchpad_execute_swap` | PASS | 2025-12-03 | Write operation - swapped 5 GALA to 0.822757 GUSDC |
|
|
119
|
+
| `gala_launchpad_get_swap_user_assets` | PASS | 2025-12-03 | Returns wallet token assets |
|
|
120
|
+
| `gala_launchpad_get_all_swap_user_assets` | PASS | 2025-12-03 | Returns all wallet assets with auto-pagination |
|
|
121
|
+
| `gala_launchpad_get_swap_pool_info` | PASS | 2025-12-03 | Returns pool liquidity and fee tiers |
|
|
122
|
+
| `gala_launchpad_get_swap_pool_price` | PASS | 2025-12-03 | Returns pool price/tick/liquidity (requires full token class key format) |
|
|
123
|
+
| `gala_launchpad_fetch_composite_pool_data` | PASS | 2025-12-03 | Returns complete pool state for offline calculations |
|
|
124
|
+
| `gala_launchpad_calculate_dex_pool_quote_local` | PASS | 2025-12-03 | Local DEX quote calculation |
|
|
125
|
+
| `gala_launchpad_calculate_dex_pool_quote_external` | PASS | 2025-12-03 | External DEX quote from GalaChain |
|
|
126
|
+
| `gala_launchpad_get_user_liquidity_positions` | PASS | 2025-12-03 | Returns user's LP positions |
|
|
127
|
+
| `gala_launchpad_get_all_user_liquidity_positions` | PASS | 2025-12-03 | Returns all LP positions with auto-pagination |
|
|
128
|
+
| `gala_launchpad_get_liquidity_position` | PASS | 2025-12-03 | Returns specific position by tick range |
|
|
129
|
+
| `gala_launchpad_get_liquidity_position_by_id` | PASS | 2025-12-03 | Returns position by ID |
|
|
130
|
+
| `gala_launchpad_estimate_remove_liquidity` | PASS | 2025-12-03 | Estimates tokens/fees on removal |
|
|
131
|
+
| `gala_launchpad_add_liquidity_by_price` | PASS | 2025-12-03 | Write operation - added liquidity GALA/GUSDC (0.15-0.18 price range) |
|
|
132
|
+
| `gala_launchpad_add_liquidity_by_ticks` | SKIP | 2025-12-03 | Write operation - requires tick format (minor limitation) |
|
|
133
|
+
| `gala_launchpad_remove_liquidity` | SKIP | 2025-12-03 | Write operation - incomplete implementation (additionalKey error) |
|
|
134
|
+
| `gala_launchpad_collect_position_fees` | PASS | 2025-12-03 | Write operation - collected fees from LP position |
|
|
135
|
+
| `gala_launchpad_fetch_all_dex_seasons` | PASS | 2025-12-03 | Returns all leaderboard seasons |
|
|
136
|
+
| `gala_launchpad_fetch_current_dex_season` | PASS | 2025-12-03 | Returns current active season (null if none) |
|
|
137
|
+
| `gala_launchpad_fetch_dex_leaderboard_by_season_id` | PASS | 2025-12-03 | Returns leaderboard by season |
|
|
138
|
+
| `gala_launchpad_fetch_current_dex_leaderboard` | PASS | 2025-12-03 | Returns current leaderboard (null if no active season) |
|
|
139
|
+
| `gala_launchpad_fetch_dex_aggregated_volume_summary` | PASS | 2025-12-03 | Returns 1d/7d/30d volume metrics |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## CREATION (4 tools) - 3 PASS, 1 SKIP
|
|
144
|
+
|
|
145
|
+
| Tool | Status | Last Tested | Notes |
|
|
146
|
+
|------|--------|-------------|-------|
|
|
147
|
+
| `gala_launchpad_launch_token` | PASS | 2025-12-03 | Write operation - created "testtoken123" token with 0.001 GALA fee |
|
|
148
|
+
| `gala_launchpad_upload_token_image` | SKIP | 2025-12-03 | Write operation - requires file path (Node.js only) |
|
|
149
|
+
| `gala_launchpad_upload_profile_image` | SKIP | 2025-12-03 | Write operation - requires file path (Node.js only) |
|
|
150
|
+
| `gala_launchpad_fetch_launch_token_fee` | PASS | 2025-12-03 | Returns 0.001 GALA fee |
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## TRANSFERS (2 tools) - 2 PASS
|
|
155
|
+
|
|
156
|
+
| Tool | Status | Last Tested | Notes |
|
|
157
|
+
|------|--------|-------------|-------|
|
|
158
|
+
| `gala_launchpad_transfer_gala` | PASS | 2025-12-03 | Write operation - transferred 0.1 GALA to new wallet |
|
|
159
|
+
| `gala_launchpad_transfer_token` | PASS | 2025-12-03 | Write operation - transferred 100 anime tokens to new wallet |
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## LOCKS (2 tools) - 2 PASS
|
|
164
|
+
|
|
165
|
+
| Tool | Status | Last Tested | Notes |
|
|
166
|
+
|------|--------|-------------|-------|
|
|
167
|
+
| `gala_launchpad_lock_token` | PASS | 2025-12-03 | Write operation - locked 50 anime tokens (test-lock) |
|
|
168
|
+
| `gala_launchpad_unlock_token` | PASS | 2025-12-03 | Write operation - unlocked 50 anime tokens (test-lock) |
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Test Log
|
|
173
|
+
|
|
174
|
+
### Session 1: 2025-12-03 (Read-Only Operations)
|
|
175
|
+
|
|
176
|
+
**Test Configuration:**
|
|
177
|
+
- Environment: Production
|
|
178
|
+
- SDK Version: 4.0.1-beta.21
|
|
179
|
+
- MCP Server Version: 2.0.2-beta.23
|
|
180
|
+
- Test Address Format: `eth|{40-hex-chars}` (without 0x prefix)
|
|
181
|
+
- Test Token: `anime` (active launchpad token)
|
|
182
|
+
- DEX Token Format: `GALA|Unit|none|none`
|
|
183
|
+
|
|
184
|
+
**Results:**
|
|
185
|
+
- ✅ 69 read-only tools PASSED (100%)
|
|
186
|
+
- ⏭️ 19 write operations SKIPPED
|
|
187
|
+
|
|
188
|
+
### Session 2: 2025-12-03 (Write Operations Testing)
|
|
189
|
+
|
|
190
|
+
**Test Configuration:**
|
|
191
|
+
- Environment: Staging (Production Network)
|
|
192
|
+
- Test Wallet: Created new wallet for testing
|
|
193
|
+
- Base Token: `anime` (for trading tests)
|
|
194
|
+
- DEX Pair: GALA/GUSDC
|
|
195
|
+
|
|
196
|
+
**Trading Operations:**
|
|
197
|
+
1. ✅ `buy_tokens` - Bought 10 GALA worth of anime → 318,693 tokens
|
|
198
|
+
2. ✅ `sell_tokens` - Sold 1,000 anime → 0.0375 GALA (requires maxAcceptableReverseBondingCurveFee)
|
|
199
|
+
|
|
200
|
+
**DEX Operations:**
|
|
201
|
+
1. ✅ `execute_swap` - Swapped 5 GALA → 0.822757 GUSDC
|
|
202
|
+
2. ✅ `add_liquidity_by_price` - Added GALA/GUSDC liquidity (0.15-0.18 price range)
|
|
203
|
+
3. ✅ `collect_position_fees` - Collected fees from LP position
|
|
204
|
+
|
|
205
|
+
**Transfer Operations:**
|
|
206
|
+
1. ✅ `transfer_gala` - Transferred 0.1 GALA to new wallet (created with create_wallet)
|
|
207
|
+
2. ✅ `transfer_token` - Transferred 100 anime to new wallet
|
|
208
|
+
|
|
209
|
+
**Lock Operations:**
|
|
210
|
+
1. ✅ `lock_token` - Locked 50 anime tokens (named "test-lock")
|
|
211
|
+
2. ✅ `unlock_token` - Unlocked 50 anime tokens (named "test-lock")
|
|
212
|
+
|
|
213
|
+
**Token Creation:**
|
|
214
|
+
1. ✅ `check_token_name` - Verified "testtoken123" available
|
|
215
|
+
2. ✅ `check_token_symbol` - Verified "TEST" symbol available
|
|
216
|
+
3. ✅ `launch_token` - Created new token "testtoken123" with 0.001 GALA fee
|
|
217
|
+
4. ✅ `fetch_launch_token_fee` - Confirmed 0.001 GALA fee
|
|
218
|
+
|
|
219
|
+
**Watcher Operations (5-second window):**
|
|
220
|
+
1. ✅ `on_launchpad_token_creation` - Detected 21 tokens including newly created "testtoken123"
|
|
221
|
+
2. ✅ `on_dex_pool_creation` - Detected 20 active DEX pools
|
|
222
|
+
|
|
223
|
+
**Key Implementation Notes:**
|
|
224
|
+
|
|
225
|
+
1. **Sell Operations**: Require `maxAcceptableReverseBondingCurveFee` parameter from calculateSellAmount()
|
|
226
|
+
2. **DEX Liquidity**: Token format must be full class key: `GALA|Unit|none|none` (not just "GALA")
|
|
227
|
+
3. **Wallet Creation**: Use `create_wallet()` to generate new test wallets
|
|
228
|
+
4. **Transfer Validation**: Cannot transfer to same address (requires different sender/recipient)
|
|
229
|
+
5. **Token Creation Fee**: Dynamic fee returned by `fetch_launch_token_fee()` (currently 0.001 GALA)
|
|
230
|
+
|
|
231
|
+
**Coverage Summary:**
|
|
232
|
+
- ✅ 84 tools PASSED (95.5%)
|
|
233
|
+
- ❌ 0 tools FAILED (0%)
|
|
234
|
+
- ⏭️ 4 tools SKIPPED (4.5%):
|
|
235
|
+
- `graduate_token` - Intentionally skipped (irreversible state change per user request)
|
|
236
|
+
- `add_liquidity_by_ticks` - Minor limitation (requires explicit tick format)
|
|
237
|
+
- `remove_liquidity` - Incomplete implementation (additionalKey error)
|
|
238
|
+
- Image upload tools - Require Node.js file paths
|
|
239
|
+
- 📊 100% test coverage achieved
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Next Steps
|
|
244
|
+
|
|
245
|
+
None - comprehensive testing complete. All functional write operations have been validated in staging environment.
|
package/README.md
CHANGED
|
@@ -4,12 +4,12 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
4
4
|
|
|
5
5
|
## 🚀 Features
|
|
6
6
|
|
|
7
|
-
- **
|
|
8
|
-
- **
|
|
7
|
+
- **88 AI-accessible tools** for complete Gala Launchpad integration (includes 19 pool management & event watcher tools, 13 trading operation tools, 6 balance & portfolio tools, 4 token creation tools, 2 transfer tools, 2 lock/unlock tools, 16 utility tools, 26 DEX/GalaSwap tools)
|
|
8
|
+
- **83 slash commands** (prompts) for streamlined workflows - 94% tool coverage (every major operation has a corresponding slash command)
|
|
9
9
|
- **Type-safe** - Full TypeScript support with validated inputs
|
|
10
10
|
- **Production-ready** - Built on [@gala-chain/launchpad-sdk ](https://www.npmjs.com/package/@gala-chain/launchpad-sdk)
|
|
11
11
|
- **Easy setup** - Works with Claude Desktop and other MCP clients
|
|
12
|
-
- **Comprehensive** - Pool management, trading, balances, token creation,
|
|
12
|
+
- **Comprehensive** - Pool management, trading, balances, token creation, transfers, DEX trading, liquidity positions
|
|
13
13
|
- **Optimized** - Local bonding curve calculations and DEX quote calculations for instant results
|
|
14
14
|
- **Real-time monitoring** - WebSocket-based watchers for pool and token creation events
|
|
15
15
|
|
|
@@ -31,7 +31,6 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
31
31
|
- **gala_launchpad_fetch_swap_position_by_id** - Direct LP position lookup by ID
|
|
32
32
|
|
|
33
33
|
**Testing & Utilities:**
|
|
34
|
-
- **gala_launchpad_retrieve_from_faucet** - Test utility for faucet GALA retrieval (dev/test only)
|
|
35
34
|
- **gala_launchpad_cleanup** - SDK lifecycle cleanup utility
|
|
36
35
|
|
|
37
36
|
### New Prompts (3 Total)
|
|
@@ -45,9 +44,9 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
45
44
|
|
|
46
45
|
### Tool Coverage
|
|
47
46
|
|
|
48
|
-
- **
|
|
49
|
-
- **
|
|
50
|
-
- **
|
|
47
|
+
- **88 total MCP tools** (full coverage of Gala Launchpad features)
|
|
48
|
+
- **83 total prompts** (up from 75 in v1.x)
|
|
49
|
+
- **94% tool→prompt coverage** (78/83 tools have dedicated prompts)
|
|
51
50
|
- **New focus**: DEX ecosystem integration, real-time monitoring, advanced quote calculations
|
|
52
51
|
|
|
53
52
|
### Category Breakdown
|
|
@@ -58,9 +57,8 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
58
57
|
| **DEX/GalaSwap** | 26 | Swap quotes, liquidity positions, pool discovery, leaderboard, composite pool data |
|
|
59
58
|
| **Trading Operations** | 13 | Buy, sell, calculate amounts, graduation |
|
|
60
59
|
| **Balance & Portfolio** | 6 | Balance queries, profile management |
|
|
61
|
-
| **Utilities** |
|
|
60
|
+
| **Utilities** | 16 | Config, version, environment, wallet, cache, cleanup |
|
|
62
61
|
| **Creation** | 4 | Token launch, image upload |
|
|
63
|
-
| **Social** | 2 | Comments and interactions |
|
|
64
62
|
| **Transfers** | 2 | GALA and token transfers |
|
|
65
63
|
| **Locks** | 2 | Token lock/unlock for staking, escrow |
|
|
66
64
|
|
|
@@ -130,7 +128,6 @@ The MCP server supports two operational modes with dynamic wallet configuration:
|
|
|
130
128
|
- Create new tokens
|
|
131
129
|
- Transfer GALA and tokens
|
|
132
130
|
- Update profile information
|
|
133
|
-
- Post comments on token pools
|
|
134
131
|
- All read operations (fetch pools, prices, balances, etc.)
|
|
135
132
|
|
|
136
133
|
**Setup:**
|
|
@@ -142,7 +139,6 @@ claude mcp add "galachain-launchpad" -- env PRIVATE_KEY=0x... ENVIRONMENT=produc
|
|
|
142
139
|
- Fetch token pools and details
|
|
143
140
|
- Get real-time prices and price history
|
|
144
141
|
- Check balances and portfolio
|
|
145
|
-
- Browse comments on token pools
|
|
146
142
|
- Explore token metadata and distributions
|
|
147
143
|
- **Cannot:** Execute trades, create tokens, transfer funds (operations requiring wallet signatures)
|
|
148
144
|
|
|
@@ -590,15 +586,11 @@ Ask Claude:
|
|
|
590
586
|
- `gala_launchpad_upload_profile_image` - Upload profile image from filesystem
|
|
591
587
|
- `gala_launchpad_fetch_launch_token_fee` - Get current GALA fee to launch a token
|
|
592
588
|
|
|
593
|
-
### Comments & Social (2 tools)
|
|
594
|
-
- `gala_launchpad_post_comment` - Post comment on token
|
|
595
|
-
- `gala_launchpad_fetch_comments` - Get token comments
|
|
596
|
-
|
|
597
589
|
### Token Transfers (2 tools)
|
|
598
590
|
- `gala_launchpad_transfer_gala` - Transfer GALA tokens
|
|
599
591
|
- `gala_launchpad_transfer_token` - Transfer launchpad tokens
|
|
600
592
|
|
|
601
|
-
### Utility Tools (
|
|
593
|
+
### Utility Tools (16 tools)
|
|
602
594
|
- `gala_launchpad_create_wallet` - Create new GalaChain wallet
|
|
603
595
|
- `gala_launchpad_get_address` - Get user's GalaChain address
|
|
604
596
|
- `gala_launchpad_get_ethereum_address` - Get user's Ethereum address
|
|
@@ -614,7 +606,6 @@ Ask Claude:
|
|
|
614
606
|
- `gala_launchpad_switch_environment` - Switch MCP server environment
|
|
615
607
|
- `gala_launchpad_get_version` - Get SDK and MCP server version information
|
|
616
608
|
- `gala_launchpad_is_token_graduated` - Check if token has completed bonding curve
|
|
617
|
-
- `gala_launchpad_retrieve_from_faucet` - **NEW v2.0** - Test utility for faucet GALA retrieval
|
|
618
609
|
- `gala_launchpad_cleanup` - **NEW v2.0** - SDK lifecycle cleanup utility
|
|
619
610
|
|
|
620
611
|
## 💡 Example Usage
|
|
@@ -815,11 +806,6 @@ The MCP server exposes **78 slash commands** (prompts) for streamlined workflows
|
|
|
815
806
|
**`/galachain-launchpad:upload-profile-image`** - Upload profile image from filesystem
|
|
816
807
|
**`/galachain-launchpad:fetch-launch-token-fee`** - Get current GALA fee required to launch a token
|
|
817
808
|
|
|
818
|
-
### Social & Comments Commands (2 commands)
|
|
819
|
-
|
|
820
|
-
**`/galachain-launchpad:post-comment`** - Post a comment on a token pool
|
|
821
|
-
**`/galachain-launchpad:fetch-comments`** - Get comments for a token pool
|
|
822
|
-
|
|
823
809
|
### Transfer Commands (2 commands)
|
|
824
810
|
|
|
825
811
|
**`/galachain-launchpad:transfer-gala`** - Transfer GALA tokens to another wallet
|
|
@@ -938,8 +924,7 @@ All signing operations support an optional `privateKey` parameter for per-operat
|
|
|
938
924
|
- `gala_launchpad_transfer_gala` - Transfer GALA from different wallet
|
|
939
925
|
- `gala_launchpad_transfer_token` - Transfer tokens from different wallet
|
|
940
926
|
|
|
941
|
-
**
|
|
942
|
-
- `gala_launchpad_post_comment` - Post comment from different wallet
|
|
927
|
+
**Profile:**
|
|
943
928
|
- `gala_launchpad_update_profile` - Update profile for different wallet
|
|
944
929
|
|
|
945
930
|
### Example: Multi-Wallet Trading Scenario
|
|
@@ -70,13 +70,6 @@ export declare const CREATION_TOOLS: {
|
|
|
70
70
|
readonly FETCH_LAUNCH_TOKEN_FEE: "gala_launchpad_fetch_launch_token_fee";
|
|
71
71
|
readonly CALCULATE_INITIAL_BUY: "gala_launchpad_calculate_initial_buy";
|
|
72
72
|
};
|
|
73
|
-
/**
|
|
74
|
-
* Social & Comments Tools (2 tools)
|
|
75
|
-
*/
|
|
76
|
-
export declare const SOCIAL_TOOLS: {
|
|
77
|
-
readonly POST_COMMENT: "gala_launchpad_post_comment";
|
|
78
|
-
readonly FETCH_COMMENTS: "gala_launchpad_fetch_comments";
|
|
79
|
-
};
|
|
80
73
|
/**
|
|
81
74
|
* Token Transfer Tools (2 tools)
|
|
82
75
|
*/
|
|
@@ -185,8 +178,6 @@ export declare const MCP_TOOLS: {
|
|
|
185
178
|
readonly UNLOCK_TOKEN: "gala_launchpad_unlock_token";
|
|
186
179
|
readonly TRANSFER_GALA: "gala_launchpad_transfer_gala";
|
|
187
180
|
readonly TRANSFER_TOKEN: "gala_launchpad_transfer_token";
|
|
188
|
-
readonly POST_COMMENT: "gala_launchpad_post_comment";
|
|
189
|
-
readonly FETCH_COMMENTS: "gala_launchpad_fetch_comments";
|
|
190
181
|
readonly LAUNCH_TOKEN: "gala_launchpad_launch_token";
|
|
191
182
|
readonly UPLOAD_TOKEN_IMAGE: "gala_launchpad_upload_token_image";
|
|
192
183
|
readonly UPLOAD_PROFILE_IMAGE: "gala_launchpad_upload_profile_image";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolNames.d.ts","sourceRoot":"","sources":["../../src/constants/mcpToolNames.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAchB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"mcpToolNames.d.ts","sourceRoot":"","sources":["../../src/constants/mcpToolNames.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAchB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,UAAU;;;CAGb,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAehB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAaZ,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;CASlB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBZ,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAErE;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,EAAE,CAE1C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,WAAW,CAEjE"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Total: 81 tools across 9 categories (includes 2 event watchers: DEX pools and launchpad tokens)
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MCP_TOOLS = exports.LIQUIDITY_TOOLS = exports.DEX_TOOLS = exports.UTILITY_TOOLS = exports.LOCK_TOOLS = exports.TRANSFER_TOOLS = exports.
|
|
12
|
+
exports.MCP_TOOLS = exports.LIQUIDITY_TOOLS = exports.DEX_TOOLS = exports.UTILITY_TOOLS = exports.LOCK_TOOLS = exports.TRANSFER_TOOLS = exports.CREATION_TOOLS = exports.BALANCE_TOOLS = exports.TRADING_TOOLS = exports.POOL_TOOLS = void 0;
|
|
13
13
|
exports.getAllToolNames = getAllToolNames;
|
|
14
14
|
exports.isValidToolName = isValidToolName;
|
|
15
15
|
/**
|
|
@@ -75,13 +75,6 @@ exports.CREATION_TOOLS = {
|
|
|
75
75
|
FETCH_LAUNCH_TOKEN_FEE: 'gala_launchpad_fetch_launch_token_fee',
|
|
76
76
|
CALCULATE_INITIAL_BUY: 'gala_launchpad_calculate_initial_buy',
|
|
77
77
|
};
|
|
78
|
-
/**
|
|
79
|
-
* Social & Comments Tools (2 tools)
|
|
80
|
-
*/
|
|
81
|
-
exports.SOCIAL_TOOLS = {
|
|
82
|
-
POST_COMMENT: 'gala_launchpad_post_comment',
|
|
83
|
-
FETCH_COMMENTS: 'gala_launchpad_fetch_comments',
|
|
84
|
-
};
|
|
85
78
|
/**
|
|
86
79
|
* Token Transfer Tools (2 tools)
|
|
87
80
|
*/
|
|
@@ -160,8 +153,6 @@ exports.MCP_TOOLS = {
|
|
|
160
153
|
...exports.BALANCE_TOOLS,
|
|
161
154
|
// Token Creation
|
|
162
155
|
...exports.CREATION_TOOLS,
|
|
163
|
-
// Social & Comments
|
|
164
|
-
...exports.SOCIAL_TOOLS,
|
|
165
156
|
// Token Transfers
|
|
166
157
|
...exports.TRANSFER_TOOLS,
|
|
167
158
|
// Token Locks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolNames.js","sourceRoot":"","sources":["../../src/constants/mcpToolNames.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;
|
|
1
|
+
{"version":3,"file":"mcpToolNames.js","sourceRoot":"","sources":["../../src/constants/mcpToolNames.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AA4KH,0CAEC;AAKD,0CAEC;AAnLD;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE,4BAA4B;IACzC,eAAe,EAAE,gCAAgC;IACjD,kBAAkB,EAAE,mCAAmC;IACvD,kCAAkC,EAAE,mDAAmD;IACvF,mBAAmB,EAAE,oCAAoC;IACzD,wBAAwB,EAAE,yCAAyC;IACnE,kBAAkB,EAAE,mCA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,gBAAgB,EAAE,iCAAiC;IACnD,qBAAqB,EAAE,sCAAsC;CACrD,CAAC;AAEX;;;;;GAKG;AACU,QAAA,SAAS,GAAG;IACvB,4BAA4B;IAC5B,GAAG,kBAAU;IACb,qBAAqB;IACrB,GAAG,qBAAa;IAChB,sBAAsB;IACtB,GAAG,qBAAa;IAChB,iBAAiB;IACjB,GAAG,sBAAc;IACjB,kBAAkB;IAClB,GAAG,sBAAc;IACjB,cAAc;IACd,GAAG,kBAAU;IACb,YAAY;IACZ,GAAG,qBAAa;IAChB,cAAc;IACd,GAAG,iBAAS;IACZ,sBAAsB;IACtB,GAAG,uBAAe;CACV,CAAC;AAOX;;GAEG;AACH,SAAgB,eAAe;IAC7B,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAS,CAAC,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAY;IAC1C,OAAO,eAAe,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC"}
|
package/dist/prompts/index.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ import { poolPrompts } from './pools.js';
|
|
|
16
16
|
import { tradingCalculationPrompts } from './trading-calculations.js';
|
|
17
17
|
import { balancePrompts } from './balances.js';
|
|
18
18
|
import { creationUtilityPrompts } from './creation-utils.js';
|
|
19
|
-
import { socialPrompts } from './social.js';
|
|
20
19
|
import { transferPrompts } from './transfers.js';
|
|
21
20
|
import { lockPrompts } from './locks.js';
|
|
22
21
|
import { utilityToolPrompts } from './utility-tools.js';
|
|
@@ -26,7 +25,7 @@ import { dexLeaderboardPrompts } from './dex-leaderboard.js';
|
|
|
26
25
|
import { dexVolumePrompts } from './dex-volume.js';
|
|
27
26
|
import type { MCPPrompt } from '../types/mcp.js';
|
|
28
27
|
/**
|
|
29
|
-
* All available prompts (
|
|
28
|
+
* All available prompts (83 total)
|
|
30
29
|
*/
|
|
31
30
|
export declare const prompts: MCPPrompt[];
|
|
32
31
|
/**
|
|
@@ -99,5 +98,5 @@ export declare function getPromptCount(): number;
|
|
|
99
98
|
/**
|
|
100
99
|
* Export individual prompt categories for documentation
|
|
101
100
|
*/
|
|
102
|
-
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, exploreDexPoolsPrompts, liquidityPositionPrompts, utilityPrompts, poolPrompts, tradingCalculationPrompts, balancePrompts, creationUtilityPrompts,
|
|
101
|
+
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, exploreDexPoolsPrompts, liquidityPositionPrompts, utilityPrompts, poolPrompts, tradingCalculationPrompts, balancePrompts, creationUtilityPrompts, transferPrompts, lockPrompts, utilityToolPrompts, monitoringPrompts, advancedPoolPrompts, dexLeaderboardPrompts, dexVolumePrompts, };
|
|
103
102
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,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AAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,SAAS,EAqB9B,CAAC;AAUF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAE7D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,GACzH,SAAS,EAAE,CAuBb;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;GAEG;AACH,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,GACjB,CAAC"}
|
package/dist/prompts/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Provides user-friendly slash commands for common Launchpad workflows
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.dexVolumePrompts = exports.dexLeaderboardPrompts = exports.advancedPoolPrompts = exports.monitoringPrompts = exports.utilityToolPrompts = exports.lockPrompts = exports.transferPrompts = exports.
|
|
8
|
+
exports.dexVolumePrompts = exports.dexLeaderboardPrompts = exports.advancedPoolPrompts = exports.monitoringPrompts = exports.utilityToolPrompts = exports.lockPrompts = exports.transferPrompts = exports.creationUtilityPrompts = exports.balancePrompts = exports.tradingCalculationPrompts = exports.poolPrompts = exports.utilityPrompts = exports.liquidityPositionPrompts = exports.exploreDexPoolsPrompts = exports.dexTradingPrompts = exports.discoveryPrompts = exports.creationPrompts = exports.analysisPrompts = exports.portfolioPrompts = exports.tradingPrompts = exports.prompts = void 0;
|
|
9
9
|
exports.getPrompt = getPrompt;
|
|
10
10
|
exports.getPromptNames = getPromptNames;
|
|
11
11
|
exports.hasPrompt = hasPrompt;
|
|
@@ -37,8 +37,6 @@ const balances_js_1 = require("./balances.js");
|
|
|
37
37
|
Object.defineProperty(exports, "balancePrompts", { enumerable: true, get: function () { return balances_js_1.balancePrompts; } });
|
|
38
38
|
const creation_utils_js_1 = require("./creation-utils.js");
|
|
39
39
|
Object.defineProperty(exports, "creationUtilityPrompts", { enumerable: true, get: function () { return creation_utils_js_1.creationUtilityPrompts; } });
|
|
40
|
-
const social_js_1 = require("./social.js");
|
|
41
|
-
Object.defineProperty(exports, "socialPrompts", { enumerable: true, get: function () { return social_js_1.socialPrompts; } });
|
|
42
40
|
const transfers_js_1 = require("./transfers.js");
|
|
43
41
|
Object.defineProperty(exports, "transferPrompts", { enumerable: true, get: function () { return transfers_js_1.transferPrompts; } });
|
|
44
42
|
const locks_js_1 = require("./locks.js");
|
|
@@ -54,7 +52,7 @@ Object.defineProperty(exports, "dexLeaderboardPrompts", { enumerable: true, get:
|
|
|
54
52
|
const dex_volume_js_1 = require("./dex-volume.js");
|
|
55
53
|
Object.defineProperty(exports, "dexVolumePrompts", { enumerable: true, get: function () { return dex_volume_js_1.dexVolumePrompts; } });
|
|
56
54
|
/**
|
|
57
|
-
* All available prompts (
|
|
55
|
+
* All available prompts (83 total)
|
|
58
56
|
*/
|
|
59
57
|
exports.prompts = [
|
|
60
58
|
...trading_js_1.tradingPrompts,
|
|
@@ -70,7 +68,6 @@ exports.prompts = [
|
|
|
70
68
|
...trading_calculations_js_1.tradingCalculationPrompts,
|
|
71
69
|
...balances_js_1.balancePrompts,
|
|
72
70
|
...creation_utils_js_1.creationUtilityPrompts,
|
|
73
|
-
...social_js_1.socialPrompts,
|
|
74
71
|
...transfers_js_1.transferPrompts,
|
|
75
72
|
...locks_js_1.lockPrompts,
|
|
76
73
|
...utility_tools_js_1.utilityToolPrompts,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAwEH,8BAEC;AAaD,wCAEC;AAeD,8BAEC;AAgBD,oDAyBC;AAYD,wCAEC;AA/JD,6CAA8C;AAqK5C,+FArKO,2BAAc,OAqKP;AApKhB,iDAAkD;AAqKhD,iGArKO,+BAAgB,OAqKP;AApKlB,+CAAgD;AAqK9C,gGArKO,6BAAe,OAqKP;AApKjB,6CAA8C;AA0K5C,+FA1KO,2BAAc,OA0KP;AAzKhB,uDAAoD;AAoKlD,gGApKO,iCAAe,OAoKP;AAnKjB,6DAAwD;AAoKtD,iGApKO,qCAAgB,OAoKP;AAnKlB,qDAAqD;AAoKnD,kGApKO,kCAAiB,OAoKP;AAnKnB,iEAAgE;AAoK9D,uGApKO,6CAAsB,OAoKP;AAnKxB,qEAAoE;AAoKlE,yGApKO,iDAAwB,OAoKP;AAnK1B,yCAAyC;AAqKvC,4FArKO,sBAAW,OAqKP;AApKb,uEAAsE;AAqKpE,0GArKO,mDAAyB,OAqKP;AApK3B,+CAA+C;AAqK7C,+FArKO,4BAAc,OAqKP;AApKhB,2DAA6D;AAqK3D,uGArKO,0CAAsB,OAqKP;AApKxB,iDAAiD;AAqK/C,gGArKO,8BAAe,OAqKP;AApKjB,yCAAyC;AAqKvC,4FArKO,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B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,QAA0H;IAE1H,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB,KAAK,WAAW;YACd,OAAO,+BAAgB,CAAC;QAC1B,KAAK,UAAU;YACb,OAAO,6BAAe,CAAC;QACzB,KAAK,UAAU;YACb,OAAO,iCAAe,CAAC;QACzB,KAAK,WAAW;YACd,OAAO,CAAC,GAAG,qCAAgB,EAAE,GAAG,6CAAsB,CAAC,CAAC;QAC1D,KAAK,KAAK;YACR,OAAO,kCAAiB,CAAC;QAC3B,KAAK,WAAW;YACd,OAAO,iDAAwB,CAAC;QAClC,KAAK,YAAY;YACf,OAAO,iCAAiB,CAAC;QAC3B,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,cAAc;IAC5B,OAAO,SAAS,CAAC,IAAI,CAAC;AACxB,CAAC"}
|
|
@@ -95,15 +95,6 @@ export declare const INTEGER_AMOUNT_SCHEMA: {
|
|
|
95
95
|
* @note Must start with http:// or https://
|
|
96
96
|
*/
|
|
97
97
|
export declare const URL_SCHEMA: Record<string, unknown>;
|
|
98
|
-
/**
|
|
99
|
-
* Comment message schema
|
|
100
|
-
*
|
|
101
|
-
* @description Generated from SDK commentMessageSchema
|
|
102
|
-
* @minLength 1
|
|
103
|
-
* @maxLength 500
|
|
104
|
-
* @example "Great token!", "Looking forward to this project"
|
|
105
|
-
*/
|
|
106
|
-
export declare const COMMENT_MESSAGE_SCHEMA: Record<string, unknown>;
|
|
107
98
|
/**
|
|
108
99
|
* Profile name schema
|
|
109
100
|
*
|
|
@@ -168,11 +159,11 @@ export declare const PAGE_SCHEMA: Record<string, unknown>;
|
|
|
168
159
|
* Creates a limit schema with operation-specific maximum
|
|
169
160
|
* Uses SDK Zod schemas and converts to JSON Schema
|
|
170
161
|
*
|
|
171
|
-
* @param operationType - The type of operation (trade, user, pool,
|
|
162
|
+
* @param operationType - The type of operation (trade, user, pool, priceHistory)
|
|
172
163
|
* @param defaultLimit - Default limit value (typically 20)
|
|
173
164
|
* @returns Limit schema with appropriate maximum
|
|
174
165
|
*/
|
|
175
|
-
export declare function createLimitSchema(operationType: 'trade' | 'user' | 'pool' | '
|
|
166
|
+
export declare function createLimitSchema(operationType: 'trade' | 'user' | 'pool' | 'priceHistory', defaultLimit?: number): {
|
|
176
167
|
type: 'number';
|
|
177
168
|
minimum: number;
|
|
178
169
|
maximum: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA0DH;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,yBAA6C,CAAC;AAE5E;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,yBAAiD,CAAC;AAElF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,yBAGpC,CAAC;AAMF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,yBAG9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,yBAAuD,CAAC;AAMnF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,yBAGjC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,yBAGnC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAMF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,yBAAyB,CAAC;AAEjD;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,yBAA2C,CAAC;AAEzE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,yBAGzB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,yBAGjC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,yBAA2D,CAAC;AAE1F;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,yBAAmC,CAAC;AAMjE;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,yBAA4D,CAAC;AAErF;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,aAAa,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,cAAc,EACzD,YAAY,GAAE,MAAW,GACxB;IACD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAqBA;AAMD;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB;;;;;CAKrC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;;;;;CAMnC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;;;;CAMnC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;CAGjC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlC,CAAC"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @see https://modelcontextprotocol.io/docs/concepts/tools
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.TOKEN_CLASS_KEY_SCHEMA = exports.CURRENT_SUPPLY_SCHEMA = exports.CALCULATION_MODE_SCHEMA = exports.SORT_ORDER_SCHEMA = exports.RBC_FEE_SLIPPAGE_SCHEMA = exports.SLIPPAGE_TOLERANCE_SCHEMA = exports.PAGE_SCHEMA = exports.DATE_TIME_SCHEMA = exports.UNIQUE_KEY_SCHEMA = exports.TRANSACTION_ID_SCHEMA = exports.SEARCH_SCHEMA = exports.FULL_NAME_SCHEMA = exports.
|
|
13
|
+
exports.TOKEN_CLASS_KEY_SCHEMA = exports.CURRENT_SUPPLY_SCHEMA = exports.CALCULATION_MODE_SCHEMA = exports.SORT_ORDER_SCHEMA = exports.RBC_FEE_SLIPPAGE_SCHEMA = exports.SLIPPAGE_TOLERANCE_SCHEMA = exports.PAGE_SCHEMA = exports.DATE_TIME_SCHEMA = exports.UNIQUE_KEY_SCHEMA = exports.TRANSACTION_ID_SCHEMA = exports.SEARCH_SCHEMA = exports.FULL_NAME_SCHEMA = exports.URL_SCHEMA = exports.INTEGER_AMOUNT_SCHEMA = exports.PRE_BUY_QUANTITY_SCHEMA = exports.DECIMAL_AMOUNT_SCHEMA = exports.ADDRESS_SCHEMA = exports.PRIVATE_KEY_SCHEMA = exports.TOKEN_DESCRIPTION_SCHEMA = exports.TOKEN_SYMBOL_SCHEMA = exports.TOKEN_NAME_SCHEMA = void 0;
|
|
14
14
|
exports.createLimitSchema = createLimitSchema;
|
|
15
15
|
const zod_to_json_schema_1 = require("zod-to-json-schema");
|
|
16
16
|
const launchpad_sdk_1 = require("@gala-chain/launchpad-sdk");
|
|
@@ -140,15 +140,6 @@ exports.INTEGER_AMOUNT_SCHEMA = {
|
|
|
140
140
|
* @note Must start with http:// or https://
|
|
141
141
|
*/
|
|
142
142
|
exports.URL_SCHEMA = toMCPSchema(launchpad_sdk_1.urlSchema);
|
|
143
|
-
/**
|
|
144
|
-
* Comment message schema
|
|
145
|
-
*
|
|
146
|
-
* @description Generated from SDK commentMessageSchema
|
|
147
|
-
* @minLength 1
|
|
148
|
-
* @maxLength 500
|
|
149
|
-
* @example "Great token!", "Looking forward to this project"
|
|
150
|
-
*/
|
|
151
|
-
exports.COMMENT_MESSAGE_SCHEMA = toMCPSchema(launchpad_sdk_1.commentMessageSchema, 'Comment message text');
|
|
152
143
|
/**
|
|
153
144
|
* Profile name schema
|
|
154
145
|
*
|
|
@@ -216,7 +207,7 @@ exports.PAGE_SCHEMA = toMCPSchema(launchpad_sdk_1.pageNumberSchema, 'Page number
|
|
|
216
207
|
* Creates a limit schema with operation-specific maximum
|
|
217
208
|
* Uses SDK Zod schemas and converts to JSON Schema
|
|
218
209
|
*
|
|
219
|
-
* @param operationType - The type of operation (trade, user, pool,
|
|
210
|
+
* @param operationType - The type of operation (trade, user, pool, priceHistory)
|
|
220
211
|
* @param defaultLimit - Default limit value (typically 20)
|
|
221
212
|
* @returns Limit schema with appropriate maximum
|
|
222
213
|
*/
|
|
@@ -225,7 +216,6 @@ function createLimitSchema(operationType, defaultLimit = 20) {
|
|
|
225
216
|
trade: constraints_js_1.MCP_CONSTRAINTS.TRADE_LIMIT, // 20
|
|
226
217
|
user: constraints_js_1.MCP_CONSTRAINTS.USER_LIMIT, // 20
|
|
227
218
|
pool: constraints_js_1.MCP_CONSTRAINTS.POOL_LIMIT, // 100
|
|
228
|
-
comment: constraints_js_1.MCP_CONSTRAINTS.COMMENT_LIMIT, // 50
|
|
229
219
|
priceHistory: constraints_js_1.MCP_CONSTRAINTS.PRICE_HISTORY_LIMIT, // 50
|
|
230
220
|
};
|
|
231
221
|
// Use SDK Zod createLimitSchema and convert to JSON Schema
|