@i18n-agent/mcp-client 1.15.7 → 1.16.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/i18n-agent.js +8 -0
- package/package.json +1 -1
package/i18n-agent.js
CHANGED
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
const MCP_CLIENT_VERSION = '1.13.0';
|
|
9
9
|
|
|
10
|
+
// CLI argument routing — must run before MCP server initialization
|
|
11
|
+
const _cliCommand = process.argv[2];
|
|
12
|
+
if (_cliCommand === 'install' || _cliCommand === 'setup') {
|
|
13
|
+
const { main } = await import('./install.js');
|
|
14
|
+
await main();
|
|
15
|
+
process.exit(0);
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
11
19
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
12
20
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i18n-agent/mcp-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "🌍 i18n-agent MCP Client - 48 languages, AI-powered translation for Claude, Claude Code, Cursor, VS Code, Codex. Get API key at https://app.i18nagent.ai",
|
|
5
5
|
"main": "i18n-agent.js",
|
|
6
6
|
"bin": "i18n-agent.js",
|