@gala-chain/launchpad-mcp-server 1.1.22 → 1.1.23
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/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +5 -5
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/utils/createWallet.d.ts +6 -0
- package/dist/tools/utils/createWallet.d.ts.map +1 -0
- package/dist/tools/utils/createWallet.js +26 -0
- package/dist/tools/utils/createWallet.js.map +1 -0
- package/dist/tools/utils/getAddress.d.ts +6 -0
- package/dist/tools/utils/getAddress.d.ts.map +1 -0
- package/dist/tools/utils/getAddress.js +21 -0
- package/dist/tools/utils/getAddress.js.map +1 -0
- package/dist/tools/utils/getConfig.d.ts +6 -0
- package/dist/tools/utils/getConfig.d.ts.map +1 -0
- package/dist/tools/utils/getConfig.js +21 -0
- package/dist/tools/utils/getConfig.js.map +1 -0
- package/dist/tools/utils/getEthereumAddress.d.ts +6 -0
- package/dist/tools/utils/getEthereumAddress.d.ts.map +1 -0
- package/dist/tools/utils/getEthereumAddress.js +21 -0
- package/dist/tools/utils/getEthereumAddress.js.map +1 -0
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +11 -1
- package/dist/tools/utils/index.js.map +1 -1
- package/package.json +3 -3
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tool Registry
|
|
3
3
|
*
|
|
4
|
-
* All
|
|
4
|
+
* All 37 MCP tools for Gala Launchpad
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Complete tool registry (
|
|
7
|
+
* Complete tool registry (37 tools)
|
|
8
8
|
*/
|
|
9
9
|
export declare const tools: import("../types/mcp.js").MCPTool[];
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/tools/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Tool Registry
|
|
4
4
|
*
|
|
5
|
-
* All
|
|
5
|
+
* All 37 MCP tools for Gala Launchpad
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.tools = void 0;
|
|
@@ -14,7 +14,7 @@ const index_js_5 = require("./social/index.js");
|
|
|
14
14
|
const index_js_6 = require("./transfers/index.js");
|
|
15
15
|
const index_js_7 = require("./utils/index.js");
|
|
16
16
|
/**
|
|
17
|
-
* Complete tool registry (
|
|
17
|
+
* Complete tool registry (37 tools)
|
|
18
18
|
*/
|
|
19
19
|
exports.tools = [
|
|
20
20
|
...index_js_1.poolTools, // 12 tools
|
|
@@ -23,10 +23,10 @@ exports.tools = [
|
|
|
23
23
|
...index_js_4.creationTools, // 3 tools
|
|
24
24
|
...index_js_5.socialTools, // 2 tools
|
|
25
25
|
...index_js_6.transferTools, // 2 tools
|
|
26
|
-
...index_js_7.utilityTools, //
|
|
26
|
+
...index_js_7.utilityTools, // 5 tools (added createWallet, getAddress, getEthereumAddress, getConfig)
|
|
27
27
|
];
|
|
28
28
|
// Verify tool count
|
|
29
|
-
if (exports.tools.length !==
|
|
30
|
-
console.warn(`Warning: Expected
|
|
29
|
+
if (exports.tools.length !== 37) {
|
|
30
|
+
console.warn(`Warning: Expected 37 tools, but registered ${exports.tools.length} tools`);
|
|
31
31
|
}
|
|
32
32
|
//# sourceMappingURL=index.js.map
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,+CAA6C;AAC7C,iDAAkD;AAClD,iDAAkD;AAClD,kDAAoD;AACpD,gDAAgD;AAChD,mDAAqD;AACrD,+CAAgD;AAEhD;;GAEG;AACU,QAAA,KAAK,GAAG;IACnB,GAAG,oBAAS,EAAO,WAAW;IAC9B,GAAG,uBAAY,EAAI,8CAA8C;IACjE,GAAG,uBAAY,EAAI,UAAU;IAC7B,GAAG,wBAAa,EAAG,UAAU;IAC7B,GAAG,sBAAW,EAAK,UAAU;IAC7B,GAAG,wBAAa,EAAG,UAAU;IAC7B,GAAG,uBAAY,EAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,+CAA6C;AAC7C,iDAAkD;AAClD,iDAAkD;AAClD,kDAAoD;AACpD,gDAAgD;AAChD,mDAAqD;AACrD,+CAAgD;AAEhD;;GAEG;AACU,QAAA,KAAK,GAAG;IACnB,GAAG,oBAAS,EAAO,WAAW;IAC9B,GAAG,uBAAY,EAAI,8CAA8C;IACjE,GAAG,uBAAY,EAAI,UAAU;IAC7B,GAAG,wBAAa,EAAG,UAAU;IAC7B,GAAG,sBAAW,EAAK,UAAU;IAC7B,GAAG,wBAAa,EAAG,UAAU;IAC7B,GAAG,uBAAY,EAAI,0EAA0E;CAC9F,CAAC;AAEF,oBAAoB;AACpB,IAAI,aAAK,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;IACxB,OAAO,CAAC,IAAI,CACV,8CAA8C,aAAK,CAAC,MAAM,QAAQ,CACnE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWallet.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/createWallet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,gBAAgB,EAAE,OAe9B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create Wallet Tool
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createWalletTool = void 0;
|
|
7
|
+
const launchpad_sdk_1 = require("@gala-chain/launchpad-sdk");
|
|
8
|
+
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
9
|
+
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
10
|
+
exports.createWalletTool = {
|
|
11
|
+
name: 'gala_launchpad_create_wallet',
|
|
12
|
+
description: 'Create a new wallet with a random private key. Returns wallet address and private key.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {},
|
|
16
|
+
},
|
|
17
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async () => {
|
|
18
|
+
const wallet = (0, launchpad_sdk_1.createWallet)();
|
|
19
|
+
return (0, response_formatter_js_1.formatSuccess)({
|
|
20
|
+
address: wallet.address,
|
|
21
|
+
privateKey: wallet.privateKey,
|
|
22
|
+
galaAddress: wallet.galaAddress,
|
|
23
|
+
});
|
|
24
|
+
}),
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=createWallet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWallet.js","sourceRoot":"","sources":["../../../src/tools/utils/createWallet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6DAAyD;AAEzD,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,gBAAgB,GAAY;IACvC,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,wFAAwF;IACrG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,IAAI,EAAE;QACpC,MAAM,MAAM,GAAG,IAAA,4BAAY,GAAE,CAAC;QAC9B,OAAO,IAAA,qCAAa,EAAC;YACnB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;SAChC,CAAC,CAAC;IACL,CAAC,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddress.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/getAddress.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,cAAc,EAAE,OAW5B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Get Address Tool
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getAddressTool = 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
|
+
exports.getAddressTool = {
|
|
10
|
+
name: 'gala_launchpad_get_address',
|
|
11
|
+
description: 'Get the GalaChain address format (eth|0x...) for the authenticated wallet.',
|
|
12
|
+
inputSchema: {
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {},
|
|
15
|
+
},
|
|
16
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk) => {
|
|
17
|
+
const address = sdk.getAddress();
|
|
18
|
+
return (0, response_formatter_js_1.formatSuccess)({ address });
|
|
19
|
+
}),
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=getAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddress.js","sourceRoot":"","sources":["../../../src/tools/utils/getAddress.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,cAAc,GAAY;IACrC,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,4EAA4E;IACzF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACvC,MAAM,OAAO,GAAG,GAAG,CAAC,UAAU,EAAE,CAAC;QACjC,OAAO,IAAA,qCAAa,EAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IACpC,CAAC,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfig.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/getConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,aAAa,EAAE,OAW3B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Get Config Tool
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getConfigTool = 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
|
+
exports.getConfigTool = {
|
|
10
|
+
name: 'gala_launchpad_get_config',
|
|
11
|
+
description: 'Get the current SDK configuration including environment, base URLs, timeouts, and feature flags.',
|
|
12
|
+
inputSchema: {
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {},
|
|
15
|
+
},
|
|
16
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk) => {
|
|
17
|
+
const config = sdk.getConfig();
|
|
18
|
+
return (0, response_formatter_js_1.formatSuccess)(config);
|
|
19
|
+
}),
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=getConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../../../src/tools/utils/getConfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,aAAa,GAAY;IACpC,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,kGAAkG;IAC/G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACvC,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,EAAE,CAAC;QAC/B,OAAO,IAAA,qCAAa,EAAC,MAAM,CAAC,CAAC;IAC/B,CAAC,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEthereumAddress.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/getEthereumAddress.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,eAAO,MAAM,sBAAsB,EAAE,OAWpC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Get Ethereum Address Tool
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getEthereumAddressTool = 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
|
+
exports.getEthereumAddressTool = {
|
|
10
|
+
name: 'gala_launchpad_get_ethereum_address',
|
|
11
|
+
description: 'Get the standard Ethereum address format (0x...) for the authenticated wallet.',
|
|
12
|
+
inputSchema: {
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {},
|
|
15
|
+
},
|
|
16
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk) => {
|
|
17
|
+
const address = sdk.getEthereumAddress();
|
|
18
|
+
return (0, response_formatter_js_1.formatSuccess)({ address });
|
|
19
|
+
}),
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=getEthereumAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEthereumAddress.js","sourceRoot":"","sources":["../../../src/tools/utils/getEthereumAddress.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEpD,QAAA,sBAAsB,GAAY;IAC7C,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,gFAAgF;IAC7F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,IAAA,oCAAiB,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACvC,MAAM,OAAO,GAAG,GAAG,CAAC,kBAAkB,EAAE,CAAC;QACzC,OAAO,IAAA,qCAAa,EAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IACpC,CAAC,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,eAAO,MAAM,YAAY,wCAMxB,CAAC"}
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.utilityTools = void 0;
|
|
7
|
+
const createWallet_js_1 = require("./createWallet.js");
|
|
8
|
+
const getAddress_js_1 = require("./getAddress.js");
|
|
9
|
+
const getEthereumAddress_js_1 = require("./getEthereumAddress.js");
|
|
10
|
+
const getConfig_js_1 = require("./getConfig.js");
|
|
7
11
|
const getUrlByTokenName_js_1 = require("./getUrlByTokenName.js");
|
|
8
|
-
exports.utilityTools = [
|
|
12
|
+
exports.utilityTools = [
|
|
13
|
+
createWallet_js_1.createWalletTool,
|
|
14
|
+
getAddress_js_1.getAddressTool,
|
|
15
|
+
getEthereumAddress_js_1.getEthereumAddressTool,
|
|
16
|
+
getConfig_js_1.getConfigTool,
|
|
17
|
+
getUrlByTokenName_js_1.getUrlByTokenNameTool,
|
|
18
|
+
];
|
|
9
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,iEAA+D;AAElD,QAAA,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uDAAqD;AACrD,mDAAiD;AACjD,mEAAiE;AACjE,iDAA+C;AAC/C,iEAA+D;AAElD,QAAA,YAAY,GAAG;IAC1B,kCAAgB;IAChB,8BAAc;IACd,8CAAsB;IACtB,4BAAa;IACb,4CAAqB;CACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "MCP server for Gala Launchpad SDK with
|
|
3
|
+
"version": "1.1.23",
|
|
4
|
+
"description": "MCP server for Gala Launchpad SDK with 37 tools - AI agents can interact with Gala Launchpad",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"gala-launchpad-mcp": "./dist/index.js"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"registry": "https://registry.npmjs.org/"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@gala-chain/launchpad-sdk": "^3.4.
|
|
59
|
+
"@gala-chain/launchpad-sdk": "^3.4.3",
|
|
60
60
|
"@modelcontextprotocol/sdk": "^0.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|