@i18n-agent/mcp-client 1.11.0 → 1.12.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/README.md +2 -1
- package/i18n-agent.js +1 -1
- package/install.js +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🌍 i18n-agent MCP Client
|
|
2
2
|
|
|
3
|
-
Professional translation service client for Claude, Cursor, VS Code, and other AI IDEs using the Model Context Protocol (MCP).
|
|
3
|
+
Professional translation service client for Claude, Cursor, VS Code, Antigravity, and other AI IDEs using the Model Context Protocol (MCP).
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@i18n-agent/mcp-client)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -77,6 +77,7 @@ Analyze "Hello world! This is a test." for translation to Spanish
|
|
|
77
77
|
| **Cursor** | ✅ Auto-configured | `~/.cursor/mcp_settings.json` | `~/.cursor/mcp_settings.json` | `~/.cursor/mcp_settings.json` |
|
|
78
78
|
| **VS Code** | ✅ Auto-configured | `~/.vscode/mcp_settings.json` | `~/.vscode/mcp_settings.json` | `~/.vscode/mcp_settings.json` |
|
|
79
79
|
| **Codex (OpenAI)** | ✅ Auto-configured | `~/.codex/mcp_settings.json` | `~/.codex/mcp_settings.json` | `~/.codex/mcp_settings.json` |
|
|
80
|
+
| **Antigravity (Google)** | ✅ Auto-configured | `~/.gemini/antigravity/mcp_config.json` | `%USERPROFILE%\.gemini\antigravity\mcp_config.json` | `~/.config/antigravity/mcp_config.json` |
|
|
80
81
|
|
|
81
82
|
**Note:** The installer automatically detects your platform and uses the correct config paths.
|
|
82
83
|
|
package/i18n-agent.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.12.0';
|
|
9
9
|
|
|
10
10
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
11
11
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
package/install.js
CHANGED
|
@@ -37,8 +37,32 @@ function getClaudeDesktopPath() {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
function getAntigravityPath() {
|
|
41
|
+
const platform = process.platform;
|
|
42
|
+
if (platform === 'darwin') {
|
|
43
|
+
// macOS
|
|
44
|
+
return {
|
|
45
|
+
configPath: path.join(os.homedir(), '.gemini/antigravity/mcp_config.json'),
|
|
46
|
+
displayPath: '~/.gemini/antigravity/mcp_config.json'
|
|
47
|
+
};
|
|
48
|
+
} else if (platform === 'win32') {
|
|
49
|
+
// Windows
|
|
50
|
+
return {
|
|
51
|
+
configPath: path.join(os.homedir(), '.gemini/antigravity/mcp_config.json'),
|
|
52
|
+
displayPath: '%USERPROFILE%\\.gemini\\antigravity\\mcp_config.json'
|
|
53
|
+
};
|
|
54
|
+
} else {
|
|
55
|
+
// Linux
|
|
56
|
+
return {
|
|
57
|
+
configPath: path.join(os.homedir(), '.config/antigravity/mcp_config.json'),
|
|
58
|
+
displayPath: '~/.config/antigravity/mcp_config.json'
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
40
63
|
// Supported IDE configurations
|
|
41
64
|
const claudePaths = getClaudeDesktopPath();
|
|
65
|
+
const antigravityPaths = getAntigravityPath();
|
|
42
66
|
const IDE_CONFIGS = {
|
|
43
67
|
claude: {
|
|
44
68
|
name: 'Claude Desktop',
|
|
@@ -64,6 +88,11 @@ const IDE_CONFIGS = {
|
|
|
64
88
|
name: 'Codex (OpenAI)',
|
|
65
89
|
configPath: path.join(os.homedir(), '.codex/mcp_settings.json'),
|
|
66
90
|
displayPath: '~/.codex/mcp_settings.json'
|
|
91
|
+
},
|
|
92
|
+
antigravity: {
|
|
93
|
+
name: 'Antigravity (Google)',
|
|
94
|
+
configPath: antigravityPaths.configPath,
|
|
95
|
+
displayPath: antigravityPaths.displayPath
|
|
67
96
|
}
|
|
68
97
|
};
|
|
69
98
|
|
|
@@ -598,6 +627,7 @@ Supported IDEs:
|
|
|
598
627
|
- Cursor
|
|
599
628
|
- VS Code (with MCP extension)
|
|
600
629
|
- Codex (OpenAI)
|
|
630
|
+
- Antigravity (Google)
|
|
601
631
|
|
|
602
632
|
Manual setup:
|
|
603
633
|
1. Create the configuration file for your IDE
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i18n-agent/mcp-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.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": {
|