@babelize/mcp 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.
Files changed (2) hide show
  1. package/README.md +66 -6
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -88,14 +88,74 @@ Add to `.opencode.json`:
88
88
 
89
89
  ## Available Tools
90
90
 
91
+ ### Scanning (no API key required)
92
+
93
+ | Tool | Description |
94
+ |------|-------------|
95
+ | `babelize_scan` | Scan a local directory for hardcoded strings |
96
+ | `babelize_scan_strings` | Extract translatable strings from a code snippet |
97
+
98
+ ### Projects
99
+
100
+ | Tool | Description |
101
+ |------|-------------|
102
+ | `babelize_project_list` | List all translation projects |
103
+ | `babelize_project_get` | Get details of a specific project |
104
+ | `babelize_project_create` | Create a new translation project |
105
+ | `babelize_project_language_add` | Add a language to a project |
106
+ | `babelize_project_language_remove` | Remove a language from a project |
107
+ | `babelize_project_sync` | Trigger repository sync |
108
+ | `babelize_project_download` | Download translated project files as ZIP |
109
+
110
+ ### Translation Runs
111
+
112
+ | Tool | Description |
113
+ |------|-------------|
114
+ | `babelize_run` | Start a translation pipeline run |
115
+ | `babelize_status` | Check status of a translation run |
116
+ | `babelize_babel_list` | List translation runs (babels) |
117
+ | `babelize_babel_get` | Get detailed babel run info and logs |
118
+
119
+ ### Languages
120
+
121
+ | Tool | Description |
122
+ |------|-------------|
123
+ | `babelize_language_list` | List all supported languages |
124
+ | `babelize_language_codes` | Look up language code mappings (ISO ↔ FLORES-200) |
125
+
126
+ ### Analysis
127
+
128
+ | Tool | Description |
129
+ |------|-------------|
130
+ | `babelize_engine_analyze` | Analyze source code for i18n readiness and framework detection |
131
+
132
+ ### Translation Quality
133
+
134
+ | Tool | Description |
135
+ |------|-------------|
136
+ | `babelize_tm_get` | List translation memory entries for a project |
137
+ | `babelize_tm_set` | Add a translation memory entry |
138
+ | `babelize_tm_export` | Export translation memory as TMX |
139
+ | `babelize_glossary_get` | List glossary entries for a project |
140
+ | `babelize_glossary_set` | Add or update a glossary entry |
141
+ | `babelize_glossary_delete` | Delete a glossary entry |
142
+ | `babelize_glossary_import` | Bulk import glossary entries from CSV |
143
+ | `babelize_glossary_export` | Export glossary entries as CSV |
144
+
145
+ ### Team & Deploy
146
+
147
+ | Tool | Description |
148
+ |------|-------------|
149
+ | `babelize_member_list` | List project members |
150
+ | `babelize_invitation_send` | Send a team invitation |
151
+ | `babelize_pr_raise` | Create a GitHub Pull Request with translations |
152
+
153
+ ### Account
154
+
91
155
  | Tool | Description |
92
156
  |------|-------------|
93
- | `babelize_scan` | Scan a local directory for hardcoded strings. No API key required. |
94
- | `babelize_scan_strings` | Extract translatable strings from a code snippet. No API key required. |
95
- | `babelize_run` | Start a translation pipeline run for target languages. Requires API key. |
96
- | `babelize_status` | Check the status of a running translation. Requires API key. |
97
- | `babelize_glossary_get` | List glossary entries for a project. Requires API key. |
98
- | `babelize_glossary_set` | Add or update terms in the translation glossary. Requires API key. |
157
+ | `babelize_me` | Get current user profile and credits |
158
+ | `babelize_provider_tokens_list` | List connected BYOK translation provider tokens |
99
159
 
100
160
  ## Configuration
101
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babelize/mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP (Model Context Protocol) server for Babelize AI-powered i18n — let AI coding agents translate your apps",
5
5
  "keywords": [
6
6
  "babelize",
@@ -38,12 +38,16 @@
38
38
  "prepublishOnly": "npm test && npm run typecheck"
39
39
  },
40
40
  "dependencies": {
41
+ "@babel/parser": "^7.28.5",
42
+ "@babel/traverse": "^7.28.5",
43
+ "@babel/types": "^7.28.5",
41
44
  "@modelcontextprotocol/sdk": "^1.0.0",
42
45
  "axios": "^1.15.2",
43
46
  "zod": "^3.24.0"
44
47
  },
45
48
  "devDependencies": {
46
49
  "@jest/globals": "^30.2.0",
50
+ "@types/babel__traverse": "^7.28.0",
47
51
  "@types/jest": "^30.0.0",
48
52
  "@types/node": "^22.0.0",
49
53
  "jest": "^30.2.0",