@sonenta/mcp 0.21.2 → 0.21.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 CHANGED
@@ -18,7 +18,7 @@ runs the bundled `sonenta-mcp` directly.
18
18
  "env": {
19
19
  "SONENTA_API_KEY": "vrb_live_<prefix>.<secret>",
20
20
  "SONENTA_PROJECTS": "<project_uuid>",
21
- "SONENTA_BASE_URL": "https://api.sonenta.dev"
21
+ "SONENTA_BASE_URL": "https://api.sonenta.com"
22
22
  }
23
23
  }
24
24
  }
@@ -64,7 +64,7 @@ Stdio is fully passthrough so the MCP JSON-RPC framing is preserved.
64
64
  | Var | Required | Default | Notes |
65
65
  |----------------------|----------|-----------------------------|--------------------------------------------------------|
66
66
  | `SONENTA_API_KEY` | yes | | Bearer ApiKey token. `SONENTA_TOKEN` accepted (back-compat) |
67
- | `SONENTA_BASE_URL` | no | `https://api.sonenta.dev` | Self-host / staging override. `SONENTA_API_BASE` accepted (back-compat) |
67
+ | `SONENTA_BASE_URL` | no | `https://api.sonenta.com` | Self-host / staging override. `SONENTA_API_BASE` accepted (back-compat) |
68
68
  | `SONENTA_PROJECTS` | no | (LLM picks per call) | CSV of project UUIDs. When >1, the LLM MUST pass `project_uuid` per call. |
69
69
  | `SONENTA_PROJECT` | no | (legacy) | Singular fallback for v0.10.x users. Ignored when `SONENTA_PROJECTS` is set (warns). |
70
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonenta/mcp",
3
- "version": "0.21.2",
3
+ "version": "0.21.3",
4
4
  "description": "MCP server for Sonenta translation management \u2014 wires Claude Desktop and other MCP clients into your project's keys, missing-key feed, and translation drafts.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://sonenta.com",
package/python/README.md CHANGED
@@ -57,7 +57,7 @@ Single-project setup:
57
57
  "env": {
58
58
  "SONENTA_API_KEY": "vrb_live_<prefix>.<secret>",
59
59
  "SONENTA_PROJECTS": "<project_uuid>",
60
- "SONENTA_BASE_URL": "https://api.sonenta.dev"
60
+ "SONENTA_BASE_URL": "https://api.sonenta.com"
61
61
  }
62
62
  }
63
63
  }
@@ -83,7 +83,7 @@ Restart Claude Desktop. Tools show up in the prompt UI.
83
83
  | `SONENTA_API_KEY` | yes | | API key from Org Settings → API Keys (`SONENTA_TOKEN` also accepted, back-compat) |
84
84
  | `SONENTA_PROJECTS` | no | (LLM passes per call) | CSV of project UUIDs. When >1, the LLM MUST pass `project_uuid` on each tool call. |
85
85
  | `SONENTA_PROJECT` | no | (legacy) | Singular fallback for v0.10.x users. Ignored when `SONENTA_PROJECTS` is set (warns). |
86
- | `SONENTA_BASE_URL` | no | `https://api.sonenta.dev` | Override for self-host or staging (`SONENTA_API_BASE` also accepted, back-compat) |
86
+ | `SONENTA_BASE_URL` | no | `https://api.sonenta.com` | Override for self-host or staging (`SONENTA_API_BASE` also accepted, back-compat) |
87
87
 
88
88
  > Migrating from `verbumia-mcp`? The legacy `VERBUMIA_API_KEY` / `VERBUMIA_TOKEN`
89
89
  > / `VERBUMIA_PROJECTS` / `VERBUMIA_BASE_URL` env vars are still accepted, so
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sonenta-mcp"
3
- version = "0.21.2"
3
+ version = "0.21.3"
4
4
  description = "Model Context Protocol server for Sonenta — list projects, missing keys, propose translations from Claude Desktop and other MCP clients."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12,<3.14"
@@ -1,3 +1,3 @@
1
1
  """Sonenta MCP server (MIT)."""
2
2
 
3
- __version__ = "0.21.2"
3
+ __version__ = "0.21.3"
@@ -15,7 +15,7 @@ import os
15
15
  import sys
16
16
  from dataclasses import dataclass
17
17
 
18
- DEFAULT_API_BASE = "https://api.sonenta.dev"
18
+ DEFAULT_API_BASE = "https://api.sonenta.com"
19
19
 
20
20
 
21
21
  @dataclass(frozen=True)
@@ -239,6 +239,40 @@ def register(server: Server, client: VerbumiaClient) -> tuple[Any, Any]:
239
239
  "additionalProperties": False,
240
240
  },
241
241
  ),
242
+ Tool(
243
+ name="distribution_info",
244
+ description=(
245
+ "Get the project's CDN distribution status: the public CDN base "
246
+ "URL + bundle URL template, the production version, which "
247
+ "(language, namespace) bundles are currently published, and any "
248
+ "gaps (bundles not yet published). Use to see what client SDKs "
249
+ "can fetch right now."
250
+ ),
251
+ inputSchema={
252
+ "type": "object",
253
+ "properties": {
254
+ "project_uuid": {
255
+ "type": "string",
256
+ "description": "Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.",
257
+ }
258
+ },
259
+ "additionalProperties": False,
260
+ },
261
+ ),
262
+ Tool(
263
+ name="sonenta_guide",
264
+ description=(
265
+ "Get the Sonenta usage guide: a concise, up-to-date overview of "
266
+ "how this Sonenta instance works — core concepts, the translation "
267
+ "workflow, how to publish to the CDN, and the available MCP tools. "
268
+ "Takes no arguments. Call this first when unsure how to use Sonenta."
269
+ ),
270
+ inputSchema={
271
+ "type": "object",
272
+ "properties": {},
273
+ "additionalProperties": False,
274
+ },
275
+ ),
242
276
  Tool(
243
277
  name="list_keys",
244
278
  description=(
@@ -1814,6 +1848,15 @@ def register(server: Server, client: VerbumiaClient) -> tuple[Any, Any]:
1814
1848
  project_uuid = _project_uuid(args, client)
1815
1849
  data = await client.get(f"/v1/mcp/projects/{project_uuid}")
1816
1850
  return _text(data)
1851
+ if name == "distribution_info":
1852
+ project_uuid = _project_uuid(args, client)
1853
+ data = await client.get(
1854
+ f"/v1/mcp/projects/{project_uuid}/distribution"
1855
+ )
1856
+ return _text(data)
1857
+ if name == "sonenta_guide":
1858
+ data = await client.get("/v1/mcp/guide")
1859
+ return _text(data)
1817
1860
  if name == "list_keys":
1818
1861
  project_uuid = _project_uuid(args, client)
1819
1862
  params = {