chaimi-keep-mcp 3.5.0-beta.1 → 3.5.0-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/package.json +1 -1
- package/references/troubleshooting.md +27 -0
- package/server.js +1 -1
package/package.json
CHANGED
|
@@ -80,6 +80,33 @@ mcporter auth 柴米AI记账 --reset
|
|
|
80
80
|
2. 在5分钟内在小程序"我的"→"AI 助手绑定"中输入
|
|
81
81
|
3. 注意区分大小写
|
|
82
82
|
|
|
83
|
+
### 1.4 签名验证失败(版本升级问题)
|
|
84
|
+
|
|
85
|
+
**现象:**
|
|
86
|
+
```
|
|
87
|
+
错误:签名验证失败
|
|
88
|
+
或
|
|
89
|
+
Unsupported state or unable to authenticate data
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**原因:**
|
|
93
|
+
- 2026年5月1日安全加固升级,旧 Token 使用的密钥已变更
|
|
94
|
+
- MCP Server 版本从 ≤3.4.0 升级到 ≥3.5.0 时需要重新授权
|
|
95
|
+
|
|
96
|
+
**解决方案:**
|
|
97
|
+
1. **手动清理旧配置(推荐):**
|
|
98
|
+
```bash
|
|
99
|
+
# 清理旧的 token 配置
|
|
100
|
+
rm -rf ~/.chaimi-keep
|
|
101
|
+
# 重新运行 MCP Server
|
|
102
|
+
chaimi-keep-mcp
|
|
103
|
+
```
|
|
104
|
+
2. 查看终端显示的新验证码
|
|
105
|
+
3. 在小程序"我的"→"AI 助手绑定"中输入新验证码
|
|
106
|
+
4. 重新尝试记账
|
|
107
|
+
|
|
108
|
+
**重要提示:** 此问题仅在安全加固版本升级时出现一次,后续不会再遇到。
|
|
109
|
+
|
|
83
110
|
> **注意:** 使用 Claude/Cursor 等原生 MCP 客户端的用户,如遇授权问题,请参考 [authentication.md - 2.3 原生 MCP 客户端授权失败](authentication.md#23-原生-mcp-客户端授权失败claudecursor)
|
|
84
111
|
|
|
85
112
|
---
|
package/server.js
CHANGED
|
@@ -202,7 +202,7 @@ async function initConfig() {
|
|
|
202
202
|
|
|
203
203
|
// 获取 API 密钥
|
|
204
204
|
if (!CHAIMI_API_SECRET) {
|
|
205
|
-
CHAIMI_API_SECRET = process.env.CHAIMI_API_SECRET || '
|
|
205
|
+
CHAIMI_API_SECRET = process.env.CHAIMI_API_SECRET || '040f513aa8f0688b4fa151865ee7515dac707f9649f48ec13c953a5e7dca0cad';
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
// 配置 URL
|