@langapi/mcp-server 1.0.2 → 1.0.3
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 +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This package enables AI assistants like Claude, Cursor, and VS Code extensions t
|
|
|
7
7
|
## Quick Start
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
# 1. Get your API key at https://langapi.io (
|
|
10
|
+
# 1. Get your API key at https://langapi.io (1,000 free credits)
|
|
11
11
|
|
|
12
12
|
# 2. Add to your AI tool (example for Claude Desktop on macOS):
|
|
13
13
|
# Edit ~/Library/Application Support/Claude/claude_desktop_config.json
|
|
@@ -291,8 +291,8 @@ Compare source locale against targets to identify missing keys and estimate cost
|
|
|
291
291
|
"cost_estimate": {
|
|
292
292
|
"words_to_translate": 45,
|
|
293
293
|
"credits_required": 90,
|
|
294
|
-
"current_balance":
|
|
295
|
-
"balance_after_sync":
|
|
294
|
+
"current_balance": 1000,
|
|
295
|
+
"balance_after_sync": 910
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
```
|
|
@@ -326,8 +326,8 @@ Sync translations via the LangAPI API. **Default is dry_run=true for safety.**
|
|
|
326
326
|
"cost": {
|
|
327
327
|
"words_to_translate": 45,
|
|
328
328
|
"credits_required": 90,
|
|
329
|
-
"current_balance":
|
|
330
|
-
"balance_after_sync":
|
|
329
|
+
"current_balance": 1000,
|
|
330
|
+
"balance_after_sync": 910
|
|
331
331
|
},
|
|
332
332
|
"message": "Preview: 2 keys to sync, 90 credits required. Run with dry_run=false to execute."
|
|
333
333
|
}
|
|
@@ -448,7 +448,7 @@ I found a next-intl project with English (150 keys) and German (120 keys) transl
|
|
|
448
448
|
You: What translations are missing for German?
|
|
449
449
|
|
|
450
450
|
Claude: [Calls get_translation_status]
|
|
451
|
-
German is missing 30 keys. The sync would cost 85 credits (you have
|
|
451
|
+
German is missing 30 keys. The sync would cost 85 credits (you have 1000 credits).
|
|
452
452
|
|
|
453
453
|
You: Sync the German translations
|
|
454
454
|
|
|
@@ -539,7 +539,7 @@ For self-hosted or enterprise deployments:
|
|
|
539
539
|
|
|
540
540
|
LangAPI uses a credit-based billing system:
|
|
541
541
|
- **1 credit = 1 word** to translate
|
|
542
|
-
- New users get **
|
|
542
|
+
- New users get **1,000 free credits**
|
|
543
543
|
- Top up with **100,000 credits for $15** (no subscription, no expiry)
|
|
544
544
|
|
|
545
545
|
Get your API key at [langapi.io](https://langapi.io).
|