@gala-chain/launchpad-mcp-server 1.7.0 → 1.7.2
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/CHANGELOG.md +27 -2
- package/README.md +15 -11
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/index.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.1 - 2025-10-11
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **Tool registry validation error** - Fixed hardcoded tool count mismatch
|
|
8
|
+
- Registry was expecting 49 tools but actual count was 50 tools
|
|
9
|
+
- Added 2 tools from cache feature (getCacheInfo, clearCache) not accounted for in v1.7.0
|
|
10
|
+
- Updated tool registry validation from 49 to 50
|
|
11
|
+
- Fixed all documentation to reflect correct tool counts (48→50)
|
|
12
|
+
- Fixed Pool Management tool count (10→14) to match actual code
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Updated package.json description from "48 tools" to "50 tools"
|
|
17
|
+
- Updated MCP README tool counts (48→50 total, 10→14 pool tools)
|
|
18
|
+
- Updated SDK README MCP tool reference (48→50)
|
|
19
|
+
- Updated agent definition file tool counts
|
|
20
|
+
- Added missing 4 pool tools to README list (spot price and resolution tools)
|
|
21
|
+
- Removed duplicate "Pricing & Spot Price" section from README
|
|
22
|
+
- Updated Utility Tools count (3→9) with complete tool list
|
|
23
|
+
|
|
24
|
+
### Context
|
|
25
|
+
|
|
26
|
+
v1.7.0 was published with incorrect tool counts due to not accounting for cache management tools added in v1.6.0. The registry validation expected 49 tools but 50 were actually registered, causing the MCP server to crash on startup with "Tool registry validation failed: Tool count mismatch: expected 49, got 50".
|
|
27
|
+
|
|
3
28
|
## 1.7.0 - 2025-10-11
|
|
4
29
|
|
|
5
30
|
### Added
|
|
@@ -19,8 +44,8 @@
|
|
|
19
44
|
### Changed
|
|
20
45
|
|
|
21
46
|
- Updated SDK dependency from ^3.10.0 to ^3.11.0
|
|
22
|
-
- Tool count increased from
|
|
23
|
-
- Pool Management tools increased from
|
|
47
|
+
- Tool count increased from 49 to 50 tools (NOTE: v1.6.0 added 2 cache tools, bringing count from 47 to 49)
|
|
48
|
+
- Pool Management tools increased from 13 to 14 tools
|
|
24
49
|
- Benefits from SDK v3.11.0 auto-pagination with 5x performance improvement
|
|
25
50
|
|
|
26
51
|
### Benefits
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
4
4
|
|
|
5
5
|
## 🚀 Features
|
|
6
6
|
|
|
7
|
-
- **
|
|
7
|
+
- **50 AI-accessible tools** for complete Gala Launchpad integration
|
|
8
8
|
- **14 slash commands** (prompts) for quick access to common workflows
|
|
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)
|
|
@@ -52,9 +52,9 @@ Add to your `claude_desktop_config.json`:
|
|
|
52
52
|
3. **Restart Claude Desktop**
|
|
53
53
|
4. **Use tools**: Ask Claude to interact with Gala Launchpad!
|
|
54
54
|
|
|
55
|
-
## 🛠️ Available Tools (
|
|
55
|
+
## 🛠️ Available Tools (50 Total)
|
|
56
56
|
|
|
57
|
-
### Pool Management (
|
|
57
|
+
### Pool Management (14 tools)
|
|
58
58
|
- `gala_launchpad_fetch_pools` - Fetch token pools with filtering
|
|
59
59
|
- `gala_launchpad_fetch_all_pools` - Fetch all available pools with automatic pagination
|
|
60
60
|
- `gala_launchpad_fetch_pool_details` - Get detailed pool state
|
|
@@ -62,9 +62,13 @@ Add to your `claude_desktop_config.json`:
|
|
|
62
62
|
- `gala_launchpad_fetch_token_distribution` - Get holder distribution
|
|
63
63
|
- `gala_launchpad_fetch_token_badges` - Get achievement badges
|
|
64
64
|
- `gala_launchpad_fetch_volume_data` - Get OHLCV charting data
|
|
65
|
+
- `gala_launchpad_fetch_token_spot_price` - Fetch USD spot price for DEX tokens
|
|
66
|
+
- `gala_launchpad_fetch_gala_spot_price` - Fetch current GALA USD spot price
|
|
67
|
+
- `gala_launchpad_fetch_launchpad_token_spot_price` - Fetch USD spot price for launchpad token
|
|
65
68
|
- `gala_launchpad_check_token_name` - Check name availability
|
|
66
69
|
- `gala_launchpad_check_token_symbol` - Check symbol availability
|
|
67
70
|
- `gala_launchpad_resolve_vault_address` - Get GalaChain vault address
|
|
71
|
+
- `gala_launchpad_resolve_token_class_key` - Get GalaChain TokenClassKey
|
|
68
72
|
|
|
69
73
|
### Trading Operations (13 tools)
|
|
70
74
|
- `gala_launchpad_calculate_buy_amount` - Calculate buy amounts (network call)
|
|
@@ -185,12 +189,6 @@ const result2 = await gala_launchpad_graduate_token({
|
|
|
185
189
|
|
|
186
190
|
**Accuracy:** Local calculations match external (network) with <0.01% difference.
|
|
187
191
|
|
|
188
|
-
### Pricing & Spot Price (5 tools)
|
|
189
|
-
- `gala_launchpad_fetch_token_spot_price` - Fetch USD spot price for DEX tokens (GALA, SILK, MUSIC, etc.)
|
|
190
|
-
- `gala_launchpad_fetch_gala_spot_price` - Fetch current GALA USD spot price (convenience)
|
|
191
|
-
- `gala_launchpad_fetch_launchpad_token_spot_price` - Fetch USD spot price for launchpad token (supports performance params)
|
|
192
|
-
- `gala_launchpad_resolve_token_class_key` - Get GalaChain TokenClassKey for launchpad token
|
|
193
|
-
|
|
194
192
|
### Balance & Portfolio (6 tools)
|
|
195
193
|
- `gala_launchpad_fetch_gala_balance` - Get GALA balance
|
|
196
194
|
- `gala_launchpad_fetch_token_balance` - Get token balance
|
|
@@ -213,10 +211,16 @@ const result2 = await gala_launchpad_graduate_token({
|
|
|
213
211
|
- `gala_launchpad_transfer_gala` - Transfer GALA tokens
|
|
214
212
|
- `gala_launchpad_transfer_token` - Transfer launchpad tokens
|
|
215
213
|
|
|
216
|
-
### Utility Tools (
|
|
214
|
+
### Utility Tools (9 tools)
|
|
215
|
+
- `gala_launchpad_create_wallet` - Create new GalaChain wallet
|
|
216
|
+
- `gala_launchpad_get_address` - Get user's GalaChain address
|
|
217
|
+
- `gala_launchpad_get_ethereum_address` - Get user's Ethereum address
|
|
218
|
+
- `gala_launchpad_get_config` - Get current SDK configuration
|
|
217
219
|
- `gala_launchpad_get_url_by_token_name` - Generate frontend URL for a token
|
|
218
|
-
- `gala_launchpad_is_token_graduated` - Check if token completed bonding curve phase
|
|
219
220
|
- `gala_launchpad_explain_sdk_usage` - Get SDK code examples and usage explanations
|
|
221
|
+
- `gala_launchpad_is_token_graduated` - Check if token completed bonding curve phase
|
|
222
|
+
- `gala_launchpad_get_cache_info` - Get token metadata cache statistics
|
|
223
|
+
- `gala_launchpad_clear_cache` - Clear token metadata cache entries
|
|
220
224
|
|
|
221
225
|
## 💡 Example Usage
|
|
222
226
|
|
package/dist/tools/index.d.ts
CHANGED
package/dist/tools/index.js
CHANGED
|
@@ -58,9 +58,9 @@ const toolCategories = [
|
|
|
58
58
|
},
|
|
59
59
|
];
|
|
60
60
|
/**
|
|
61
|
-
* Enhanced tool registry with validation (
|
|
61
|
+
* Enhanced tool registry with validation (50 tools)
|
|
62
62
|
*/
|
|
63
|
-
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories,
|
|
63
|
+
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories, 50);
|
|
64
64
|
/**
|
|
65
65
|
* Complete tool array (for backward compatibility)
|
|
66
66
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "MCP server for Gala Launchpad SDK with
|
|
3
|
+
"version": "1.7.2",
|
|
4
|
+
"description": "MCP server for Gala Launchpad SDK with 50 tools + 14 slash commands - Production-grade AI agent integration with comprehensive validation, optimized performance, and 80%+ test coverage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"gala-launchpad-mcp": "./dist/index.js"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@gala-chain/api": "^2.4.3",
|
|
64
64
|
"@gala-chain/connect": "^2.4.3",
|
|
65
|
-
"@gala-chain/launchpad-sdk": "^3.11.
|
|
65
|
+
"@gala-chain/launchpad-sdk": "^3.11.1",
|
|
66
66
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
67
67
|
"axios": "^1.12.2",
|
|
68
68
|
"bignumber.js": "^9.1.2",
|