@eldment/meting-mcp 1.6.1 → 1.6.2

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.
@@ -0,0 +1,9 @@
1
+ # 致谢
2
+
3
+ `Meting-MCP` 基于原项目 **[metowolf/Meting](https://github.com/metowolf/Meting)** 构建
4
+
5
+ - 原项目:`metowolf/Meting`
6
+ - 原作者:`metowolf` / `METO`
7
+ - 原始许可证:[MIT](./LICENSE)
8
+
9
+ 本仓库在保留原项目信息与许可证声明的前提下,将 Meting 核心封装为 MCP Server
package/README.md CHANGED
@@ -1,77 +1,54 @@
1
- # @eldment/meting-mcp
1
+ # Meting-MCP
2
2
 
3
- `@eldment/meting-mcp` 基于原版 **Meting Node.js** 核心实现,只保留适合 MCP Server 发布与运行的形态。底层支持这些平台:
3
+ `Meting-MCP` 是基于 **[metowolf/Meting](https://github.com/metowolf/Meting)** 构建的 MCP Server,支持 `netease`、`tencent`、`kugou`、`baidu`、`kuwo` 等音乐平台,提供搜索、歌曲、专辑、歌手、歌单、播放链接、歌词、封面等能力
4
4
 
5
- - `netease`
6
- - `tencent`
7
- - `kugou`
8
- - `baidu`
9
- - `kuwo`
5
+ ## 提供的 MCP 工具
10
6
 
11
- ## 功能概览
12
-
13
- - 基于原版 Meting 的统一音乐接口
14
- - 通过 stdio 暴露为 MCP Server
15
- - 支持搜索、歌曲、专辑、歌手、歌单、播放链接、歌词、封面等操作
16
- - 所有 MCP 工具默认返回格式化后的 JSON 文本
17
-
18
- ## 安装
19
-
20
- ```bash
21
- npm install
22
- ```
23
-
24
- 发布后可直接运行:
25
-
26
- ```bash
27
- npx @eldment/meting-mcp
28
- ```
7
+ - `platforms`: 列出当前支持的音乐平台及其平台代号
8
+ - `search`: 按关键字在指定平台搜索歌曲、专辑、歌手或其他资源
9
+ - `song`: 按歌曲 ID 获取歌曲详情
10
+ - `album`: 按专辑 ID 获取专辑详情
11
+ - `artist`: 按歌手 ID 获取歌手信息或作品列表
12
+ - `playlist`: 按歌单 ID 获取歌单内容
13
+ - `url`: 按歌曲 ID 获取可播放链接
14
+ - `lyric`: 按歌曲 ID 获取歌词内容
15
+ - `pic`: 按图片或资源 ID 获取封面图链接
29
16
 
30
17
  ## MCP 接入
31
18
 
32
- 示例配置:
19
+ Claude 示例配置:
33
20
 
34
21
  ```json
35
22
  {
36
23
  "mcpServers": {
37
24
  "meting": {
38
25
  "command": "npx",
39
- "args": ["-y", "@eldment/meting-mcp"]
26
+ "args": [
27
+ "-y",
28
+ "@eldment/meting-mcp@latest"
29
+ ],
30
+ "env": {},
31
+ "timeout": 60000
40
32
  }
41
33
  }
42
34
  }
43
35
  ```
44
36
 
45
- 提供的 MCP 工具:
46
-
47
- - `platforms`
48
- - `search`
49
- - `song`
50
- - `album`
51
- - `artist`
52
- - `playlist`
53
- - `url`
54
- - `lyric`
55
- - `pic`
56
-
57
- ## 工具参数
58
-
59
- 所有工具都支持:
60
-
61
- - `platform`: `netease`、`tencent`、`kugou`、`baidu`、`kuwo`
62
- - `cookie`: 可选,对应平台 Cookie
63
-
64
- 各工具额外参数:
65
-
66
- - `search`: `keyword`,可选 `type`、`page`、`limit`
67
- - `song`: `id`
68
- - `album`: `id`
69
- - `artist`: `id`,可选 `limit`
70
- - `playlist`: `id`
71
- - `url`: `id`,可选 `br`
72
- - `lyric`: `id`
73
- - `pic`: `id`,可选 `size`
37
+ Codex 示例配置:
38
+
39
+ ```toml
40
+ [mcp_servers.meting]
41
+ type = "stdio"
42
+ command = "npx"
43
+ args = [
44
+ "-y",
45
+ "@eldment/meting-mcp@latest",
46
+ ]
47
+ env = {}
48
+ tool_timeout_sec = 60
49
+ disabled = false
50
+ ```
74
51
 
75
- ## 版权与致谢
52
+ ---
76
53
 
77
- 底层核心来自原项目 [metowolf/Meting](https://github.com/metowolf/Meting),遵循 [MIT](./LICENSE) License。
54
+ 关键词: MCP Server | Model Context Protocol | Music API | Node.js MCP | AI Tool Integration | NetEase Cloud Music | Tencent QQ Music | KuGou Music | Baidu Music | Kuwo Music | Lyrics API | Playlist API
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@eldment/meting-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
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",
7
- "bin": {
8
- "meting-mcp": "./src/index.js"
9
- },
7
+ "bin": "./src/index.js",
10
8
  "exports": {
11
9
  ".": "./src/mcp-server.js"
12
10
  },
13
11
  "files": [
14
12
  "src",
15
13
  "README.md",
14
+ "ACKNOWLEDGEMENTS.md",
16
15
  "LICENSE"
17
16
  ],
18
17
  "scripts": {