@eldment/meting-mcp 1.6.4 → 1.6.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 CHANGED
@@ -23,10 +23,16 @@ Claude 示例配置:
23
23
  "mcpServers": {
24
24
  "meting": {
25
25
  "command": "npx",
26
- "args": ["-y", "@eldment/meting-mcp@latest"],
26
+ "args": [
27
+ "-y",
28
+ "@eldment/meting-mcp@latest"
29
+ ],
27
30
  "env": {
28
- "METING_NETEASE_COOKIE": "...",
29
- "METING_TENCENT_COOKIE": "..."
31
+ "METING_NETEASE_COOKIE": "__csrf=...; MUSIC_U=...; NMTID=...; __remember_me=true;",
32
+ "METING_TENCENT_COOKIE": "uin=...; qm_keyst=...; qqmusic_key=...;",
33
+ "METING_KUGOU_COOKIE": "KugooID=...; t=...; dfid=...; mid=...;",
34
+ "METING_BAIDU_COOKIE": "...",
35
+ "METING_KUWO_COOKIE": "..."
30
36
  },
31
37
  "timeout": 60000
32
38
  }
@@ -45,8 +51,11 @@ args = [
45
51
  "@eldment/meting-mcp@latest",
46
52
  ]
47
53
  env = {
48
- METING_NETEASE_COOKIE = "...",
49
- METING_TENCENT_COOKIE = "...",
54
+ METING_NETEASE_COOKIE = "__csrf=...; MUSIC_U=...; NMTID=...; __remember_me=true;",
55
+ METING_TENCENT_COOKIE = "uin=...; qm_keyst=...; qqmusic_key=...;",
56
+ METING_KUGOU_COOKIE = "KugooID=...; t=...; dfid=...; mid=...;",
57
+ METING_BAIDU_COOKIE = "...",
58
+ METING_KUWO_COOKIE = "...",
50
59
  }
51
60
  tool_timeout_sec = 60
52
61
  disabled = false
@@ -67,7 +76,7 @@ MCP 运行时会优先从环境变量读取 cookie,再回退到工具输入参
67
76
  - `METING_KUGOU_COOKIE`
68
77
  - `METING_BAIDU_COOKIE`
69
78
  - `METING_KUWO_COOKIE`
70
- - `METING_COOKIE`(兜底变量)
79
+ - `METING_COOKIE`(通用)
71
80
 
72
81
  如果只需要给某一个平台带 cookie,优先使用对应的平台变量;如果想统一兜底,可以只设置 `METING_COOKIE`
73
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eldment/meting-mcp",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "MCP server wrapper for the Meting multi-platform music API core.",
5
5
  "type": "module",
6
6
  "main": "./src/mcp-server.js",
@@ -200,7 +200,7 @@ export default class KugouProvider extends BaseProvider {
200
200
  const data = await this.meting.format(false).song(id);
201
201
  this.meting.isFormat = format;
202
202
  const songData = JSON.parse(data);
203
- let url = songData.imgUrl;
203
+ let url = songData.album_img;
204
204
  url = url.replace("{size}", "400");
205
205
  return JSON.stringify({ url: url });
206
206
  }