@gala-chain/launchpad-mcp-server 4.0.7-beta.1 → 4.0.7-beta.3
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/MCP_TEST_ANALYSIS.md +62 -15
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +3 -3
- package/package.json +2 -2
package/MCP_TEST_ANALYSIS.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# MCP Tool Test Analysis
|
|
2
2
|
|
|
3
|
-
**Last Updated:** 2025-12-04 (Session
|
|
4
|
-
**Total Tools:** 89
|
|
3
|
+
**Last Updated:** 2025-12-04 (Session 10: v4.0.7-beta.1 Token Discovery Release)
|
|
4
|
+
**Total Tools:** 91 (was 89, +2 new token discovery tools)
|
|
5
5
|
**Environment:** Production/Staging
|
|
6
|
-
**SDK Version:** 4.0.
|
|
7
|
-
**MCP Version:** 4.0.
|
|
8
|
-
**
|
|
6
|
+
**SDK Version:** 4.0.7-beta.1 (New Features)
|
|
7
|
+
**MCP Version:** 4.0.7-beta.1 (New Features)
|
|
8
|
+
**Previous Stable:** 4.0.6
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
| pools | 19 | 19 | 0 | 0 | 0 |
|
|
16
16
|
| balance | 7 | 7 | 0 | 0 | 0 |
|
|
17
17
|
| trading | 13 | 12 | 0 | 1 | 0 |
|
|
18
|
-
| dex |
|
|
18
|
+
| dex | 28 | 28 | 0 | 0 | 0 |
|
|
19
19
|
| creation | 4 | 4 | 0 | 0 | 0 |
|
|
20
20
|
| transfers | 2 | 2 | 0 | 0 | 0 |
|
|
21
21
|
| locks | 2 | 2 | 0 | 0 | 0 |
|
|
22
|
-
| **TOTAL** | **
|
|
22
|
+
| **TOTAL** | **91** | **90** | **0** | **1** | **0** |
|
|
23
23
|
|
|
24
|
-
**Coverage: 100%** (
|
|
25
|
-
**Pass Rate: 98.9%** (
|
|
24
|
+
**Coverage: 100%** (91/91 tools tested)
|
|
25
|
+
**Pass Rate: 98.9%** (90/91 - skip: graduate_token only)
|
|
26
|
+
**New in v4.0.7-beta.1:** +2 token discovery tools (fetchAvailableDexTokens, fetchAllAvailableDexTokens)
|
|
26
27
|
|
|
27
28
|
---
|
|
28
29
|
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
|
|
110
111
|
---
|
|
111
112
|
|
|
112
|
-
## DEX (
|
|
113
|
+
## DEX (28 tools) - 28 PASS
|
|
113
114
|
|
|
114
115
|
| Tool | Status | Last Tested | Notes |
|
|
115
116
|
|------|--------|-------------|-------|
|
|
@@ -118,8 +119,10 @@
|
|
|
118
119
|
| `gala_launchpad_get_swap_quote_exact_input` | PASS | 2025-12-03 | Quote for exact input amount |
|
|
119
120
|
| `gala_launchpad_get_swap_quote_exact_output` | PASS | 2025-12-03 | Quote for exact output amount |
|
|
120
121
|
| `gala_launchpad_execute_swap` | PASS | 2025-12-03 | Write operation - swapped 5 GALA to 0.822757 GUSDC |
|
|
121
|
-
| `gala_launchpad_get_swap_user_assets` | PASS | 2025-12-
|
|
122
|
-
| `gala_launchpad_get_all_swap_user_assets` | PASS | 2025-12-
|
|
122
|
+
| `gala_launchpad_get_swap_user_assets` | PASS | 2025-12-04 | Returns wallet token assets with rich metadata (name, description, image, verified) |
|
|
123
|
+
| `gala_launchpad_get_all_swap_user_assets` | PASS | 2025-12-04 | Returns all wallet assets with auto-pagination and rich metadata (optimization: stops at qty=0) |
|
|
124
|
+
| `gala_launchpad_fetch_available_dex_tokens` | PASS | 2025-12-04 | **NEW** - Paginated token discovery (855 tokens, no wallet required) |
|
|
125
|
+
| `gala_launchpad_fetch_all_available_dex_tokens` | PASS | 2025-12-04 | **NEW** - Auto-paginated token discovery (search "GALA" returned 4 matches) |
|
|
123
126
|
| `gala_launchpad_get_swap_pool_info` | PASS | 2025-12-03 | Returns pool liquidity and fee tiers |
|
|
124
127
|
| `gala_launchpad_get_swap_pool_price` | PASS | 2025-12-03 | Returns pool price/tick/liquidity (requires full token class key format) |
|
|
125
128
|
| `gala_launchpad_fetch_composite_pool_data` | PASS | 2025-12-03 | Returns complete pool state for offline calculations |
|
|
@@ -633,12 +636,56 @@ All balance tools verified working.
|
|
|
633
636
|
|
|
634
637
|
---
|
|
635
638
|
|
|
639
|
+
### Session 10: 2025-12-04 (v4.0.7-beta.1 Token Discovery Release)
|
|
640
|
+
|
|
641
|
+
**New Features Tested:**
|
|
642
|
+
- `gala_launchpad_fetch_available_dex_tokens` - NEW paginated token discovery
|
|
643
|
+
- `gala_launchpad_fetch_all_available_dex_tokens` - NEW auto-paginated token discovery
|
|
644
|
+
- Enhanced `gala_launchpad_get_swap_user_assets` with rich metadata (name, description, image, verified)
|
|
645
|
+
- Enhanced `gala_launchpad_get_all_swap_user_assets` with auto-pagination optimization
|
|
646
|
+
|
|
647
|
+
**Test Results:**
|
|
648
|
+
|
|
649
|
+
```
|
|
650
|
+
fetchAvailableDexTokens({ limit: 5 }):
|
|
651
|
+
✅ Fetched paginated tokens
|
|
652
|
+
✅ Total DEX tokens: 855
|
|
653
|
+
✅ First page: 5 tokens
|
|
654
|
+
✅ Has more: true
|
|
655
|
+
✅ Rich metadata: symbol, name, verified, description, image
|
|
656
|
+
|
|
657
|
+
fetchAllAvailableDexTokens({ search: 'GALA' }):
|
|
658
|
+
✅ Auto-paginated token discovery
|
|
659
|
+
✅ Search results: 4 tokens matching "GALA"
|
|
660
|
+
✅ Returned: GALA, GMUSIC + 2 others
|
|
661
|
+
✅ Response time: <1 second
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
**Code Review Improvements Applied:**
|
|
665
|
+
1. ✅ Strict validation in DexBackendClient.fetchTokenList() - rejects invalid tokens
|
|
666
|
+
2. ✅ Wallet address format validation - supports eth|, client|, 0x formats
|
|
667
|
+
3. ✅ Maximum page limits - auto-pagination capped at 20 pages
|
|
668
|
+
4. ✅ Transformation helpers - extracted DRY logic to private methods
|
|
669
|
+
|
|
670
|
+
**Overall Status:**
|
|
671
|
+
- Total Tools: **91** (was 89, +2 new token discovery)
|
|
672
|
+
- All Tested: **91/91** (100% coverage)
|
|
673
|
+
- Passing: **90/90** (98.9% - skip: graduate_token)
|
|
674
|
+
- New Beta Features: **2 tools + 2 enhanced methods**
|
|
675
|
+
|
|
676
|
+
---
|
|
677
|
+
|
|
636
678
|
## Next Steps
|
|
637
679
|
|
|
638
|
-
|
|
680
|
+
Beta testing complete. v4.0.7-beta.1 ready for:
|
|
681
|
+
- General availability testing
|
|
682
|
+
- Performance benchmarking with real user data
|
|
683
|
+
- Integration testing with consuming applications
|
|
684
|
+
|
|
685
|
+
All 91 MCP tools verified:
|
|
639
686
|
- 72 read-only tools: 100% PASS
|
|
640
|
-
-
|
|
687
|
+
- 18 write operations: 100% PASS (trading, DEX, creation, uploads, transfers, locks)
|
|
641
688
|
- 1 intentionally skipped:
|
|
642
689
|
- `graduate_token` - irreversible state change
|
|
643
690
|
|
|
644
|
-
**v4.0.
|
|
691
|
+
**v4.0.7-beta.1 release is ready for broader beta testing.**
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @see src/utils/tool-registry.ts
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* Enhanced tool registry with validation (
|
|
10
|
+
* Enhanced tool registry with validation (91 tools total):
|
|
11
11
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
12
12
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
13
|
-
* - DEX/GalaSwap:
|
|
13
|
+
* - DEX/GalaSwap: 28 tools (10 swap/quote + 9 liquidity + 2 pool discovery + 4 leaderboard + 1 volume + 2 token discovery - NEW v4.1.0)
|
|
14
14
|
* - Balance: 7 tools (balance queries, locked tokens, and profile)
|
|
15
15
|
* - Creation: 4 tools (token creation and launch)
|
|
16
16
|
* - Transfers: 2 tools (GALA and token transfers)
|
package/dist/tools/index.js
CHANGED
|
@@ -64,17 +64,17 @@ const toolCategories = [
|
|
|
64
64
|
},
|
|
65
65
|
];
|
|
66
66
|
/**
|
|
67
|
-
* Enhanced tool registry with validation (
|
|
67
|
+
* Enhanced tool registry with validation (91 tools total):
|
|
68
68
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
69
69
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
70
|
-
* - DEX/GalaSwap:
|
|
70
|
+
* - DEX/GalaSwap: 28 tools (10 swap/quote + 9 liquidity + 2 pool discovery + 4 leaderboard + 1 volume + 2 token discovery - NEW v4.1.0)
|
|
71
71
|
* - Balance: 7 tools (balance queries, locked tokens, and profile)
|
|
72
72
|
* - Creation: 4 tools (token creation and launch)
|
|
73
73
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
74
74
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
75
75
|
* - Utilities: 16 tools (config, version, environment, wallet, cache, cleanup, etc.)
|
|
76
76
|
*/
|
|
77
|
-
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories,
|
|
77
|
+
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories, 91);
|
|
78
78
|
/**
|
|
79
79
|
* Complete tool array (for backward compatibility)
|
|
80
80
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "4.0.7-beta.
|
|
3
|
+
"version": "4.0.7-beta.3",
|
|
4
4
|
"description": "MCP server for Gala Launchpad - 89 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks, locked token queries, composite pool data) 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.7-beta.
|
|
76
|
+
"@gala-chain/launchpad-sdk": "4.0.7-beta.3",
|
|
77
77
|
"@humanwhocodes/config-array": "^0.13.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
79
79
|
"axios": "^1.12.2",
|