@gala-chain/launchpad-mcp-server 4.0.22-beta.4 → 4.0.22-beta.5
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 +3 -3
- 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/dist/tools/pools/index.d.ts +3 -2
- package/dist/tools/pools/index.d.ts.map +1 -1
- package/dist/tools/pools/index.js +6 -38
- package/dist/tools/pools/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/prompts/social.d.ts +0 -16
- package/dist/prompts/social.d.ts.map +0 -1
- package/dist/prompts/social.js +0 -87
- package/dist/prompts/social.js.map +0 -1
- package/dist/tools/social/index.d.ts +0 -8
- package/dist/tools/social/index.d.ts.map +0 -1
- package/dist/tools/social/index.js +0 -57
- package/dist/tools/social/index.js.map +0 -1
- package/dist/tools/utils/retrieveFromFaucet.d.ts +0 -9
- package/dist/tools/utils/retrieveFromFaucet.d.ts.map +0 -1
- package/dist/tools/utils/retrieveFromFaucet.js +0 -36
- package/dist/tools/utils/retrieveFromFaucet.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
6
6
|
|
|
7
7
|
## 🚀 Features
|
|
8
8
|
|
|
9
|
-
- **
|
|
9
|
+
- **132 AI-accessible tools** for complete Gala Launchpad integration (includes 19 pool management & event watcher tools, 13 trading operation tools, 12 balance & portfolio tools, 4 token creation tools, 2 transfer tools, 4 lock/unlock/burn tools, 19 utility tools, 29 DEX/GalaSwap tools, 12 bridge tools, 9 wrap/unwrap tools)
|
|
10
10
|
- **85 slash commands** (prompts) for streamlined workflows - 94% tool coverage (every major operation has a corresponding slash command)
|
|
11
11
|
- **Type-safe** - Full TypeScript support with validated inputs
|
|
12
12
|
- **Production-ready** - Built on [@gala-chain/launchpad-sdk ](https://www.npmjs.com/package/@gala-chain/launchpad-sdk)
|
|
@@ -50,9 +50,9 @@ MCP (Model Context Protocol) server for Gala Launchpad SDK - Enables AI agents t
|
|
|
50
50
|
|
|
51
51
|
### Tool Coverage
|
|
52
52
|
|
|
53
|
-
- **
|
|
53
|
+
- **132 total MCP tools** (full coverage of Gala Launchpad features)
|
|
54
54
|
- **85 total prompts** (up from 75 in v1.x)
|
|
55
|
-
- **65% tool→prompt coverage** (85/
|
|
55
|
+
- **65% tool→prompt coverage** (85/132 tools have dedicated prompts)
|
|
56
56
|
- **New focus**: DEX ecosystem integration, real-time monitoring, advanced quote calculations, cross-chain bridging, wrap/unwrap, token locks/burns
|
|
57
57
|
|
|
58
58
|
### Category Breakdown
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
* @see src/utils/tool-registry.ts
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* Enhanced tool registry with validation (
|
|
10
|
+
* Enhanced tool registry with validation (132 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)
|
|
14
|
-
* - Balance:
|
|
14
|
+
* - Balance: 12 tools (balance queries, locked tokens, profile, referral URL/list/summary, registerAccount)
|
|
15
15
|
* - Creation: 4 tools (token creation, launch, calculateInitialBuy)
|
|
16
16
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
17
17
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
package/dist/tools/index.js
CHANGED
|
@@ -76,11 +76,11 @@ const toolCategories = [
|
|
|
76
76
|
},
|
|
77
77
|
];
|
|
78
78
|
/**
|
|
79
|
-
* Enhanced tool registry with validation (
|
|
79
|
+
* Enhanced tool registry with validation (132 tools total):
|
|
80
80
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
81
81
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
82
82
|
* - DEX/GalaSwap: 29 tools (swap/quote, liquidity, pool discovery, leaderboard, volume, token discovery)
|
|
83
|
-
* - Balance:
|
|
83
|
+
* - Balance: 12 tools (balance queries, locked tokens, profile, referral URL/list/summary, registerAccount)
|
|
84
84
|
* - Creation: 4 tools (token creation, launch, calculateInitialBuy)
|
|
85
85
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
86
86
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
@@ -88,7 +88,7 @@ const toolCategories = [
|
|
|
88
88
|
* - Utilities: 19 tools (config, version, environment, wallet, Solana wallet, cache, cleanup, key derivation)
|
|
89
89
|
* - Bridge: 31 tools (cross-chain bridging, bridgeable/wrappable token queries, wrap/unwrap execution, devnet airdrop, tx status)
|
|
90
90
|
*/
|
|
91
|
-
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories,
|
|
91
|
+
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories, 132);
|
|
92
92
|
/**
|
|
93
93
|
* Complete tool array (for backward compatibility)
|
|
94
94
|
*/
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* Pool Management Tools
|
|
3
3
|
*/
|
|
4
4
|
import type { MCPTool } from '../../types/mcp.js';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import { fetchPoolsTool } from './fetchPools.js';
|
|
6
|
+
import { fetchPoolDetailsTool } from './fetchPoolDetails.js';
|
|
7
|
+
export { fetchPoolsTool, fetchPoolDetailsTool };
|
|
7
8
|
export declare const fetchTokenDistributionTool: MCPTool;
|
|
8
9
|
export declare const fetchTokenBadgesTool: MCPTool;
|
|
9
10
|
export declare const fetchVolumeDataTool: MCPTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/pools/index.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/pools/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AASlD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAiB7D,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,CAAC;AAGhD,eAAO,MAAM,0BAA0B,SAIrC,CAAC;AAGH,eAAO,MAAM,oBAAoB,SAI/B,CAAC;AAGH,eAAO,MAAM,mBAAmB,EAAE,OAkCjC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OA4DjC,CAAC;AAGF,eAAO,MAAM,kBAAkB,SAI7B,CAAC;AAGH,eAAO,MAAM,gCAAgC,EAAE,OAgC9C,CAAC;AAGF,eAAO,MAAM,kBAAkB,SAU7B,CAAC;AAGH,eAAO,MAAM,oBAAoB,SAU/B,CAAC;AAGH,eAAO,MAAM,uBAAuB,SAKlC,CAAC;AAGH,eAAO,MAAM,wBAAwB,SAKnC,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,OAAO,EAoB9B,CAAC"}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.poolTools = exports.resolveTokenClassKeyTool = exports.resolveVaultAddressTool = exports.checkTokenSymbolTool = exports.checkTokenNameTool = exports.fetchLaunchpadTokenSpotPriceTool = exports.fetchGalaPriceTool = exports.fetchTokenPriceTool = exports.fetchVolumeDataTool = exports.fetchTokenBadgesTool = exports.fetchTokenDistributionTool = exports.fetchPoolDetailsTool = exports.fetchPoolsTool = void 0;
|
|
7
|
-
const launchpad_sdk_1 = require("@gala-chain/launchpad-sdk");
|
|
8
7
|
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
9
8
|
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
10
9
|
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
10
|
+
const fetchPools_js_1 = require("./fetchPools.js");
|
|
11
|
+
Object.defineProperty(exports, "fetchPoolsTool", { enumerable: true, get: function () { return fetchPools_js_1.fetchPoolsTool; } });
|
|
12
|
+
const fetchPoolDetails_js_1 = require("./fetchPoolDetails.js");
|
|
13
|
+
Object.defineProperty(exports, "fetchPoolDetailsTool", { enumerable: true, get: function () { return fetchPoolDetails_js_1.fetchPoolDetailsTool; } });
|
|
11
14
|
const fetchPoolDetailsForCalculation_js_1 = require("./fetchPoolDetailsForCalculation.js");
|
|
12
15
|
const fetchAllPools_js_1 = require("./fetchAllPools.js");
|
|
13
16
|
const fetchPriceHistory_js_1 = require("./fetchPriceHistory.js");
|
|
@@ -17,41 +20,6 @@ const onDexPoolCreation_js_1 = require("./onDexPoolCreation.js");
|
|
|
17
20
|
const onLaunchpadTokenCreation_js_1 = require("./onLaunchpadTokenCreation.js");
|
|
18
21
|
const tool_factory_js_1 = require("../../utils/tool-factory.js");
|
|
19
22
|
const default_values_js_1 = require("../../utils/default-values.js");
|
|
20
|
-
// 1. Fetch Pools
|
|
21
|
-
exports.fetchPoolsTool = {
|
|
22
|
-
name: 'gala_launchpad_fetch_pools',
|
|
23
|
-
description: 'Fetch token pools from Gala Launchpad with filtering and pagination',
|
|
24
|
-
inputSchema: {
|
|
25
|
-
type: 'object',
|
|
26
|
-
properties: {
|
|
27
|
-
type: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
enum: Object.values(launchpad_sdk_1.POOL_TYPES),
|
|
30
|
-
description: 'Type of pools to fetch (default: recent)',
|
|
31
|
-
},
|
|
32
|
-
creatorAddress: {
|
|
33
|
-
...common_schemas_js_1.ADDRESS_SCHEMA,
|
|
34
|
-
description: 'Filter by creator address (optional)',
|
|
35
|
-
},
|
|
36
|
-
page: common_schemas_js_1.PAGE_SCHEMA,
|
|
37
|
-
limit: (0, common_schemas_js_1.createLimitSchema)('pool', 20),
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
41
|
-
const result = await sdk.fetchPools({
|
|
42
|
-
type: args.type || 'recent',
|
|
43
|
-
page: args.page || 1,
|
|
44
|
-
limit: args.limit || 20,
|
|
45
|
-
});
|
|
46
|
-
return (0, response_formatter_js_1.formatSuccess)(result);
|
|
47
|
-
}),
|
|
48
|
-
};
|
|
49
|
-
// 2. Fetch Pool Details (73% code reduction via factory pattern)
|
|
50
|
-
exports.fetchPoolDetailsTool = (0, tool_factory_js_1.createSimpleTokenFetchTool)({
|
|
51
|
-
name: 'gala_launchpad_fetch_pool_details',
|
|
52
|
-
description: 'Get detailed pool state from GalaChain bonding curve',
|
|
53
|
-
handler: (sdk, tokenName) => sdk.fetchPoolDetails(tokenName),
|
|
54
|
-
});
|
|
55
23
|
// 3. Fetch Token Distribution (73% code reduction via factory pattern)
|
|
56
24
|
exports.fetchTokenDistributionTool = (0, tool_factory_js_1.createSimpleTokenFetchTool)({
|
|
57
25
|
name: 'gala_launchpad_fetch_token_distribution',
|
|
@@ -239,9 +207,9 @@ exports.resolveTokenClassKeyTool = (0, tool_factory_js_1.createResolutionTool)({
|
|
|
239
207
|
resultKey: 'tokenClassKey',
|
|
240
208
|
});
|
|
241
209
|
exports.poolTools = [
|
|
242
|
-
|
|
210
|
+
fetchPools_js_1.fetchPoolsTool,
|
|
243
211
|
fetchAllPools_js_1.fetchAllPoolsTool,
|
|
244
|
-
|
|
212
|
+
fetchPoolDetails_js_1.fetchPoolDetailsTool,
|
|
245
213
|
fetchPoolDetailsForCalculation_js_1.fetchPoolDetailsForCalculationTool,
|
|
246
214
|
fetchTokenDetails_js_1.fetchTokenDetailsTool,
|
|
247
215
|
exports.fetchTokenDistributionTool,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/pools/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/pools/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AACjE,uEAKyC;AACzC,mDAAiD;AAkBxC,+FAlBA,8BAAc,OAkBA;AAjBvB,+DAA6D;AAiBpC,qGAjBhB,0CAAoB,OAiBgB;AAhB7C,2FAAyF;AACzF,yDAAuD;AACvD,iEAA+D;AAC/D,uEAAqE;AACrE,iEAA+D;AAC/D,iEAA+D;AAC/D,+EAA6E;AAC7E,iEAKqC;AACrC,qEAAoH;AAKpH,uEAAuE;AAC1D,QAAA,0BAA0B,GAAG,IAAA,4CAA0B,EAAC;IACnE,IAAI,EAAE,yCAAyC;IAC/C,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC,SAAS,CAAC;CACnE,CAAC,CAAC;AAEH,iEAAiE;AACpD,QAAA,oBAAoB,GAAG,IAAA,4CAA0B,EAAC;IAC7D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kDAAkD;IAC/D,OAAO,EAAE,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,SAAS,CAAC;CAC7D,CAAC,CAAC;AAEH,oEAAoE;AACvD,QAAA,mBAAmB,GAAY;IAC1C,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,2CAA2C;IACxD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE,qCAAiB;YAC5B,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,WAAW;gBACnB,WAAW,EAAE,uBAAuB;aACrC;YACD,EAAE,EAAE;gBACF,IAAI,EAAE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,CAAC,sBAAsB,CAAC,MAAM,CAAC;IAC5D,QAAQ,EAAE;QACR,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE,+BAA+B;KACvC;CACF,CAAC,CAAC;AAEH,qEAAqE;AACxD,QAAA,uBAAuB,GAAG,IAAA,sCAAoB,EAAC;IAC1D,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,mBAAmB,CAAC,SAAS,CAAC;IAChE,SAAS,EAAE,cAAc;CAC1B,CAAC,CAAC;AAEH,uEAAuE;AAC1D,QAAA,wBAAwB,GAAG,IAAA,sCAAoB,EAAC;IAC3D,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EAAE,4FAA4F;IACzG,QAAQ,EAAE,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,SAAS,CAAC;IACjE,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAEU,QAAA,SAAS,GAAc;IAClC,8BAAc;IACd,oCAAiB;IACjB,0CAAoB;IACpB,sEAAkC;IAClC,4CAAqB;IACrB,kCAA0B;IAC1B,4BAAoB;IACpB,2BAAmB;IACnB,2BAAmB;IACnB,0BAAkB;IAClB,wCAAgC;IAChC,4CAAqB;IACrB,kDAAwB;IACxB,0BAAkB;IAClB,4BAAoB;IACpB,+BAAuB;IACvB,gCAAwB;IACxB,4CAAqB;IACrB,0DAA4B;CAC7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "4.0.22-beta.
|
|
3
|
+
"version": "4.0.22-beta.5",
|
|
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.22-beta.
|
|
76
|
+
"@gala-chain/launchpad-sdk": "4.0.22-beta.5",
|
|
77
77
|
"@humanwhocodes/config-array": "^0.13.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
79
79
|
"axios": "^1.12.2",
|
package/dist/prompts/social.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Social Interaction Prompts
|
|
3
|
-
*
|
|
4
|
-
* Slash commands for comments and social interactions
|
|
5
|
-
*/
|
|
6
|
-
import type { MCPPrompt } from '../types/mcp.js';
|
|
7
|
-
/**
|
|
8
|
-
* Post Comment - Post comment on token
|
|
9
|
-
*/
|
|
10
|
-
export declare const postCommentPrompt: MCPPrompt;
|
|
11
|
-
/**
|
|
12
|
-
* Fetch Comments - Get token comments
|
|
13
|
-
*/
|
|
14
|
-
export declare const fetchCommentsPrompt: MCPPrompt;
|
|
15
|
-
export declare const socialPrompts: MCPPrompt[];
|
|
16
|
-
//# sourceMappingURL=social.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/prompts/social.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,SA+B/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAqCjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAAS,EAGpC,CAAC"}
|
package/dist/prompts/social.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Social Interaction Prompts
|
|
4
|
-
*
|
|
5
|
-
* Slash commands for comments and social interactions
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.socialPrompts = exports.fetchCommentsPrompt = exports.postCommentPrompt = void 0;
|
|
9
|
-
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
10
|
-
const validation_js_1 = require("../utils/validation.js");
|
|
11
|
-
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
|
|
12
|
-
const textTemplates_js_1 = require("./utils/textTemplates.js");
|
|
13
|
-
/**
|
|
14
|
-
* Post Comment - Post comment on token
|
|
15
|
-
*/
|
|
16
|
-
exports.postCommentPrompt = {
|
|
17
|
-
name: 'galachain-launchpad:post-comment',
|
|
18
|
-
description: 'Post a comment on a token pool',
|
|
19
|
-
arguments: [
|
|
20
|
-
{
|
|
21
|
-
name: 'tokenName',
|
|
22
|
-
description: 'Token name (e.g., anime)',
|
|
23
|
-
required: true,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'message',
|
|
27
|
-
description: 'Comment message (max 500 characters)',
|
|
28
|
-
required: true,
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
handler: (args) => {
|
|
32
|
-
(0, validation_js_1.validateTokenName)(args.tokenName);
|
|
33
|
-
return (0, handlerHelpers_js_1.createPromptResponse)((0, textTemplates_js_1.createSimpleOperationText)({
|
|
34
|
-
operation: 'Post comment on token pool.',
|
|
35
|
-
parameters: {
|
|
36
|
-
token: `Token: ${args.tokenName}`,
|
|
37
|
-
message: `Message: ${args.message}`,
|
|
38
|
-
},
|
|
39
|
-
toolName: mcpToolNames_js_1.MCP_TOOLS.POST_COMMENT,
|
|
40
|
-
actionDescription: 'post the comment',
|
|
41
|
-
displayFormat: 'Display confirmation of successful comment posting.',
|
|
42
|
-
}));
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Fetch Comments - Get token comments
|
|
47
|
-
*/
|
|
48
|
-
exports.fetchCommentsPrompt = {
|
|
49
|
-
name: 'galachain-launchpad:fetch-comments',
|
|
50
|
-
description: 'Get comments for a token pool',
|
|
51
|
-
arguments: [
|
|
52
|
-
{
|
|
53
|
-
name: 'tokenName',
|
|
54
|
-
description: 'Token name (e.g., anime)',
|
|
55
|
-
required: true,
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: 'page',
|
|
59
|
-
description: 'Page number (default: 1)',
|
|
60
|
-
required: false,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: 'limit',
|
|
64
|
-
description: 'Results per page (default: 20)',
|
|
65
|
-
required: false,
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
handler: (args) => {
|
|
69
|
-
(0, validation_js_1.validateTokenName)(args.tokenName);
|
|
70
|
-
return (0, handlerHelpers_js_1.createPromptResponse)((0, textTemplates_js_1.createSimpleOperationText)({
|
|
71
|
-
operation: 'Fetch comments for token pool.',
|
|
72
|
-
parameters: {
|
|
73
|
-
token: `Token: ${args.tokenName}`,
|
|
74
|
-
page: `Page: ${args.page || 1}`,
|
|
75
|
-
limit: `Limit: ${args.limit || 20}`,
|
|
76
|
-
},
|
|
77
|
-
toolName: mcpToolNames_js_1.MCP_TOOLS.FETCH_COMMENTS,
|
|
78
|
-
actionDescription: 'retrieve comments',
|
|
79
|
-
displayFormat: 'Display the comments with author information and timestamps.',
|
|
80
|
-
}));
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
exports.socialPrompts = [
|
|
84
|
-
exports.postCommentPrompt,
|
|
85
|
-
exports.fetchCommentsPrompt,
|
|
86
|
-
];
|
|
87
|
-
//# sourceMappingURL=social.js.map
|
|
@@ -1 +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,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QAChB,IAAA,iCAAiB,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAElC,OAAO,IAAA,wCAAoB,EACzB,IAAA,4CAAyB,EAAC;YACxB,SAAS,EAAE,gCAAgC;YAC3C,UAAU,EAAE;gBACV,KAAK,EAAE,UAAU,IAAI,CAAC,SAAS,EAAE;gBACjC,IAAI,EAAE,SAAS,IAAI,CAAC,IAAI,IAAI,CAAC,EAAE;gBAC/B,KAAK,EAAE,UAAU,IAAI,CAAC,KAAK,IAAI,EAAE,EAAE;aACpC;YACD,QAAQ,EAAE,2BAAS,CAAC,cAAc;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,aAAa,EAAE,8DAA8D;SAC9E,CAAC,CACH,CAAC;IACJ,CAAC;CACF,CAAC;AAEW,QAAA,aAAa,GAAgB;IACxC,yBAAiB;IACjB,2BAAmB;CACpB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Comments & Social Tools
|
|
3
|
-
*/
|
|
4
|
-
import type { MCPTool } from '../../types/mcp.js';
|
|
5
|
-
export declare const postCommentTool: MCPTool;
|
|
6
|
-
export declare const fetchCommentsTool: MCPTool;
|
|
7
|
-
export declare const socialTools: MCPTool[];
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/social/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAalD,eAAO,MAAM,eAAe,EAAE,OAqB7B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,OAoB/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,EAAyC,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Comments & Social Tools
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.socialTools = exports.fetchCommentsTool = exports.postCommentTool = void 0;
|
|
7
|
-
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
8
|
-
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
9
|
-
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
10
|
-
const default_values_js_1 = require("../../utils/default-values.js");
|
|
11
|
-
// 1. Post Comment
|
|
12
|
-
exports.postCommentTool = {
|
|
13
|
-
name: 'gala_launchpad_post_comment',
|
|
14
|
-
description: 'Post a comment on a token pool',
|
|
15
|
-
inputSchema: {
|
|
16
|
-
type: 'object',
|
|
17
|
-
properties: {
|
|
18
|
-
tokenName: common_schemas_js_1.TOKEN_NAME_SCHEMA,
|
|
19
|
-
message: common_schemas_js_1.COMMENT_MESSAGE_SCHEMA,
|
|
20
|
-
privateKey: common_schemas_js_1.PRIVATE_KEY_SCHEMA,
|
|
21
|
-
},
|
|
22
|
-
required: ['tokenName', 'message'],
|
|
23
|
-
},
|
|
24
|
-
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
25
|
-
await sdk.postComment({
|
|
26
|
-
tokenName: args.tokenName,
|
|
27
|
-
content: args.message, // MCP parameter "message" → SDK parameter "content"
|
|
28
|
-
privateKey: args.privateKey,
|
|
29
|
-
});
|
|
30
|
-
// postComment returns void, so return success message
|
|
31
|
-
return (0, response_formatter_js_1.formatSuccess)({ success: true, message: 'Comment posted successfully' });
|
|
32
|
-
}),
|
|
33
|
-
};
|
|
34
|
-
// 2. Fetch Comments (using centralized pagination defaults)
|
|
35
|
-
exports.fetchCommentsTool = {
|
|
36
|
-
name: 'gala_launchpad_fetch_comments',
|
|
37
|
-
description: 'Get comments for a token pool',
|
|
38
|
-
inputSchema: {
|
|
39
|
-
type: 'object',
|
|
40
|
-
properties: {
|
|
41
|
-
tokenName: common_schemas_js_1.TOKEN_NAME_SCHEMA,
|
|
42
|
-
page: common_schemas_js_1.PAGE_SCHEMA,
|
|
43
|
-
limit: (0, common_schemas_js_1.createLimitSchema)('comment', 20),
|
|
44
|
-
},
|
|
45
|
-
required: ['tokenName'],
|
|
46
|
-
},
|
|
47
|
-
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
48
|
-
const pagination = (0, default_values_js_1.applyOperationPaginationDefaults)(args, 'comment');
|
|
49
|
-
const result = await sdk.fetchComments({
|
|
50
|
-
tokenName: args.tokenName,
|
|
51
|
-
...pagination,
|
|
52
|
-
});
|
|
53
|
-
return (0, response_formatter_js_1.formatSuccess)(result);
|
|
54
|
-
}),
|
|
55
|
-
};
|
|
56
|
-
exports.socialTools = [exports.postCommentTool, exports.fetchCommentsTool];
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/social/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AACjE,uEAMyC;AACzC,qEAAiF;AAEjF,kBAAkB;AACL,QAAA,eAAe,GAAY;IACtC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE,qCAAiB;YAC5B,OAAO,EAAE,0CAAsB;YAC/B,UAAU,EAAE,sCAAkB;SAC/B;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC;KACnC;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,GAAG,CAAC,WAAW,CAAC;YACpB,SAAS,EAAE,IAAI,CAAC,SAAmB;YACnC,OAAO,EAAE,IAAI,CAAC,OAAiB,EAAE,oDAAoD;YACrF,UAAU,EAAE,IAAI,CAAC,UAAgC;SAClD,CAAC,CAAC;QACH,sDAAsD;QACtD,OAAO,IAAA,qCAAa,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC,CAAC;IAClF,CAAC,CAAC;CACH,CAAC;AAEF,4DAA4D;AAC/C,QAAA,iBAAiB,GAAY;IACxC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,+BAA+B;IAC5C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE,qCAAiB;YAC5B,IAAI,EAAE,+BAAW;YACjB,KAAK,EAAE,IAAA,qCAAiB,EAAC,SAAS,EAAE,EAAE,CAAC;SACxC;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,UAAU,GAAG,IAAA,oDAAgC,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,aAAa,CAAC;YACrC,SAAS,EAAE,IAAI,CAAC,SAAmB;YACnC,GAAG,UAAU;SACd,CAAC,CAAC;QACH,OAAO,IAAA,qCAAa,EAAC,MAAM,CAAC,CAAC;IAC/B,CAAC,CAAC;CACH,CAAC;AAEW,QAAA,WAAW,GAAc,CAAC,uBAAe,EAAE,yBAAiB,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieve From Faucet Tool
|
|
3
|
-
*
|
|
4
|
-
* Retrieves GALA from the faucet to a wallet address.
|
|
5
|
-
* Backend provides a fixed amount (5 GALA) regardless of amount parameter.
|
|
6
|
-
*/
|
|
7
|
-
import type { MCPTool } from '../../types/mcp.js';
|
|
8
|
-
export declare const retrieveFromFaucetTool: MCPTool;
|
|
9
|
-
//# sourceMappingURL=retrieveFromFaucet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieveFromFaucet.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/retrieveFromFaucet.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM,sBAAsB,EAAE,OA0BpC,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Retrieve From Faucet Tool
|
|
4
|
-
*
|
|
5
|
-
* Retrieves GALA from the faucet to a wallet address.
|
|
6
|
-
* Backend provides a fixed amount (5 GALA) regardless of amount parameter.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.retrieveFromFaucetTool = void 0;
|
|
10
|
-
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
11
|
-
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
12
|
-
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
13
|
-
exports.retrieveFromFaucetTool = {
|
|
14
|
-
name: 'gala_launchpad_retrieve_from_faucet',
|
|
15
|
-
description: 'Retrieve GALA from faucet to wallet. Backend provides a fixed amount (5 GALA). Useful for testing and development.',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
walletAddress: {
|
|
20
|
-
...common_schemas_js_1.ADDRESS_SCHEMA,
|
|
21
|
-
description: 'Optional wallet address override (defaults to SDK authenticated wallet). Format: "eth|0x..." or "0x..."',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
26
|
-
const walletAddress = args?.walletAddress;
|
|
27
|
-
await sdk.retrieveGalaFromFaucet(walletAddress);
|
|
28
|
-
return (0, response_formatter_js_1.formatSuccess)({
|
|
29
|
-
message: 'Successfully retrieved 5 GALA from faucet',
|
|
30
|
-
walletAddress: walletAddress || sdk.getAddress(),
|
|
31
|
-
amount: '5',
|
|
32
|
-
token: 'GALA',
|
|
33
|
-
});
|
|
34
|
-
}),
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=retrieveFromFaucet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieveFromFaucet.js","sourceRoot":"","sources":["../../../src/tools/utils/retrieveFromFaucet.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,mEAAiE;AACjE,6EAAkE;AAClE,uEAAiE;AAGpD,QAAA,sBAAsB,GAAY;IAC7C,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,oHAAoH;IACtH,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,GAAG,kCAAc;gBACjB,WAAW,EACT,yGAAyG;aAC5G;SACF;KACF;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC7C,MAAM,aAAa,GAAG,IAAI,EAAE,aAAmC,CAAC;QAEhE,MAAM,GAAG,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC;QAEhD,OAAO,IAAA,qCAAa,EAAC;YACnB,OAAO,EAAE,2CAA2C;YACpD,aAAa,EAAE,aAAa,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,MAAM,EAAE,GAAG;YACX,KAAK,EAAE,MAAM;SACd,CAAC,CAAC;IACL,CAAC,CAAC;CACH,CAAC"}
|