@i18n-agent/mcp-client 1.8.454 → 1.8.455

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.
Files changed (2) hide show
  1. package/mcp-client.js +4 -4
  2. 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.403';
8
+ const MCP_CLIENT_VERSION = '1.8.455';
9
9
 
10
10
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
11
11
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
@@ -2062,7 +2062,7 @@ async function handleSingleFileUpload(args) {
2062
2062
  {
2063
2063
  headers: {
2064
2064
  'Content-Type': 'text/plain',
2065
- 'X-API-Key': API_KEY,
2065
+ 'Authorization': `Bearer ${API_KEY}`,
2066
2066
  'X-Source-Locale': sourceLocale,
2067
2067
  'X-Target-Locale': targetLocale,
2068
2068
  'X-File-Name': requestData.fileName,
@@ -2178,7 +2178,7 @@ async function handleParallelDocumentUpload(args) {
2178
2178
  formData,
2179
2179
  {
2180
2180
  headers: {
2181
- 'X-API-Key': API_KEY,
2181
+ 'Authorization': `Bearer ${API_KEY}`,
2182
2182
  ...formData.getHeaders()
2183
2183
  },
2184
2184
  timeout: 120000
@@ -2240,7 +2240,7 @@ async function handleListUploadedTranslations(args) {
2240
2240
  `${MCP_SERVER_URL}/namespaces/${namespace}/translations/files?${params.toString()}`,
2241
2241
  {
2242
2242
  headers: {
2243
- 'X-API-Key': API_KEY
2243
+ 'Authorization': `Bearer ${API_KEY}`
2244
2244
  },
2245
2245
  timeout: 30000
2246
2246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i18n-agent/mcp-client",
3
- "version": "1.8.454",
3
+ "version": "1.8.455",
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": "mcp-client.js",
6
6
  "bin": {