@gala-chain/launchpad-mcp-server 4.0.22-beta.1 → 4.0.22-beta.3
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/DOCS_AUDIT_REPORT.md +189 -0
- package/MCP_TEST_ANALYSIS.md +203 -1615
- package/README.md +6 -4
- package/dist/constants/mcpToolNames.d.ts +1 -1
- package/dist/constants/mcpToolNames.js +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +146 -57
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/dist/tools/utils/getConfig.js +1 -1
- package/dist/tools/utils/getConfig.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Documentation Audit Report
|
|
2
|
+
|
|
3
|
+
**Generated:** 2025-12-09
|
|
4
|
+
**SDK Version:** 4.0.22-beta.1
|
|
5
|
+
**MCP Server Version:** 4.0.22-beta.1
|
|
6
|
+
**MCP Tool Count:** 128
|
|
7
|
+
|
|
8
|
+
## Executive Summary
|
|
9
|
+
|
|
10
|
+
| Category | Status | Critical Issues |
|
|
11
|
+
|----------|--------|-----------------|
|
|
12
|
+
| READMEs | CRITICAL | Version 4.0.17-beta.2 (outdated), tool count 105 (should be 128) |
|
|
13
|
+
| Docs | WARNING | Version mismatches in 4 files, outdated method counts |
|
|
14
|
+
| CLAUDE.md | CRITICAL | Tool count 127→128, demo counts outdated (79→92) |
|
|
15
|
+
| Package.json | CRITICAL | MCP description says "105 tools" (should be 128) |
|
|
16
|
+
| Examples | OK | 3 hardcoded imports, no deprecated API usage |
|
|
17
|
+
| explainSdkUsage | CRITICAL | 'locks' topic uses deprecated singular methods, missing burn-tokens topic |
|
|
18
|
+
| JSDoc | EXCELLENT | All methods fully documented |
|
|
19
|
+
| Cleanup | WARNING | Stale files found |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Category Details
|
|
24
|
+
|
|
25
|
+
### 1. README Files
|
|
26
|
+
|
|
27
|
+
#### Root README.md
|
|
28
|
+
- **Line 40**: Version `4.0.17-beta.2` → should be `4.0.22-beta.1`
|
|
29
|
+
- **Line 122**: Tool count `105 tools` → should be `128 tools`
|
|
30
|
+
|
|
31
|
+
#### packages/sdk/README.md
|
|
32
|
+
- Version reference outdated in multiple locations
|
|
33
|
+
|
|
34
|
+
#### packages/mcp-server/README.md
|
|
35
|
+
- **Description**: Says "105 tools" → should be "128 tools"
|
|
36
|
+
- **Installation example**: Uses outdated version reference
|
|
37
|
+
- **Slash command section**: Inconsistent tool count
|
|
38
|
+
|
|
39
|
+
### 2. Documentation Files
|
|
40
|
+
|
|
41
|
+
| File | Issue |
|
|
42
|
+
|------|-------|
|
|
43
|
+
| docs/API-REFERENCE.md | Missing new method documentation |
|
|
44
|
+
| docs/DOCUMENTATION_CHANGELOG.md | Outdated SDK method count (116) |
|
|
45
|
+
| docs/gswap-integration.md | Version mismatch (v4.0.17-beta.2) |
|
|
46
|
+
| docs/LIQUIDITY_DEMOS.md | Version mismatch |
|
|
47
|
+
| docs/LIQUIDITY_PRICING_OPTIONS.md | Version mismatch |
|
|
48
|
+
|
|
49
|
+
**Good news:** No deprecated `lockToken`/`unlockToken` references found in docs.
|
|
50
|
+
|
|
51
|
+
### 3. CLAUDE.md
|
|
52
|
+
|
|
53
|
+
| Line | Current | Should Be |
|
|
54
|
+
|------|---------|-----------|
|
|
55
|
+
| 297 | "127 tools" | "128 tools" |
|
|
56
|
+
| 363 | "79 demos" | "92 demos" |
|
|
57
|
+
| 604 | "82 working examples" | "92 working examples" |
|
|
58
|
+
| 605 | "74 demo: script shortcuts" | "86 demo: script shortcuts" |
|
|
59
|
+
|
|
60
|
+
### 4. Package.json Files
|
|
61
|
+
|
|
62
|
+
#### Root package.json
|
|
63
|
+
- Version: `4.0.17-beta.2` → should be `4.0.22-beta.1`
|
|
64
|
+
- Tool count reference: `105 tools` → should be `128 tools`
|
|
65
|
+
|
|
66
|
+
#### packages/mcp-server/package.json (Line 4)
|
|
67
|
+
- Description: `"105 tools"` → should be `"128 tools"`
|
|
68
|
+
|
|
69
|
+
#### packages/sdk/package.json
|
|
70
|
+
- **Correct** - Version is `4.0.22-beta.1`
|
|
71
|
+
|
|
72
|
+
### 5. Examples Audit
|
|
73
|
+
|
|
74
|
+
**Statistics:**
|
|
75
|
+
- **Total demo files:** 92
|
|
76
|
+
- **npm scripts registered:** 86
|
|
77
|
+
- **Categories:** 11 organized directories
|
|
78
|
+
|
|
79
|
+
**Issues Found:**
|
|
80
|
+
- 3 files with hardcoded absolute imports in fees demos:
|
|
81
|
+
- `examples/fees/trade-and-collect-fees.ts`
|
|
82
|
+
- `examples/fees/demo-multi-wallet-fee-generation.ts`
|
|
83
|
+
- `examples/fees/demo-fee-generation-and-collection.ts`
|
|
84
|
+
|
|
85
|
+
**Good news:** No deprecated `lockToken`/`unlockToken` usage found.
|
|
86
|
+
|
|
87
|
+
### 6. explainSdkUsage Coverage
|
|
88
|
+
|
|
89
|
+
**CRITICAL ISSUES:**
|
|
90
|
+
|
|
91
|
+
#### 'locks' Topic (Line 39, 700-824)
|
|
92
|
+
Uses deprecated singular methods throughout:
|
|
93
|
+
- `lockToken()` → should be `lockTokens()`
|
|
94
|
+
- `unlockToken()` → should be `unlockTokens()`
|
|
95
|
+
|
|
96
|
+
**Affected lines in SDK_EXAMPLES:**
|
|
97
|
+
- Line 704: `lockToken()` method reference
|
|
98
|
+
- Line 705: `unlockToken()` method reference
|
|
99
|
+
- Line 722: `sdk.lockToken({`
|
|
100
|
+
- Line 735: `sdk.lockToken({`
|
|
101
|
+
- Line 746: `sdk.lockToken({`
|
|
102
|
+
- Line 760: `sdk.unlockToken({`
|
|
103
|
+
- Line 769: `sdk.unlockToken({`
|
|
104
|
+
- Line 783: `sdk.lockToken({`
|
|
105
|
+
- Line 794: `sdk.unlockToken({`
|
|
106
|
+
- Line 810: `sdk.lockToken({`
|
|
107
|
+
- Line 821: `sdk.unlockToken({` (comment)
|
|
108
|
+
|
|
109
|
+
#### Missing Topic
|
|
110
|
+
- **burn-tokens** topic missing entirely - `burnTokens()` method has no documentation
|
|
111
|
+
|
|
112
|
+
#### Description Mismatch
|
|
113
|
+
- Line 3337: Claims "34 composite workflow topics" but enum has 34 topics
|
|
114
|
+
- Should update to reflect any new topics added
|
|
115
|
+
|
|
116
|
+
### 7. JSDoc Coverage
|
|
117
|
+
|
|
118
|
+
**EXCELLENT** - All new methods have comprehensive JSDoc:
|
|
119
|
+
- `lockTokens()` - Full documentation with @example
|
|
120
|
+
- `unlockTokens()` - Full documentation with @example
|
|
121
|
+
- `burnTokens()` - Full documentation with @example
|
|
122
|
+
- All parameters, return types, and batch behavior documented
|
|
123
|
+
|
|
124
|
+
### 8. Stale/Rogue Files
|
|
125
|
+
|
|
126
|
+
| File | Status | Action |
|
|
127
|
+
|------|--------|--------|
|
|
128
|
+
| DOCS_AUDIT_REPORT.md | Stale (2025-12-07) | Will be replaced by this report |
|
|
129
|
+
| DOCS_AUDIT_FOLLOWUP.md | Can be archived | Archive or delete |
|
|
130
|
+
| MCP_COVERAGE_REPORT.md | Stale (references "103 tools") | Update or archive |
|
|
131
|
+
| .claude/commands/*.md | Tool counts outdated | Update |
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Required Fixes
|
|
136
|
+
|
|
137
|
+
### High Priority (CRITICAL)
|
|
138
|
+
|
|
139
|
+
1. **explainSdkUsage.ts 'locks' topic**
|
|
140
|
+
- Replace all `lockToken` → `lockTokens`
|
|
141
|
+
- Replace all `unlockToken` → `unlockTokens`
|
|
142
|
+
- Update method examples to use batch API
|
|
143
|
+
|
|
144
|
+
2. **Add 'burn-tokens' topic to explainSdkUsage.ts**
|
|
145
|
+
- Add to TOPIC_METHOD_MAPPING
|
|
146
|
+
- Add to COMPOSITE_TOPICS
|
|
147
|
+
- Add to enum in inputSchema
|
|
148
|
+
- Add SDK_EXAMPLES entry
|
|
149
|
+
|
|
150
|
+
3. **Update tool counts across all files**
|
|
151
|
+
- 105 → 128 (multiple files)
|
|
152
|
+
- 127 → 128 (CLAUDE.md)
|
|
153
|
+
|
|
154
|
+
4. **Update MCP package.json description**
|
|
155
|
+
- "105 tools" → "128 tools"
|
|
156
|
+
|
|
157
|
+
### Medium Priority (WARNING)
|
|
158
|
+
|
|
159
|
+
5. **Update version numbers**
|
|
160
|
+
- 4.0.17-beta.2 → 4.0.22-beta.1 in root README
|
|
161
|
+
|
|
162
|
+
6. **Update demo/script counts in CLAUDE.md**
|
|
163
|
+
- 79 → 92 demos
|
|
164
|
+
- 74 → 86 npm scripts
|
|
165
|
+
- 82 → 92 working examples
|
|
166
|
+
|
|
167
|
+
### Low Priority
|
|
168
|
+
|
|
169
|
+
7. **Fix hardcoded imports in fees examples**
|
|
170
|
+
- Use relative imports instead of absolute paths
|
|
171
|
+
|
|
172
|
+
8. **Archive stale documentation files**
|
|
173
|
+
- DOCS_AUDIT_FOLLOWUP.md
|
|
174
|
+
- MCP_COVERAGE_REPORT.md (if outdated)
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Action Plan
|
|
179
|
+
|
|
180
|
+
1. Fix explainSdkUsage.ts (locks topic + add burn-tokens)
|
|
181
|
+
2. Update tool counts across all documentation
|
|
182
|
+
3. Update version references
|
|
183
|
+
4. Update demo counts in CLAUDE.md
|
|
184
|
+
5. Fix hardcoded imports
|
|
185
|
+
6. Archive stale files
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
*This report was generated by the `/scour-docs all` documentation audit command.*
|