@gala-chain/launchpad-mcp-server 4.0.22-beta.5 → 4.0.23
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.
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# MCP Coverage Audit Report
|
|
2
|
+
|
|
3
|
+
**Audit Date:** 2025-12-09
|
|
4
|
+
**SDK Version:** 4.0.22-beta.5
|
|
5
|
+
**MCP Tools:** 132
|
|
6
|
+
**Prompts:** 103
|
|
7
|
+
**explainSdkUsage Topics:** 36
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
| Category | Total | Covered | Excluded | Missing | Coverage |
|
|
12
|
+
|----------|-------|---------|----------|---------|----------|
|
|
13
|
+
| SDK → MCP Tools | 116 | 114 | 2 | 0 | 98% |
|
|
14
|
+
| MCP Tools → Prompts | 132 | 103+ | 0 | ~29 | 78% |
|
|
15
|
+
| explainSdkUsage | 116 | 100+ | 12 | ~4 | 95% |
|
|
16
|
+
|
|
17
|
+
## SDK Methods → MCP Tools Coverage
|
|
18
|
+
|
|
19
|
+
**116 SDK public async methods, 132 MCP tools**
|
|
20
|
+
|
|
21
|
+
The MCP server provides MORE tools than SDK methods because it includes:
|
|
22
|
+
- Utility tools (getConfig, getVersion, getEnvironment, switchEnvironment)
|
|
23
|
+
- Wallet management (hasWallet, getWallet, setWallet, createWallet, createSolanaWallet)
|
|
24
|
+
- Key derivation (getPublicKeyFromPrivateKey, getEthereumAddressFromPrivateKey)
|
|
25
|
+
- Cache management (getCacheInfo, clearCache)
|
|
26
|
+
- explainSdkUsage (documentation tool)
|
|
27
|
+
- Event watchers (onDexPoolCreation, onLaunchpadTokenCreation)
|
|
28
|
+
|
|
29
|
+
### Excluded Methods (Intentional - Not Appropriate for MCP)
|
|
30
|
+
|
|
31
|
+
| Method | Reason |
|
|
32
|
+
|--------|--------|
|
|
33
|
+
| `fetchAvailableBalance` | Duplicate of fetchGalaBalance |
|
|
34
|
+
| `fetchTokenClassesWithSupply` | Internal GalaChain method |
|
|
35
|
+
|
|
36
|
+
### Name Mapping Differences
|
|
37
|
+
|
|
38
|
+
| SDK Method | MCP Tool |
|
|
39
|
+
|------------|----------|
|
|
40
|
+
| `buy()` | `gala_launchpad_buy_tokens` |
|
|
41
|
+
| `sell()` | `gala_launchpad_sell_tokens` |
|
|
42
|
+
| `isTokenNameAvailable()` | `gala_launchpad_check_token_name` |
|
|
43
|
+
| `isTokenSymbolAvailable()` | `gala_launchpad_check_token_symbol` |
|
|
44
|
+
| `fetchGalaPrice()` | `gala_launchpad_fetch_gala_spot_price` |
|
|
45
|
+
| `fetchTokenPrice()` | `gala_launchpad_fetch_token_spot_price` |
|
|
46
|
+
| `fetchLockedBalance()` | `gala_launchpad_fetch_locked_tokens` |
|
|
47
|
+
| `getSwapLiquidityPosition()` | `gala_launchpad_get_liquidity_position` |
|
|
48
|
+
| `getSwapLiquidityPositionById()` | `gala_launchpad_get_liquidity_position_by_id` |
|
|
49
|
+
| `getSwapUserLiquidityPositions()` | `gala_launchpad_get_user_liquidity_positions` |
|
|
50
|
+
| `getAllSwapUserLiquidityPositions()` | `gala_launchpad_get_all_user_liquidity_positions` |
|
|
51
|
+
| `getSwapEstimateRemoveLiquidity()` | `gala_launchpad_estimate_remove_liquidity` |
|
|
52
|
+
| `collectSwapPositionFees()` | `gala_launchpad_collect_position_fees` |
|
|
53
|
+
| `removeSwapLiquidity()` | `gala_launchpad_remove_liquidity` |
|
|
54
|
+
| `addSwapLiquidityByPrice()` | `gala_launchpad_add_liquidity_by_price` |
|
|
55
|
+
| `addSwapLiquidityByTicks()` | `gala_launchpad_add_liquidity_by_ticks` |
|
|
56
|
+
|
|
57
|
+
## MCP Tools → Prompt Coverage
|
|
58
|
+
|
|
59
|
+
**103 prompts covering workflow scenarios**
|
|
60
|
+
|
|
61
|
+
Prompts are workflow-based, not 1:1 with tools. Each prompt covers a use case that may involve multiple tools.
|
|
62
|
+
|
|
63
|
+
### Tools Without Direct Prompt (Expected)
|
|
64
|
+
|
|
65
|
+
Utility tools don't need workflow prompts - they're self-documenting:
|
|
66
|
+
- `gala_launchpad_get_config`
|
|
67
|
+
- `gala_launchpad_get_version`
|
|
68
|
+
- `gala_launchpad_get_cache_info`
|
|
69
|
+
- `gala_launchpad_clear_cache`
|
|
70
|
+
- `gala_launchpad_cleanup`
|
|
71
|
+
- `gala_launchpad_explain_sdk_usage`
|
|
72
|
+
|
|
73
|
+
Bridge/wrap detail tools covered by main workflow prompts:
|
|
74
|
+
- Individual balance query tools (covered by portfolio/bridge prompts)
|
|
75
|
+
- Individual bridgeable token checks (covered by bridge-tokens prompt)
|
|
76
|
+
- Individual wrappable token checks (covered by wrap-related prompts)
|
|
77
|
+
|
|
78
|
+
## explainSdkUsage Topic Coverage
|
|
79
|
+
|
|
80
|
+
**36 topics covering SDK method documentation**
|
|
81
|
+
|
|
82
|
+
### Topics
|
|
83
|
+
|
|
84
|
+
1. buy-tokens
|
|
85
|
+
2. sell-tokens
|
|
86
|
+
3. pool-graduation
|
|
87
|
+
4. fetch-pools
|
|
88
|
+
5. balances
|
|
89
|
+
6. token-creation
|
|
90
|
+
7. token-details
|
|
91
|
+
8. token-distribution
|
|
92
|
+
9. token-status
|
|
93
|
+
10. multi-wallet
|
|
94
|
+
11. transfers
|
|
95
|
+
12. locks
|
|
96
|
+
13. dex-trading
|
|
97
|
+
14. error-handling
|
|
98
|
+
15. installation
|
|
99
|
+
16. local-calculations
|
|
100
|
+
17. price-history
|
|
101
|
+
18. spot-prices-smart-routing
|
|
102
|
+
19. profile-management
|
|
103
|
+
20. liquidity-positions
|
|
104
|
+
21. advanced-dex-analysis
|
|
105
|
+
22. trading-analytics
|
|
106
|
+
23. utilities-and-helpers
|
|
107
|
+
24. utilities-system
|
|
108
|
+
25. fetch-all-dex-seasons
|
|
109
|
+
26. fetch-current-dex-season
|
|
110
|
+
27. fetch-dex-leaderboard-by-season-id
|
|
111
|
+
28. fetch-dex-aggregated-volume-summary
|
|
112
|
+
29. fetch-dex-pools
|
|
113
|
+
30. event-subscriptions
|
|
114
|
+
31. mcp-to-sdk-mapping
|
|
115
|
+
32. bridge-operations
|
|
116
|
+
33. dex-token-discovery
|
|
117
|
+
34. wrap-unwrap-operations
|
|
118
|
+
35. referral-system
|
|
119
|
+
36. account-management
|
|
120
|
+
|
|
121
|
+
## Slash Command Sync Results
|
|
122
|
+
|
|
123
|
+
| File | Field | Old | New | Status |
|
|
124
|
+
|------|-------|-----|-----|--------|
|
|
125
|
+
| test-mcp-tools.md | Total tools | 128 | 132 | UPDATED |
|
|
126
|
+
| test-mcp-tools.md | balance | 7 | 12 | UPDATED |
|
|
127
|
+
| test-mcp-tools.md | locks | 4 | 3 | UPDATED |
|
|
128
|
+
| test-mcp-tools.md | bridge | 11 | 31 | UPDATED |
|
|
129
|
+
| scour-docs.md | Tool count | 128 | 132 | UPDATED |
|
|
130
|
+
| scour-docs.md | Topics | 33 | 36 | UPDATED |
|
|
131
|
+
|
|
132
|
+
## Tool Categories Summary
|
|
133
|
+
|
|
134
|
+
| Category | Count | Description |
|
|
135
|
+
|----------|-------|-------------|
|
|
136
|
+
| utilities | 19 | config, version, wallet, cache, environment, key derivation |
|
|
137
|
+
| pools | 19 | fetch pools, details, prices, watchers |
|
|
138
|
+
| balance | 12 | GALA balance, token balance, profile, locked tokens, referrals, registerAccount |
|
|
139
|
+
| trading | 13 | buy/sell, calculations, graduation |
|
|
140
|
+
| dex | 29 | swaps, quotes, liquidity, leaderboard, token discovery |
|
|
141
|
+
| creation | 4 | launch token, upload images |
|
|
142
|
+
| transfers | 2 | GALA/token transfers |
|
|
143
|
+
| locks | 3 | lock/unlock/burn tokens |
|
|
144
|
+
| bridge | 31 | cross-chain bridging, wrap/unwrap, bridgeable tokens |
|
|
145
|
+
| **Total** | **132** | |
|
|
146
|
+
|
|
147
|
+
## Recommendations
|
|
148
|
+
|
|
149
|
+
### No Action Required
|
|
150
|
+
- SDK → MCP coverage is excellent (98%+)
|
|
151
|
+
- All critical SDK methods have MCP tool equivalents
|
|
152
|
+
- explainSdkUsage has comprehensive topic coverage
|
|
153
|
+
|
|
154
|
+
### Future Improvements (Low Priority)
|
|
155
|
+
1. Add prompts for new referral tools:
|
|
156
|
+
- `galachain-launchpad:referrals` - View referral stats
|
|
157
|
+
- `galachain-launchpad:register` - Register account for trading
|
|
158
|
+
|
|
159
|
+
2. Consider consolidating similar balance prompts into comprehensive portfolio workflows
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
**Generated:** 2025-12-09T$(date +%H:%M:%S)
|
|
164
|
+
**Tool:** /scour-mcp audit
|
package/MCP_TEST_ANALYSIS.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# MCP Tool Test Analysis
|
|
2
2
|
|
|
3
|
-
**Last Updated:** 2025-12-09 (v4.0.22-beta.
|
|
4
|
-
**Total Tools:**
|
|
3
|
+
**Last Updated:** 2025-12-09 (v4.0.22-beta.5)
|
|
4
|
+
**Total Tools:** 132
|
|
5
5
|
**Environment:** STAGE
|
|
6
|
-
**SDK Version:** 4.0.22-beta.
|
|
7
|
-
**MCP Version:** 4.0.22-beta.
|
|
6
|
+
**SDK Version:** 4.0.22-beta.5
|
|
7
|
+
**MCP Version:** 4.0.22-beta.5
|
|
8
8
|
|
|
9
9
|
## Summary
|
|
10
10
|
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
|----------|-------|------|------|------|-----------------|
|
|
13
13
|
| utilities | 19 | 19 | 0 | 0 | 0 |
|
|
14
14
|
| pools | 19 | 19 | 0 | 0 | 0 |
|
|
15
|
-
| balance |
|
|
15
|
+
| balance | 12 | 12 | 0 | 0 | 0 |
|
|
16
16
|
| trading | 13 | 12 | 0 | 1 | 0 |
|
|
17
17
|
| dex | 29 | 29 | 0 | 0 | 0 |
|
|
18
18
|
| creation | 4 | 4 | 0 | 0 | 0 |
|
|
19
19
|
| transfers | 2 | 2 | 0 | 0 | 0 |
|
|
20
20
|
| locks | 3 | 3 | 0 | 0 | 0 |
|
|
21
21
|
| bridge | 31 | 30 | 0 | 0 | 1 |
|
|
22
|
-
| **TOTAL** | **
|
|
22
|
+
| **TOTAL** | **132** | **130** | **0** | **1** | **1** |
|
|
23
23
|
|
|
24
|
-
**Coverage: 100%** (
|
|
25
|
-
**Pass Rate: 100%** (
|
|
24
|
+
**Coverage: 100%** (132/132 tools accounted for)
|
|
25
|
+
**Pass Rate: 100%** (130/130 testable tools passed)
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
---
|
|
79
79
|
|
|
80
|
-
## BALANCE (
|
|
80
|
+
## BALANCE (12 tools) - 12 PASS
|
|
81
81
|
|
|
82
82
|
| Tool | Status | Notes |
|
|
83
83
|
|------|--------|-------|
|
|
@@ -88,7 +88,11 @@
|
|
|
88
88
|
| `gala_launchpad_fetch_tokens_created` | PASS | Returns tokens created by address |
|
|
89
89
|
| `gala_launchpad_fetch_profile` | PASS | Returns user profile data |
|
|
90
90
|
| `gala_launchpad_update_profile` | PASS | Write operation - updates profile data |
|
|
91
|
-
| `gala_launchpad_fetch_referral_url` | PASS | Returns user's referral URL |
|
|
91
|
+
| `gala_launchpad_fetch_referral_url` | PASS | Returns user's unique referral URL |
|
|
92
|
+
| `gala_launchpad_fetch_referrals` | PASS | Returns paginated list of referred users |
|
|
93
|
+
| `gala_launchpad_fetch_all_referrals` | PASS | Returns all referrals with auto-pagination |
|
|
94
|
+
| `gala_launchpad_fetch_referrals_summary` | PASS | Returns referral count and reward totals (day/month/total) |
|
|
95
|
+
| `gala_launchpad_register_account` | PASS | Registers wallet for trading, returns { exists, walletAlias } |
|
|
92
96
|
|
|
93
97
|
---
|
|
94
98
|
|
|
@@ -249,6 +253,7 @@ DEX pool operations require full token class key format: `GALA|Unit|none|none` (
|
|
|
249
253
|
|
|
250
254
|
| Version | Date | Changes |
|
|
251
255
|
|---------|------|---------|
|
|
256
|
+
| v4.0.22-beta.5 | 2025-12-09 | Added 4 tools: `register_account`, `fetch_referrals`, `fetch_all_referrals`, `fetch_referrals_summary` (132 tools) |
|
|
252
257
|
| v4.0.22-beta.2 | 2025-12-09 | `get_config` returns `gasFee: "1"` |
|
|
253
258
|
| v4.0.22-beta.1 | 2025-12-09 | Batch lock/unlock + burn_tokens (128 tools) |
|
|
254
259
|
| v4.0.20-beta.2 | 2025-12-09 | `bridge_in` from Solana fixed with retry logic |
|
|
@@ -264,6 +269,13 @@ DEX pool operations require full token class key format: `GALA|Unit|none|none` (
|
|
|
264
269
|
|
|
265
270
|
## Recent Test Highlights
|
|
266
271
|
|
|
272
|
+
### v4.0.22-beta.5 (2025-12-09)
|
|
273
|
+
- ✅ `register_account` - registers wallet, returns `{ exists: true, walletAlias: "eth|..." }`
|
|
274
|
+
- ✅ `fetch_referral_url` - returns unique referral URL for sharing
|
|
275
|
+
- ✅ `fetch_referrals` - paginated list of referred users (empty for test wallet)
|
|
276
|
+
- ✅ `fetch_all_referrals` - auto-paginated version
|
|
277
|
+
- ✅ `fetch_referrals_summary` - returns `{ referralCount, rewardTotals: { pastDay, pastMonth, total } }`
|
|
278
|
+
|
|
267
279
|
### v4.0.22-beta.2 (2025-12-09)
|
|
268
280
|
- ✅ `get_config` now returns `gasFee: "1"` (fixed 1 GALA gas fee)
|
|
269
281
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/generated/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/generated/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,kBAAkB,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/generated/version.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/generated/version.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,kBAAkB,GAAG,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.23",
|
|
4
4
|
"description": "MCP server for Gala Launchpad - 128 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks/burns, locked token queries, composite pool data, cross-chain bridging, wrap/unwrap, key derivation) supporting optional wallet (read-only and full-access modes). Production-grade AI agent integration for Claude Desktop with comprehensive validation and 80%+ test coverage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@gala-chain/api": "^2.4.3",
|
|
75
75
|
"@gala-chain/connect": "^2.4.3",
|
|
76
|
-
"@gala-chain/launchpad-sdk": "4.0.
|
|
76
|
+
"@gala-chain/launchpad-sdk": "^4.0.23",
|
|
77
77
|
"@humanwhocodes/config-array": "^0.13.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
79
79
|
"axios": "^1.12.2",
|