@z_ai/mcp-server 0.1.4 → 0.1.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.
@@ -89,7 +89,7 @@ export class EnvironmentService {
89
89
  const config = this.getConfig();
90
90
  return {
91
91
  name: config.SERVER_NAME || 'zai-mcp-server',
92
- version: config.SERVER_VERSION || '0.1.2'
92
+ version: config.SERVER_VERSION || '0.1.5'
93
93
  };
94
94
  }
95
95
  /**
@@ -105,13 +105,13 @@ export class EnvironmentService {
105
105
  getVisionConfig() {
106
106
  const config = this.getConfig();
107
107
  return {
108
- model: config.Z_AI_VISION_MODEL || 'glm-4.6v',
108
+ model: config.Z_AI_VISION_MODEL || 'glm-5.3-flash',
109
109
  timeout: parseInt(config.Z_AI_TIMEOUT || '300000'),
110
110
  retryCount: parseInt(config.Z_AI_RETRY_COUNT || '1'),
111
111
  url: config.Z_AI_BASE_URL + 'chat/completions',
112
112
  temperature: parseFloat(config.Z_AI_VISION_MODEL_TEMPERATURE || '0.8'),
113
113
  topP: parseFloat(config.Z_AI_VISION_MODEL_TOP_P || '0.6'),
114
- maxTokens: parseInt(config.Z_AI_VISION_MODEL_MAX_TOKENS || '32768')
114
+ maxTokens: parseInt(config.Z_AI_VISION_MODEL_MAX_TOKENS || '131072')
115
115
  };
116
116
  }
117
117
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@z_ai/mcp-server",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "MCP Server for Z.AI - A Model Context Protocol server that provides AI capabilities",
5
5
  "main": "build/index.js",
6
6
  "type": "module",