@gala-chain/launchpad-mcp-server 1.25.0 → 1.27.0
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/README.md +103 -3
- package/dist/constants/mcpToolNames.d.ts +6 -2
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +4 -2
- 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/tools/pools/onDexPoolCreation.d.ts.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.js +1 -3
- package/dist/tools/pools/onDexPoolCreation.js.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.d.ts.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.js +1 -3
- package/dist/tools/pools/onLaunchpadTokenCreation.js.map +1 -1
- package/package.json +3 -3
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
|
+
- **76 AI-accessible tools** for complete Gala Launchpad integration (includes 19 pool management & event watcher tools, 13 trading operation tools, 6 balance & portfolio tools, 5 token creation tools, 2 transfer tools, 2 social/comment tools, 14 utility tools, 2 DEX pool discovery tools, 7 GSwap DEX trading tools, 8 liquidity position tools)
|
|
8
8
|
- **74 slash commands** (prompts) for 1:1 mapping to all MCP tools - every tool 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)
|
|
@@ -98,9 +98,9 @@ Use the wallet management tools to upgrade or switch wallets at runtime:
|
|
|
98
98
|
- `gala_launchpad_set_wallet` - Upgrade from read-only to full-access mode
|
|
99
99
|
- `gala_launchpad_get_wallet` - Retrieve wallet information
|
|
100
100
|
|
|
101
|
-
## 🛠️ Available Tools (
|
|
101
|
+
## 🛠️ Available Tools (76 Total)
|
|
102
102
|
|
|
103
|
-
### Pool &
|
|
103
|
+
### Pool Management, Pricing & Event Watchers (19 tools)
|
|
104
104
|
- `gala_launchpad_fetch_pools` - Fetch token pools with filtering
|
|
105
105
|
- `gala_launchpad_fetch_all_pools` - Fetch all available pools with automatic pagination
|
|
106
106
|
- `gala_launchpad_fetch_pool_details` - Get detailed pool state
|
|
@@ -118,6 +118,106 @@ Use the wallet management tools to upgrade or switch wallets at runtime:
|
|
|
118
118
|
- `gala_launchpad_check_token_symbol` - Check symbol availability
|
|
119
119
|
- `gala_launchpad_resolve_vault_address` - Get GalaChain vault address
|
|
120
120
|
- `gala_launchpad_resolve_token_class_key` - Get GalaChain TokenClassKey
|
|
121
|
+
- `gala_launchpad_on_dex_pool_creation` - Watch for new DEX pool creation events
|
|
122
|
+
- `gala_launchpad_on_launchpad_token_creation` - Watch for new launchpad token creation events
|
|
123
|
+
|
|
124
|
+
#### 🔔 Event Watchers (2 tools) - NEW in v1.25.0
|
|
125
|
+
|
|
126
|
+
**Real-time pool and token discovery with polling-based watchers:**
|
|
127
|
+
|
|
128
|
+
**`gala_launchpad_on_dex_pool_creation` - Watch for DEX Pool Creation**
|
|
129
|
+
|
|
130
|
+
Monitor new liquidity pool creation on GalaSwap DEX with optional filtering:
|
|
131
|
+
|
|
132
|
+
- **Parameters:**
|
|
133
|
+
- `minTVL` (optional, decimal string) - Only report pools with TVL above this threshold (e.g., "100000" for 100k GALA)
|
|
134
|
+
- `tokens` (optional, array of strings) - Only report pools containing these token symbols (e.g., ["GALA", "GUSDC"])
|
|
135
|
+
- `intervalMs` (optional, number) - Polling interval in milliseconds (default: 2000, minimum: 1000)
|
|
136
|
+
- `durationSeconds` (optional, number) - How long to poll (default: 300 seconds = 5 minutes)
|
|
137
|
+
|
|
138
|
+
- **Returns:**
|
|
139
|
+
- `poolsDetected` (number) - Count of new pools found matching criteria
|
|
140
|
+
- `durationSeconds` (number) - How long the watcher ran (in seconds)
|
|
141
|
+
- `pools` (array of DexPoolData) - Array of detected pool objects with:
|
|
142
|
+
- `poolPair` - Pool identifier (e.g., "GALA|Unit|none|none/GUSDC|Unit|none|none/10000")
|
|
143
|
+
- `token0` / `token1` - Token symbols (e.g., "GALA", "GUSDC")
|
|
144
|
+
- `tvl` - Total value locked in pool (number)
|
|
145
|
+
- `fee` - Fee percentage as string (e.g., "0.3", "1")
|
|
146
|
+
- `volume1d` / `volume30d` - Trading volume metrics
|
|
147
|
+
- `apr1d` - 1-day APR percentage
|
|
148
|
+
|
|
149
|
+
- **Use Cases:**
|
|
150
|
+
- Monitor high-value pool creation for opportunities
|
|
151
|
+
- Track specific token pair pools
|
|
152
|
+
- Real-time liquidity discovery
|
|
153
|
+
- Automated opportunity alerts
|
|
154
|
+
|
|
155
|
+
- **Example:**
|
|
156
|
+
```javascript
|
|
157
|
+
// Watch for new high-TVL pools with GALA
|
|
158
|
+
const result = await gala_launchpad_on_dex_pool_creation({
|
|
159
|
+
minTVL: "500000", // Only pools with 500k+ GALA TVL
|
|
160
|
+
tokens: ["GALA"], // Only GALA pairs
|
|
161
|
+
intervalMs: 3000, // Check every 3 seconds
|
|
162
|
+
durationSeconds: 600 // Poll for 10 minutes
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
console.log(`Found ${result.poolsDetected} new GALA pools`);
|
|
166
|
+
result.pools.forEach(pool => {
|
|
167
|
+
console.log(`${pool.tokenA} / ${pool.tokenB}: $${pool.tvl} TVL`);
|
|
168
|
+
});
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**`gala_launchpad_on_launchpad_token_creation` - Watch for Launchpad Token Creation**
|
|
172
|
+
|
|
173
|
+
Monitor new token launches on Gala Launchpad with optional creator filtering:
|
|
174
|
+
|
|
175
|
+
- **Parameters:**
|
|
176
|
+
- `creatorAddress` (optional, string) - Only report tokens created by this address (e.g., "eth|0x...")
|
|
177
|
+
- `intervalMs` (optional, number) - Polling interval in milliseconds (default: 2000, minimum: 1000)
|
|
178
|
+
- `durationSeconds` (optional, number) - How long to poll (default: 300 seconds = 5 minutes)
|
|
179
|
+
|
|
180
|
+
- **Returns:**
|
|
181
|
+
- `tokensDetected` (number) - Count of new tokens found
|
|
182
|
+
- `durationSeconds` (number) - How long the watcher ran (in seconds)
|
|
183
|
+
- `tokens` (array of PoolData) - Array of detected token objects with:
|
|
184
|
+
- `tokenName` - Token name/symbol (e.g., "anime", "dragon")
|
|
185
|
+
- `tokenSymbol` - Token symbol if different from name
|
|
186
|
+
- `creatorAddress` - Creator's wallet address (eth| format)
|
|
187
|
+
- `totalRaised` - GALA amount raised in bonding curve
|
|
188
|
+
- `remainingSupply` - Tokens still available to purchase
|
|
189
|
+
- `saleStatus` - "Ongoing" or "Completed" (graduated to DEX)
|
|
190
|
+
|
|
191
|
+
- **Use Cases:**
|
|
192
|
+
- Track specific creators' new token launches
|
|
193
|
+
- Monitor all token creation activity
|
|
194
|
+
- Early opportunity discovery
|
|
195
|
+
- Creator relationship tracking
|
|
196
|
+
|
|
197
|
+
- **Example:**
|
|
198
|
+
```javascript
|
|
199
|
+
// Watch for tokens from a specific creator
|
|
200
|
+
const result = await gala_launchpad_on_launchpad_token_creation({
|
|
201
|
+
creatorAddress: "eth|0x1234567890abcdef1234567890abcdef12345678",
|
|
202
|
+
intervalMs: 2000, // Check every 2 seconds
|
|
203
|
+
durationSeconds: 300 // Poll for 5 minutes
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
console.log(`Found ${result.tokensDetected} new tokens from creator`);
|
|
207
|
+
result.tokens.forEach(token => {
|
|
208
|
+
console.log(`${token.tokenName}: ${token.totalRaised} GALA raised`);
|
|
209
|
+
});
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
#### Key Characteristics
|
|
213
|
+
|
|
214
|
+
- **Polling-based Architecture** - Uses client-side polling (no WebSocket), configurable intervals
|
|
215
|
+
- **Automatic Deduplication** - Never reports the same pool/token twice within a single watch session
|
|
216
|
+
- **Client-side Filtering** - Optional minTVL and tokens parameters reduce API load
|
|
217
|
+
- **Long-running Support** - Safely polls for extended periods without memory leaks
|
|
218
|
+
- **Error Resilience** - Continues polling after transient errors (network timeouts, API errors)
|
|
219
|
+
- **Interval Validation** - Enforces minimum 1000ms interval to prevent API spam
|
|
220
|
+
- **Return Values** - Both detect count and full objects for flexible usage
|
|
121
221
|
|
|
122
222
|
### Trading Operations (13 tools)
|
|
123
223
|
- `gala_launchpad_calculate_buy_amount` - Calculate buy amounts (network call)
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Use these constants instead of hardcoded strings to prevent typos
|
|
6
6
|
* and enable IDE autocomplete.
|
|
7
7
|
*
|
|
8
|
-
* Total:
|
|
8
|
+
* Total: 76 tools across 9 categories (includes 2 event watchers: DEX pools and launchpad tokens)
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* Pool Management &
|
|
11
|
+
* Pool Management, Pricing & Event Watchers (19 tools)
|
|
12
12
|
*/
|
|
13
13
|
export declare const POOL_TOOLS: {
|
|
14
14
|
readonly FETCH_POOLS: "gala_launchpad_fetch_pools";
|
|
@@ -28,6 +28,8 @@ export declare const POOL_TOOLS: {
|
|
|
28
28
|
readonly CHECK_TOKEN_SYMBOL: "gala_launchpad_check_token_symbol";
|
|
29
29
|
readonly RESOLVE_VAULT_ADDRESS: "gala_launchpad_resolve_vault_address";
|
|
30
30
|
readonly RESOLVE_TOKEN_CLASS_KEY: "gala_launchpad_resolve_token_class_key";
|
|
31
|
+
readonly ON_DEX_POOL_CREATION: "gala_launchpad_on_dex_pool_creation";
|
|
32
|
+
readonly ON_LAUNCHPAD_TOKEN_CREATION: "gala_launchpad_on_launchpad_token_creation";
|
|
31
33
|
};
|
|
32
34
|
/**
|
|
33
35
|
* Trading Operations Tools (13 tools)
|
|
@@ -207,6 +209,8 @@ export declare const MCP_TOOLS: {
|
|
|
207
209
|
readonly CHECK_TOKEN_SYMBOL: "gala_launchpad_check_token_symbol";
|
|
208
210
|
readonly RESOLVE_VAULT_ADDRESS: "gala_launchpad_resolve_vault_address";
|
|
209
211
|
readonly RESOLVE_TOKEN_CLASS_KEY: "gala_launchpad_resolve_token_class_key";
|
|
212
|
+
readonly ON_DEX_POOL_CREATION: "gala_launchpad_on_dex_pool_creation";
|
|
213
|
+
readonly ON_LAUNCHPAD_TOKEN_CREATION: "gala_launchpad_on_launchpad_token_creation";
|
|
210
214
|
};
|
|
211
215
|
/**
|
|
212
216
|
* Type helper for tool names
|
|
@@ -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
|
|
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,YAAY;;;CAGf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAehB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;CAQZ,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"}
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* Use these constants instead of hardcoded strings to prevent typos
|
|
7
7
|
* and enable IDE autocomplete.
|
|
8
8
|
*
|
|
9
|
-
* Total:
|
|
9
|
+
* Total: 76 tools across 9 categories (includes 2 event watchers: DEX pools and launchpad tokens)
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.MCP_TOOLS = exports.LIQUIDITY_TOOLS = exports.DEX_TOOLS = exports.UTILITY_TOOLS = exports.TRANSFER_TOOLS = exports.SOCIAL_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
|
/**
|
|
16
|
-
* Pool Management &
|
|
16
|
+
* Pool Management, Pricing & Event Watchers (19 tools)
|
|
17
17
|
*/
|
|
18
18
|
exports.POOL_TOOLS = {
|
|
19
19
|
FETCH_POOLS: 'gala_launchpad_fetch_pools',
|
|
@@ -33,6 +33,8 @@ exports.POOL_TOOLS = {
|
|
|
33
33
|
CHECK_TOKEN_SYMBOL: 'gala_launchpad_check_token_symbol',
|
|
34
34
|
RESOLVE_VAULT_ADDRESS: 'gala_launchpad_resolve_vault_address',
|
|
35
35
|
RESOLVE_TOKEN_CLASS_KEY: 'gala_launchpad_resolve_token_class_key',
|
|
36
|
+
ON_DEX_POOL_CREATION: 'gala_launchpad_on_dex_pool_creation',
|
|
37
|
+
ON_LAUNCHPAD_TOKEN_CREATION: 'gala_launchpad_on_launchpad_token_creation',
|
|
36
38
|
};
|
|
37
39
|
/**
|
|
38
40
|
* Trading Operations Tools (13 tools)
|
|
@@ -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;;;AAuKH,0CAEC;AAKD,0CAEC;AA9KD;;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,mCAAmC;IACvD,iBAAiB,EAAE,kCAAkC;IACrD,qBAAqB,EAAE,sCAAsC;IAC7D,sBAAsB,EAAE,uCAAuC;IAC/D,gCAAgC,EAAE,iDAAiD;IACnF,mBAAmB,EAAE,oCAAoC;IACzD,uBAAuB,EAAE,wCAAwC;IACjE,gBAAgB,EAAE,iCAAiC;IACnD,kBAAkB,EAAE,mCAAmC;IACvD,qBAAqB,EAAE,sCAAsC;IAC7D,uBAAuB,EAAE,wCAAwC;IACjE,oBAAoB,EAAE,qCAAqC;IAC3D,2BAA2B,EAAE,4CAA4C;CACjE,CAAC;AAEX;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,oBAAoB,EAAE,qCAAqC;IAC3D,0BAA0B,EAAE,2CAA2C;IACvE,6BAA6B,EAAE,8CAA8C;IAC7E,qBAAqB,EAAE,sCAAsC;IAC7D,2BAA2B,EAAE,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d.ts","sourceRoot":"","sources":["../../../src/tools/pools/onDexPoolCreation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"onDexPoolCreation.d.ts","sourceRoot":"","sources":["../../../src/tools/pools/onDexPoolCreation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,qBAAqB,EAAE,OA2DnC,CAAC"}
|
|
@@ -44,7 +44,7 @@ exports.onDexPoolCreationTool = {
|
|
|
44
44
|
intervalMs: args.intervalMs,
|
|
45
45
|
});
|
|
46
46
|
// Stop watching after duration
|
|
47
|
-
|
|
47
|
+
setTimeout(() => {
|
|
48
48
|
unsubscribe();
|
|
49
49
|
resolve((0, response_formatter_js_1.formatSuccess)({
|
|
50
50
|
poolsDetected: pools.length,
|
|
@@ -52,8 +52,6 @@ exports.onDexPoolCreationTool = {
|
|
|
52
52
|
pools,
|
|
53
53
|
}));
|
|
54
54
|
}, durationMs);
|
|
55
|
-
// Cleanup timeout if promise resolves early
|
|
56
|
-
return () => clearTimeout(timeout);
|
|
57
55
|
});
|
|
58
56
|
}),
|
|
59
57
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onDexPoolCreation.js","sourceRoot":"","sources":["../../../src/tools/pools/onDexPoolCreation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,qBAAqB,GAAY;IAC5C,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,qDAAqD;IAClE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;aACrE;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EACT,mEAAmE;aACtE;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0DAA0D;aAC7D;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC;QAE1C,MAAM,KAAK,GAAU,EAAE,CAAC;QAExB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,WAAW,GAAG,GAAG,CAAC,iBAAiB,CACvC,CAAC,IAAI,EAAE,EAAE;gBACP,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,EACD;gBACE,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,UAAU,EAAE,IAAI,CAAC,UAAU;aAC5B,CACF,CAAC;YAEF,+BAA+B;YAC/B,
|
|
1
|
+
{"version":3,"file":"onDexPoolCreation.js","sourceRoot":"","sources":["../../../src/tools/pools/onDexPoolCreation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,qBAAqB,GAAY;IAC5C,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,qDAAqD;IAClE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;aACrE;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EACT,mEAAmE;aACtE;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0DAA0D;aAC7D;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC;QAE1C,MAAM,KAAK,GAAU,EAAE,CAAC;QAExB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,WAAW,GAAG,GAAG,CAAC,iBAAiB,CACvC,CAAC,IAAI,EAAE,EAAE;gBACP,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,EACD;gBACE,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,UAAU,EAAE,IAAI,CAAC,UAAU;aAC5B,CACF,CAAC;YAEF,+BAA+B;YAC/B,UAAU,CAAC,GAAG,EAAE;gBACd,WAAW,EAAE,CAAC;gBACd,OAAO,CACL,IAAA,qCAAa,EAAC;oBACZ,aAAa,EAAE,KAAK,CAAC,MAAM;oBAC3B,eAAe;oBACf,KAAK;iBACN,CAAC,CACH,CAAC;YACJ,CAAC,EAAE,UAAU,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLaunchpadTokenCreation.d.ts","sourceRoot":"","sources":["../../../src/tools/pools/onLaunchpadTokenCreation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"onLaunchpadTokenCreation.d.ts","sourceRoot":"","sources":["../../../src/tools/pools/onLaunchpadTokenCreation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,4BAA4B,EAAE,OAqD1C,CAAC"}
|
|
@@ -38,7 +38,7 @@ exports.onLaunchpadTokenCreationTool = {
|
|
|
38
38
|
intervalMs: args.intervalMs,
|
|
39
39
|
});
|
|
40
40
|
// Stop watching after duration
|
|
41
|
-
|
|
41
|
+
setTimeout(() => {
|
|
42
42
|
unsubscribe();
|
|
43
43
|
resolve((0, response_formatter_js_1.formatSuccess)({
|
|
44
44
|
tokensDetected: tokens.length,
|
|
@@ -46,8 +46,6 @@ exports.onLaunchpadTokenCreationTool = {
|
|
|
46
46
|
tokens,
|
|
47
47
|
}));
|
|
48
48
|
}, durationMs);
|
|
49
|
-
// Cleanup timeout if promise resolves early
|
|
50
|
-
return () => clearTimeout(timeout);
|
|
51
49
|
});
|
|
52
50
|
}),
|
|
53
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLaunchpadTokenCreation.js","sourceRoot":"","sources":["../../../src/tools/pools/onLaunchpadTokenCreation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,4BAA4B,GAAY;IACnD,IAAI,EAAE,4CAA4C;IAClD,WAAW,EAAE,4DAA4D;IACzE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,2DAA2D;aAC9D;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC;QAE1C,MAAM,MAAM,GAAU,EAAE,CAAC;QAEzB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,WAAW,GAAG,GAAG,CAAC,wBAAwB,CAC9C,CAAC,KAAK,EAAE,EAAE;gBACR,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC,EACD;gBACE,cAAc,EAAE,IAAI,CAAC,cAAc;gBACnC,UAAU,EAAE,IAAI,CAAC,UAAU;aAC5B,CACF,CAAC;YAEF,+BAA+B;YAC/B,
|
|
1
|
+
{"version":3,"file":"onLaunchpadTokenCreation.js","sourceRoot":"","sources":["../../../src/tools/pools/onLaunchpadTokenCreation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,4BAA4B,GAAY;IACnD,IAAI,EAAE,4CAA4C;IAClD,WAAW,EAAE,4DAA4D;IACzE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,2DAA2D;aAC9D;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,eAAe,GAAG,IAAI,CAAC;QAE1C,MAAM,MAAM,GAAU,EAAE,CAAC;QAEzB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7B,MAAM,WAAW,GAAG,GAAG,CAAC,wBAAwB,CAC9C,CAAC,KAAK,EAAE,EAAE;gBACR,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC,EACD;gBACE,cAAc,EAAE,IAAI,CAAC,cAAc;gBACnC,UAAU,EAAE,IAAI,CAAC,UAAU;aAC5B,CACF,CAAC;YAEF,+BAA+B;YAC/B,UAAU,CAAC,GAAG,EAAE;gBACd,WAAW,EAAE,CAAC;gBACd,OAAO,CACL,IAAA,qCAAa,EAAC;oBACZ,cAAc,EAAE,MAAM,CAAC,MAAM;oBAC7B,eAAe;oBACf,MAAM;iBACP,CAAC,CACH,CAAC;YACJ,CAAC,EAAE,UAAU,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "MCP server for Gala Launchpad -
|
|
3
|
+
"version": "1.27.0",
|
|
4
|
+
"description": "MCP server for Gala Launchpad - 76 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery) 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": {
|
|
7
7
|
"gala-launchpad-mcp": "./dist/index.js"
|
|
@@ -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": "^3.
|
|
76
|
+
"@gala-chain/launchpad-sdk": "^3.31.0",
|
|
77
77
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
78
78
|
"axios": "^1.12.2",
|
|
79
79
|
"bignumber.js": "^9.1.2",
|