@i18n-agent/mcp-client 1.6.0 → 1.7.0
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/mcp-client.js +3 -9
- package/package.json +1 -1
package/mcp-client.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrates with Claude Code CLI to provide translation capabilities
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const MCP_CLIENT_VERSION = '1.
|
|
8
|
+
const MCP_CLIENT_VERSION = '1.7.0';
|
|
9
9
|
|
|
10
10
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
11
11
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
@@ -86,10 +86,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
86
86
|
description: 'Optional additional context or instructions for the translation (e.g., "Keep technical terms in English", "Use formal tone")',
|
|
87
87
|
},
|
|
88
88
|
},
|
|
89
|
-
|
|
90
|
-
{ required: ['texts', 'targetLanguage'] },
|
|
91
|
-
{ required: ['texts', 'targetLanguages'] }
|
|
92
|
-
],
|
|
89
|
+
required: ['texts'],
|
|
93
90
|
},
|
|
94
91
|
},
|
|
95
92
|
{
|
|
@@ -168,10 +165,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
168
165
|
description: 'Optional additional context or instructions for the translation (e.g., "Keep technical terms in English", "Use formal tone")',
|
|
169
166
|
},
|
|
170
167
|
},
|
|
171
|
-
|
|
172
|
-
{ required: ['targetLanguage'] },
|
|
173
|
-
{ required: ['targetLanguages'] }
|
|
174
|
-
],
|
|
168
|
+
required: [],
|
|
175
169
|
},
|
|
176
170
|
},
|
|
177
171
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i18n-agent/mcp-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "MCP client for i18n-agent translation service with async job support and enhanced progress tracking - supports Claude, Cursor, VS Code, and other AI IDEs",
|
|
5
5
|
"main": "mcp-client.js",
|
|
6
6
|
"bin": {
|