@gala-chain/launchpad-mcp-server 1.21.6 → 1.22.1

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 CHANGED
@@ -1,5 +1,97 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Redeploy with latest price impact fix
8
+ - Updated dependencies
9
+ - @gala-chain/launchpad-sdk@3.27.1
10
+
11
+ ## 1.22.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 0a49faf: **GalaSwap Liquidity Position Management (v3.25.0 SDK / v1.20.0 MCP)**
16
+
17
+ Comprehensive liquidity position management for concentrated liquidity provision on GalaSwap DEX.
18
+ Liquidity providers can now earn passive trading fees by providing liquidity within specific price
19
+ ranges.
20
+
21
+ ### 8 New SDK Methods (LaunchpadSDK)
22
+ 1. **getSwapUserLiquidityPositions(ownerAddress, limit?, bookmark?)** - View all open positions
23
+ for a wallet with pagination support
24
+ 2. **getSwapLiquidityPositionById(ownerAddress, positionId)** - Get specific position by UUID
25
+ 3. **getSwapLiquidityPosition(ownerAddress, position)** - Get position by token pair and tick
26
+ range
27
+ 4. **addSwapLiquidityByPrice(args)** - Create position using user-friendly price ranges (e.g.,
28
+ min: 0.95, max: 1.05)
29
+ 5. **addSwapLiquidityByTicks(args)** - Create position using precise tick boundaries (advanced)
30
+ 6. **getSwapEstimateRemoveLiquidity(args)** - Preview amounts and fees before executing removal
31
+ 7. **removeSwapLiquidity(args)** - Close or reduce position with slippage protection
32
+ 8. **collectSwapPositionFees(args)** - Harvest accumulated trading fees without closing position
33
+
34
+ ### 8 New MCP Tools
35
+
36
+ All SDK methods exposed as MCP tools with full type validation and privateKey override support:
37
+ - `gala_launchpad_get_user_liquidity_positions` - List positions with pagination
38
+ - `gala_launchpad_get_liquidity_position_by_id` - Get by position ID
39
+ - `gala_launchpad_get_liquidity_position` - Get by token pair
40
+ - `gala_launchpad_add_liquidity_by_price` - Create position (price-based)
41
+ - `gala_launchpad_add_liquidity_by_ticks` - Create position (tick-based)
42
+ - `gala_launchpad_estimate_remove_liquidity` - Estimate removal amounts
43
+ - `gala_launchpad_remove_liquidity` - Execute removal
44
+ - `gala_launchpad_collect_position_fees` - Collect accumulated fees
45
+
46
+ ### 4 New Slash Commands (Prompts)
47
+
48
+ Quick-access workflows for Claude Desktop users:
49
+ - `/galachain-launchpad:my-positions` - View all liquidity positions
50
+ - `/galachain-launchpad:add-liquidity` - Create new position (guided workflow)
51
+ - `/galachain-launchpad:remove-liquidity` - Close position (with estimates)
52
+ - `/galachain-launchpad:collect-fees` - Harvest accumulated fees
53
+
54
+ ### Key Features
55
+
56
+ **Fee Tiers**: Support for standard GalaSwap fee tiers (500 bps = 0.05%, 3000 bps = 0.30%, 10000
57
+ bps = 1.00%)
58
+
59
+ **Price Range Creation**: User-friendly price range interface (0.95 - 1.05) automatically converts
60
+ to precise tick boundaries
61
+
62
+ **Tick-Based Creation**: Advanced users can create positions using exact tick boundaries for
63
+ precise capital management
64
+
65
+ **Fee Collection**: Harvest passive trading fees without closing position
66
+
67
+ **Estimation**: Preview exact amounts and fees before executing any transaction
68
+
69
+ **Slippage Protection**: Built-in slippage tolerance for all operations
70
+
71
+ **Pagination**: Efficient position listing with bookmark support for large portfolios
72
+
73
+ ### Documentation & Examples
74
+ - **Demo Script**: `packages/sdk/examples/demo-liquidity-positions.ts` - Complete workflow
75
+ demonstration
76
+ - **SDK Docs**: `explain_sdk_usage` tool includes `liquidity-positions` topic with runnable
77
+ examples
78
+ - **Integration Guide**: CLAUDE.md includes comprehensive LP integration section
79
+
80
+ ### Test Coverage
81
+ - **54 SDK Unit Tests**: Complete test coverage for all 8 methods with edge cases
82
+ - **39 MCP Tool Tests**: Full validation of all 8 MCP tools and input schemas
83
+ - **1401 Total Tests**: Full regression test suite passing
84
+
85
+ ### Version Updates
86
+ - SDK: 3.24.2 → 3.25.0 (minor version bump)
87
+ - MCP Server: 1.19.2 → 1.20.0 (minor version bump)
88
+
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies [0a49faf]
92
+ - Updated dependencies
93
+ - @gala-chain/launchpad-sdk@3.27.0
94
+
3
95
  ## 1.19.0
4
96
 
5
97
  ### Minor Changes
@@ -3,5 +3,5 @@
3
3
  * This file is generated by scripts/inject-version.ts during build
4
4
  * DO NOT EDIT MANUALLY
5
5
  */
6
- export declare const MCP_SERVER_VERSION = "1.21.6";
6
+ export declare const MCP_SERVER_VERSION = "1.22.1";
7
7
  //# sourceMappingURL=version.d.ts.map
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.MCP_SERVER_VERSION = void 0;
9
- exports.MCP_SERVER_VERSION = '1.21.6';
9
+ exports.MCP_SERVER_VERSION = '1.22.1';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gala-chain/launchpad-mcp-server",
3
- "version": "1.21.6",
3
+ "version": "1.22.1",
4
4
  "description": "MCP server for Gala Launchpad - 62 tools (pool management, GSwap DEX trading, price history, token creation, wallet management) 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": "^3.26.6",
76
+ "@gala-chain/launchpad-sdk": "^3.27.1",
77
77
  "@modelcontextprotocol/sdk": "^0.5.0",
78
78
  "axios": "^1.12.2",
79
79
  "bignumber.js": "^9.1.2",