@z_ai/mcp-server 0.0.14-beta.1 → 0.0.14
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 +3 -0
- package/README.zh-CN.md +6 -2
- package/build/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# ZAI MCP Server
|
|
2
2
|
|
|
3
|
+
[中文文档](https://docs.bigmodel.cn/cn/coding-plan/mcp/vision-mcp-server) | [English Document](https://docs.z.ai/devpack/mcp/vision-mcp-server)
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
A Model Context Protocol (MCP) server that provides AI capabilities powered by Z.AI.
|
|
4
7
|
|
|
5
8
|
## Environment Variables
|
package/README.zh-CN.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ZAI MCP 服务器
|
|
2
2
|
|
|
3
|
+
[中文文档](https://docs.bigmodel.cn/cn/coding-plan/mcp/vision-mcp-server) | [English Document](https://docs.z.ai/devpack/mcp/vision-mcp-server)
|
|
4
|
+
|
|
3
5
|
一个基于 Z.AI 提供 AI 能力的模型上下文协议 (MCP) 服务器。
|
|
4
6
|
|
|
5
7
|
## MCP 工具
|
|
@@ -7,14 +9,16 @@
|
|
|
7
9
|
该服务器实现了模型上下文协议,可与任何兼容 MCP 的客户端一起使用。服务器提供以下工具:
|
|
8
10
|
|
|
9
11
|
- `image_analysis` - 分析图像并提供详细描述
|
|
12
|
+
- `video_analysis` - 分析视频并提供详细描述
|
|
10
13
|
|
|
11
14
|
## 环境变量
|
|
12
15
|
|
|
13
16
|
- `Z_AI_MODE` - 用于 AI 服务的平台(默认:`ZHIPU`)ZHIPU 或 ZAI
|
|
14
17
|
- `Z_AI_API_KEY` - 您的 API 密钥
|
|
15
18
|
|
|
16
|
-
对于 `Z_AI_MODE=ZHIPU`:使用智谱 AI 平台 https://bigmodel.cn
|
|
17
|
-
|
|
19
|
+
对于 `Z_AI_MODE=ZHIPU`:使用智谱 AI 平台 https://bigmodel.cn
|
|
20
|
+
|
|
21
|
+
对于 `Z_AI_MODE=ZAI`:使用 ZAI 平台 https://z.ai/model-api
|
|
18
22
|
|
|
19
23
|
|
|
20
24
|
## 安装
|
package/build/index.js
CHANGED
|
@@ -112,6 +112,7 @@ class McpServerApplication {
|
|
|
112
112
|
// Start server
|
|
113
113
|
await this.server.connect(transport);
|
|
114
114
|
console.info('MCP Server started successfully', {
|
|
115
|
+
mode: configurationService.getPlatformModel(),
|
|
115
116
|
name: configurationService.getServerConfig().name,
|
|
116
117
|
version: configurationService.getServerConfig().version
|
|
117
118
|
});
|