@gala-chain/launchpad-mcp-server 4.0.17-beta.9 → 4.0.19
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 +164 -20
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.d.ts.map +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/generated/version.js.map +1 -1
- package/dist/tools/balance/index.d.ts +1 -0
- package/dist/tools/balance/index.d.ts.map +1 -1
- package/dist/tools/balance/index.js +16 -1
- package/dist/tools/balance/index.js.map +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-08 (Session
|
|
4
|
-
**Total Tools:**
|
|
3
|
+
**Last Updated:** 2025-12-08 (Session 18: v4.0.17-beta.10 Wrap/Unwrap Execution Testing)
|
|
4
|
+
**Total Tools:** 126 (was 121, +5 wrap/unwrap execution/fee tools)
|
|
5
5
|
**Environment:** STAGE
|
|
6
|
-
**SDK Version:** 4.0.17-beta.
|
|
7
|
-
**MCP Version:** 4.0.17-beta.
|
|
8
|
-
**Previous Beta:** 4.0.17-beta.
|
|
6
|
+
**SDK Version:** 4.0.17-beta.10
|
|
7
|
+
**MCP Version:** 4.0.17-beta.10
|
|
8
|
+
**Previous Beta:** 4.0.17-beta.6
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
@@ -19,14 +19,18 @@
|
|
|
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
|
-
| bridge |
|
|
23
|
-
| **TOTAL** | **
|
|
22
|
+
| bridge | 31 | 24 | 3 | 3 | 1 |
|
|
23
|
+
| **TOTAL** | **126** | **118** | **3** | **4** | **1** |
|
|
24
24
|
|
|
25
|
-
**Coverage: 100%** (
|
|
26
|
-
**Pass Rate:
|
|
25
|
+
**Coverage: 100%** (126/126 tools accounted for)
|
|
26
|
+
**Pass Rate: 94%** (118/122 testable tools passed)
|
|
27
|
+
**New in v4.0.17-beta.10:** 5 wrap/unwrap tools tested (discovery: PASS, execution: FAIL - signing issue)
|
|
27
28
|
**New in v4.0.17-beta.6:** 5 wrappable token tools added (MUSIC ↔ GMUSIC wrap/unwrap discovery)
|
|
28
29
|
**New in v4.0.17-beta.1:** getSolanaTransactionStatus, bridge_out tested, Solana balance queries working
|
|
29
|
-
**Known
|
|
30
|
+
**Known Issues:**
|
|
31
|
+
- `bridge_in` fails on Solana devnet (block height exceeded - timing issue)
|
|
32
|
+
- `wrap_token` fails with 404 (music-contract endpoint issue)
|
|
33
|
+
- `unwrap_token` fails with 400 (GalaChain Gateway requires native signing, not DEX API signing)
|
|
30
34
|
|
|
31
35
|
---
|
|
32
36
|
|
|
@@ -177,7 +181,7 @@
|
|
|
177
181
|
|
|
178
182
|
---
|
|
179
183
|
|
|
180
|
-
## BRIDGE (
|
|
184
|
+
## BRIDGE (31 tools) - 24 PASS, 3 SKIP, 1 CONFIG-REQUIRED, 3 FAIL
|
|
181
185
|
|
|
182
186
|
| Tool | Status | Last Tested | Notes |
|
|
183
187
|
|------|--------|-------------|-------|
|
|
@@ -207,6 +211,21 @@
|
|
|
207
211
|
| `gala_launchpad_get_wrappable_token` | PASS | 2025-12-08 | **NEW** - Lookup by tokenId, returns wrap counterpart info |
|
|
208
212
|
| `gala_launchpad_get_wrap_counterpart` | PASS | 2025-12-08 | **NEW** - MUSIC → GMUSIC, GMUSIC → MUSIC counterpart lookup |
|
|
209
213
|
| `gala_launchpad_is_token_wrappable` | PASS | 2025-12-08 | **NEW** - Boolean check: MUSIC=true (wrappable), GALA=false (not wrappable) |
|
|
214
|
+
| `gala_launchpad_wrap_token` | FAIL | 2025-12-08 | **NEW** - 404 error: music-contract endpoint not found |
|
|
215
|
+
| `gala_launchpad_unwrap_token` | FAIL | 2025-12-08 | **NEW** - 400 error: "Signature is missing" - requires GalaChain native signing |
|
|
216
|
+
| `gala_launchpad_estimate_wrap_fee` | PASS | 2025-12-08 | **NEW** - Returns fee: "0" GALA, auth: cross_channel_authorization |
|
|
217
|
+
| `gala_launchpad_estimate_unwrap_fee` | PASS | 2025-12-08 | **NEW** - Returns fee: "0" GALA, auth: automatic |
|
|
218
|
+
| `gala_launchpad_get_wrap_status` | SKIP | 2025-12-08 | **NEW** - Cannot test without successful wrap/unwrap transaction |
|
|
219
|
+
|
|
220
|
+
**Bridge Tool Notes (v4.0.17-beta.10):**
|
|
221
|
+
- **NEW (5 tools):** Wrap/unwrap execution and fee estimation
|
|
222
|
+
- `wrap_token` - FAIL (404 - music-contract endpoint not found)
|
|
223
|
+
- `unwrap_token` - FAIL (400 - GalaChain Gateway requires native signing, not DEX API `Sign` header)
|
|
224
|
+
- `estimate_wrap_fee` - PASS (returns 0 GALA fee)
|
|
225
|
+
- `estimate_unwrap_fee` - PASS (returns 0 GALA fee)
|
|
226
|
+
- `get_wrap_status` - SKIP (no successful transaction to check)
|
|
227
|
+
- **Root Cause:** WrapService uses HttpClient with `Sign` header (DEX API style) but GalaChain Gateway requires native contract signing
|
|
228
|
+
- **Fix Required:** SDK needs to use GalaChain-native DTO signing (like `@gala-chain/connect`)
|
|
210
229
|
|
|
211
230
|
**Bridge Tool Notes (v4.0.17-beta.6):**
|
|
212
231
|
- **NEW (5 tools):** Wrappable token discovery for wrap/unwrap pairs (e.g., MUSIC ↔ GMUSIC)
|
|
@@ -989,23 +1008,32 @@ fetchAllAvailableDexTokens({ search: 'GALA' }):
|
|
|
989
1008
|
|
|
990
1009
|
## Next Steps
|
|
991
1010
|
|
|
992
|
-
v4.0.17-beta.
|
|
993
|
-
- Full Solana bridge operations (
|
|
994
|
-
-
|
|
995
|
-
-
|
|
996
|
-
-
|
|
1011
|
+
v4.0.17-beta.10 status:
|
|
1012
|
+
- ✅ Full Solana bridge operations (bridge_out tested, bridge_in has devnet timing issue)
|
|
1013
|
+
- ✅ Wrappable token discovery (all 5 discovery tools work)
|
|
1014
|
+
- ❌ **BLOCKED:** Wrap/unwrap execution requires SDK architectural change
|
|
1015
|
+
- Root cause: WrapService uses DEX API signing (`Sign` header)
|
|
1016
|
+
- GalaChain Gateway requires native GalaChain contract signing
|
|
1017
|
+
- Fix needed: Integrate `@gala-chain/connect` or similar for DTO signing
|
|
997
1018
|
|
|
998
|
-
All
|
|
1019
|
+
All 126 MCP tools verified:
|
|
999
1020
|
- 85 read-only tools: 100% PASS
|
|
1000
1021
|
- 28 write operations: 100% PASS (trading, DEX, creation, uploads, transfers, locks)
|
|
1001
|
-
-
|
|
1022
|
+
- 31 bridge tools: 24 PASS, 3 FAIL, 3 SKIP, 1 CONFIG-REQUIRED
|
|
1023
|
+
- 3 tools FAIL:
|
|
1024
|
+
- `bridge_in` - Solana devnet timing issue
|
|
1025
|
+
- `wrap_token` - 404 (music-contract endpoint)
|
|
1026
|
+
- `unwrap_token` - 400 (GalaChain signing incompatibility)
|
|
1002
1027
|
- 1 intentionally skipped: `graduate_token` - irreversible state change
|
|
1003
1028
|
- New Solana utilities: `create_solana_wallet`, `get_solana_transaction_status`
|
|
1004
|
-
- New wrappable token tools:
|
|
1029
|
+
- New wrappable token tools: 10 tools total (5 discovery + 5 execution/fee)
|
|
1005
1030
|
|
|
1006
|
-
**v4.0.17-beta.
|
|
1031
|
+
**v4.0.17-beta.10 release status:**
|
|
1032
|
+
- ✅ Production ready for all non-wrap/unwrap operations
|
|
1033
|
+
- ⚠️ Wrap/unwrap execution requires SDK fix before production use
|
|
1007
1034
|
|
|
1008
1035
|
### Change History
|
|
1036
|
+
- **v4.0.17-beta.10** (2025-12-08): Tested wrap/unwrap execution tools - discovery PASS, execution FAIL (signing incompatibility), tool count 121→126
|
|
1009
1037
|
- **v4.0.17-beta.6** (2025-12-08): Added 5 wrappable token tools (MUSIC ↔ GMUSIC wrap/unwrap discovery), fixed tool count mismatch (116→121)
|
|
1010
1038
|
- **v4.0.17-beta.1** (2025-12-07): Solana balance queries working, new getSolanaTransactionStatus tool, estimateBridgeFee verified
|
|
1011
1039
|
- **v4.0.15-beta.12** (2025-12-07): Solana bridge testing - WebSocket fix, devnet airdrop, wallet creation
|
|
@@ -1252,3 +1280,119 @@ Fixed by updating `createToolRegistry(toolCategories, 116)` to `createToolRegist
|
|
|
1252
1280
|
- All 5 wrappable token tools working correctly
|
|
1253
1281
|
- Use case: Wrap/unwrap operations (MUSIC ↔ GMUSIC, etc.)
|
|
1254
1282
|
- Caching: Wrappable token list cached permanently for efficiency
|
|
1283
|
+
|
|
1284
|
+
---
|
|
1285
|
+
|
|
1286
|
+
### Session 18: 2025-12-08 (v4.0.17-beta.10 Wrap/Unwrap Execution Testing)
|
|
1287
|
+
|
|
1288
|
+
**Test Configuration:**
|
|
1289
|
+
- Environment: STAGE
|
|
1290
|
+
- SDK Version: 4.0.17-beta.10
|
|
1291
|
+
- MCP Version: 4.0.17-beta.10
|
|
1292
|
+
- Total MCP Tools: 126 (was 121, +5 wrap/unwrap execution tools)
|
|
1293
|
+
- Wallet Balance: 100 GMUSIC, 9.4M GALA (sufficient for testing)
|
|
1294
|
+
|
|
1295
|
+
**Test Objective:**
|
|
1296
|
+
Execute 10 wrap + 10 unwrap operations against STAGE to verify wrap/unwrap functionality.
|
|
1297
|
+
|
|
1298
|
+
**Wrappable Token Pair Found:**
|
|
1299
|
+
- MUSIC (music channel) ↔ GMUSIC (asset channel)
|
|
1300
|
+
- Channel IDs: MUSIC=3, ASSET=1
|
|
1301
|
+
|
|
1302
|
+
**Tool Categories Tested:**
|
|
1303
|
+
|
|
1304
|
+
#### 1. Wrappable Token Discovery (5 tools) - ALL PASS ✅
|
|
1305
|
+
These tools work correctly for discovering wrap/unwrap pairs:
|
|
1306
|
+
|
|
1307
|
+
✅ `gala_launchpad_fetch_wrappable_tokens` - PASS
|
|
1308
|
+
- Returns paginated wrappable token list
|
|
1309
|
+
- Found 2 tokens: MUSIC, GMUSIC
|
|
1310
|
+
|
|
1311
|
+
✅ `gala_launchpad_fetch_all_wrappable_tokens` - PASS
|
|
1312
|
+
- Auto-paginated discovery with caching
|
|
1313
|
+
- Returns complete MUSIC ↔ GMUSIC pair data
|
|
1314
|
+
|
|
1315
|
+
✅ `gala_launchpad_get_wrappable_token` - PASS
|
|
1316
|
+
- Lookup by tokenId: `$GMUSIC|Unit|none|none`
|
|
1317
|
+
- Returns token with counterpart info
|
|
1318
|
+
|
|
1319
|
+
✅ `gala_launchpad_get_wrap_counterpart` - PASS
|
|
1320
|
+
- MUSIC → GMUSIC, GMUSIC → MUSIC working correctly
|
|
1321
|
+
|
|
1322
|
+
✅ `gala_launchpad_is_token_wrappable` - PASS
|
|
1323
|
+
- MUSIC: true, GMUSIC: true, GALA: false
|
|
1324
|
+
|
|
1325
|
+
#### 2. Wrap/Unwrap Fee Estimation (2 tools) - PASS ✅
|
|
1326
|
+
✅ `gala_launchpad_estimate_wrap_fee` - PASS
|
|
1327
|
+
- Returns fee: "0" GALA (fees are currently zero)
|
|
1328
|
+
- Auth type: cross_channel_authorization
|
|
1329
|
+
|
|
1330
|
+
✅ `gala_launchpad_estimate_unwrap_fee` - PASS
|
|
1331
|
+
- Returns fee: "0" GALA
|
|
1332
|
+
- Auth type: automatic
|
|
1333
|
+
|
|
1334
|
+
#### 3. Wrap/Unwrap Execution (2 tools) - FAIL ❌
|
|
1335
|
+
**Critical Finding: GalaChain Gateway requires native GalaChain signing**
|
|
1336
|
+
|
|
1337
|
+
❌ `gala_launchpad_wrap_token` - FAIL (404)
|
|
1338
|
+
- Attempted: Wrap 1 MUSIC → GMUSIC
|
|
1339
|
+
- Error: "Request failed with status code 404"
|
|
1340
|
+
- Endpoint: `/api/music-contract/RequestTokenBridgeOut`
|
|
1341
|
+
- Root cause: Music-contract endpoint may not exist or has different path
|
|
1342
|
+
|
|
1343
|
+
❌ `gala_launchpad_unwrap_token` - FAIL (400 - Signature Missing)
|
|
1344
|
+
- Attempted: Unwrap 1 GMUSIC → MUSIC
|
|
1345
|
+
- Error: "Request failed with status code 400"
|
|
1346
|
+
- Response: `{ ErrorKey: 'MISSING_SIGNATURE', Message: 'Signature is missing.' }`
|
|
1347
|
+
- Endpoint: `/api/asset/token-contract/RequestTokenBridgeOut`
|
|
1348
|
+
- Root cause: SDK uses DEX API-style signing (`Sign` header) but GalaChain Gateway requires native GalaChain contract signing
|
|
1349
|
+
|
|
1350
|
+
#### 4. Wrap Status (1 tool) - UNTESTED
|
|
1351
|
+
⏭️ `gala_launchpad_get_wrap_status` - SKIP
|
|
1352
|
+
- Cannot test without successful wrap/unwrap transaction
|
|
1353
|
+
|
|
1354
|
+
**Technical Root Cause Analysis:**
|
|
1355
|
+
|
|
1356
|
+
The wrap/unwrap execution tools fail because of a **signing mechanism incompatibility**:
|
|
1357
|
+
|
|
1358
|
+
1. **SDK's Current Approach (WrapService.ts):**
|
|
1359
|
+
- Uses `HttpClient.request()` which adds `Sign` header (DEX API signature)
|
|
1360
|
+
- Posts to GalaChain Gateway endpoints like `/api/asset/token-contract/RequestTokenBridgeOut`
|
|
1361
|
+
|
|
1362
|
+
2. **GalaChain Gateway Requirements:**
|
|
1363
|
+
- Expects native GalaChain contract signing (likely via `@gala-chain/connect` or DTO signing)
|
|
1364
|
+
- The `Sign` header used for DEX API authentication is not recognized
|
|
1365
|
+
- Returns `MISSING_SIGNATURE` error
|
|
1366
|
+
|
|
1367
|
+
3. **Affected Code:**
|
|
1368
|
+
- `packages/sdk/src/services/WrapService.ts:executeChannelBridge()` method
|
|
1369
|
+
- Lines 403-409: HTTP POST request without proper GalaChain signature
|
|
1370
|
+
|
|
1371
|
+
**Recommended Fix (Not Implemented):**
|
|
1372
|
+
The SDK would need to:
|
|
1373
|
+
1. Use GalaChain-native DTO signing (like `@gala-chain/connect`)
|
|
1374
|
+
2. Sign the `RequestTokenBridgeOut` payload properly
|
|
1375
|
+
3. Include signed DTO in request body (not as HTTP header)
|
|
1376
|
+
|
|
1377
|
+
**Test Results Summary:**
|
|
1378
|
+
|
|
1379
|
+
| Tool Category | Count | Pass | Fail | Skip |
|
|
1380
|
+
|---------------|-------|------|------|------|
|
|
1381
|
+
| Wrappable Token Discovery | 5 | 5 | 0 | 0 |
|
|
1382
|
+
| Fee Estimation | 2 | 2 | 0 | 0 |
|
|
1383
|
+
| Wrap/Unwrap Execution | 2 | 0 | 2 | 0 |
|
|
1384
|
+
| Wrap Status | 1 | 0 | 0 | 1 |
|
|
1385
|
+
| **TOTAL** | **10** | **7** | **2** | **1** |
|
|
1386
|
+
|
|
1387
|
+
**10 Wrap + 10 Unwrap Test Result:**
|
|
1388
|
+
❌ **BLOCKED** - Cannot execute wrap/unwrap operations due to GalaChain Gateway signing requirements
|
|
1389
|
+
|
|
1390
|
+
**Key Findings:**
|
|
1391
|
+
1. **Discovery tools fully functional** - All 5 wrappable token discovery tools work correctly
|
|
1392
|
+
2. **Fee estimation works** - Both estimate_wrap_fee and estimate_unwrap_fee return valid responses
|
|
1393
|
+
3. **Execution blocked** - wrap_token and unwrap_token fail due to signing mechanism incompatibility
|
|
1394
|
+
4. **SDK needs architectural change** - WrapService must use GalaChain-native contract signing instead of DEX API signing
|
|
1395
|
+
|
|
1396
|
+
**Impact on Tool Status:**
|
|
1397
|
+
- Bridge category: 26 tools → 22 PASS, 3 FAIL (was 1), 1 SKIP (was 2)
|
|
1398
|
+
- Total MCP tools: 126 → 120 PASS, 3 FAIL, 3 SKIP
|
|
@@ -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"}
|
|
@@ -9,5 +9,6 @@ export declare const fetchTokensHeldTool: MCPTool;
|
|
|
9
9
|
export declare const fetchTokensCreatedTool: MCPTool;
|
|
10
10
|
export declare const fetchProfileTool: MCPTool;
|
|
11
11
|
export declare const updateProfileTool: MCPTool;
|
|
12
|
+
export declare const fetchReferralUrlTool: MCPTool;
|
|
12
13
|
export declare const balanceTools: MCPTool[];
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAelD,eAAO,MAAM,oBAAoB,EAAE,OAgBlC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OAmBnC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OA2BnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OA2BjC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OA2BpC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,OAgB9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,OAyB/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAelD,eAAO,MAAM,oBAAoB,EAAE,OAgBlC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OAmBnC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,OA2BnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OA2BjC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OA2BpC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,OAgB9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,OAyB/B,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,OAYlC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EASjC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Balance & Portfolio Tools
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.balanceTools = exports.updateProfileTool = exports.fetchProfileTool = exports.fetchTokensCreatedTool = exports.fetchTokensHeldTool = exports.fetchLockedTokensTool = exports.fetchTokenBalanceTool = exports.fetchGalaBalanceTool = void 0;
|
|
6
|
+
exports.balanceTools = exports.fetchReferralUrlTool = exports.updateProfileTool = exports.fetchProfileTool = exports.fetchTokensCreatedTool = exports.fetchTokensHeldTool = exports.fetchLockedTokensTool = exports.fetchTokenBalanceTool = exports.fetchGalaBalanceTool = void 0;
|
|
7
7
|
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
8
8
|
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
9
9
|
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
@@ -178,6 +178,20 @@ exports.updateProfileTool = {
|
|
|
178
178
|
return (0, response_formatter_js_1.formatBoolean)(true, 'Profile updated successfully');
|
|
179
179
|
}),
|
|
180
180
|
};
|
|
181
|
+
// 8. Fetch Referral URL
|
|
182
|
+
exports.fetchReferralUrlTool = {
|
|
183
|
+
name: 'gala_launchpad_fetch_referral_url',
|
|
184
|
+
description: "Fetch the authenticated user's unique referral URL for sharing. The referral URL can be used to earn rewards when new users sign up through the link. Requires wallet configuration.",
|
|
185
|
+
inputSchema: {
|
|
186
|
+
type: 'object',
|
|
187
|
+
properties: {},
|
|
188
|
+
required: [],
|
|
189
|
+
},
|
|
190
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk) => {
|
|
191
|
+
const result = await sdk.fetchReferralUrl();
|
|
192
|
+
return (0, response_formatter_js_1.formatSuccess)(result);
|
|
193
|
+
}),
|
|
194
|
+
};
|
|
181
195
|
exports.balanceTools = [
|
|
182
196
|
exports.fetchGalaBalanceTool,
|
|
183
197
|
exports.fetchTokenBalanceTool,
|
|
@@ -186,5 +200,6 @@ exports.balanceTools = [
|
|
|
186
200
|
exports.fetchTokensCreatedTool,
|
|
187
201
|
exports.fetchProfileTool,
|
|
188
202
|
exports.updateProfileTool,
|
|
203
|
+
exports.fetchReferralUrlTool,
|
|
189
204
|
];
|
|
190
205
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/balance/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAiF;AACjF,mEAAiE;AACjE,uEAQyC;AACzC,qEAAiF;AAEjF,wBAAwB;AACX,QAAA,oBAAoB,GAAY;IAC3C,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,+BAA+B;IAC5C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,GAAG,kCAAc;gBACjB,WAAW,EAAE,mDAAmD;aACjE;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAA6B,CAAC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AE,QAAQ;QACd,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACvC,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAC5C,OAAO,IAAA,qCAAa,EAAC,MAAM,CAAC,CAAC;IAC/B,CAAC,CAAC;CACH,CAAC;AAEW,QAAA,YAAY,GAAc;IACrC,4BAAoB;IACpB,6BAAqB;IACrB,6BAAqB;IACrB,2BAAmB;IACnB,8BAAsB;IACtB,wBAAgB;IAChB,yBAAiB;IACjB,4BAAoB;CACrB,CAAC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @see src/utils/tool-registry.ts
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* Enhanced tool registry with validation (
|
|
10
|
+
* Enhanced tool registry with validation (126 tools total):
|
|
11
11
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
12
12
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
13
13
|
* - DEX/GalaSwap: 29 tools (swap/quote, liquidity, pool discovery, leaderboard, volume, token discovery)
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
17
17
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
18
18
|
* - Utilities: 19 tools (config, version, environment, wallet, Solana wallet, cache, cleanup, key derivation)
|
|
19
|
-
* - Bridge:
|
|
19
|
+
* - Bridge: 31 tools (cross-chain bridging, bridgeable/wrappable token queries, wrap/unwrap execution, devnet airdrop, tx status)
|
|
20
20
|
*/
|
|
21
21
|
export declare const registry: import("../utils/tool-registry.js").ToolRegistry;
|
|
22
22
|
/**
|
package/dist/tools/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const toolCategories = [
|
|
|
70
70
|
},
|
|
71
71
|
];
|
|
72
72
|
/**
|
|
73
|
-
* Enhanced tool registry with validation (
|
|
73
|
+
* Enhanced tool registry with validation (126 tools total):
|
|
74
74
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
75
75
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
76
76
|
* - DEX/GalaSwap: 29 tools (swap/quote, liquidity, pool discovery, leaderboard, volume, token discovery)
|
|
@@ -79,9 +79,9 @@ const toolCategories = [
|
|
|
79
79
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
80
80
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
81
81
|
* - Utilities: 19 tools (config, version, environment, wallet, Solana wallet, cache, cleanup, key derivation)
|
|
82
|
-
* - Bridge:
|
|
82
|
+
* - Bridge: 31 tools (cross-chain bridging, bridgeable/wrappable token queries, wrap/unwrap execution, devnet airdrop, tx status)
|
|
83
83
|
*/
|
|
84
|
-
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories,
|
|
84
|
+
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories, 126);
|
|
85
85
|
/**
|
|
86
86
|
* Complete tool array (for backward compatibility)
|
|
87
87
|
*/
|
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.19",
|
|
4
4
|
"description": "MCP server for Gala Launchpad - 105 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, cross-chain bridging, 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.19",
|
|
77
77
|
"@humanwhocodes/config-array": "^0.13.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
79
79
|
"axios": "^1.12.2",
|