@verbaly/mcp 0.83.0 → 0.85.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 +13 -2
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{server-DuHEfzpG.js → server-C206oaoQ.js} +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@verbaly/mcp"><img src="https://img.shields.io/npm/v/@verbaly/mcp?logo=npm&color=cb3837" alt="npm version" /></a>
|
|
9
9
|
<img src="https://img.shields.io/node/v/@verbaly/mcp?logo=nodedotjs&logoColor=white&color=5fa04e" alt="supported Node.js versions" />
|
|
10
|
-
<a href="https://github.com/AronSoto/verbaly/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/AronSoto/verbaly/ci.yml?logo=github&label=CI" alt="CI" /></a>
|
|
11
10
|
<a href="https://scorecard.dev/viewer/?uri=github.com/AronSoto/verbaly"><img src="https://api.scorecard.dev/projects/github.com/AronSoto/verbaly/badge" alt="OpenSSF Scorecard" /></a>
|
|
12
11
|
<a href="https://www.npmjs.com/package/@verbaly/mcp#provenance"><img src="https://img.shields.io/badge/provenance-SLSA%20v1-3fb950?logo=npm" alt="published with npm provenance" /></a>
|
|
13
12
|
<a href="https://github.com/AronSoto/verbaly/blob/develop/LICENSE"><img src="https://img.shields.io/npm/l/@verbaly/mcp?color=blue" alt="MIT" /></a>
|
|
@@ -26,7 +25,7 @@ Every tool answers with **structured output** as well as text, so an agent reads
|
|
|
26
25
|
claude mcp add verbaly -- npx -y @verbaly/mcp
|
|
27
26
|
```
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
Codex takes the same line (`codex mcp add verbaly -- npx -y @verbaly/mcp`), and VS Code asks for the command in **MCP: Add Server**. Any other client reads this entry from its own config, like `.cursor/mcp.json` or `.gemini/settings.json`:
|
|
30
29
|
|
|
31
30
|
```json
|
|
32
31
|
{
|
|
@@ -36,6 +35,18 @@ Or in any MCP client config:
|
|
|
36
35
|
}
|
|
37
36
|
```
|
|
38
37
|
|
|
38
|
+
In Claude Code, one plugin brings the server and the skill together:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
claude plugin marketplace add AronSoto/verbaly
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
claude plugin install verbaly@verbaly
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Gemini CLI takes the same pair as an extension: `gemini extensions install https://github.com/AronSoto/verbaly`. Both also bring the [Agent Skill](https://github.com/AronSoto/verbaly/blob/develop/skills/verbaly/SKILL.md), the rules that keep the cycle safe.
|
|
49
|
+
|
|
39
50
|
The server reads the project from its working directory; pass `--root <path>` (or the per-tool `root` argument) to point elsewhere.
|
|
40
51
|
|
|
41
52
|
## 🧰 Tools
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as createVerbalyMcp } from "./server-
|
|
2
|
+
import { t as createVerbalyMcp } from "./server-C206oaoQ.js";
|
|
3
3
|
import { formatCliError } from "@verbaly/compiler";
|
|
4
4
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
5
5
|
import { parseArgs } from "node:util";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createVerbalyMcp } from "./server-
|
|
1
|
+
export { t as createVerbalyMcp } from "./server-C206oaoQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { McpServer, ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
-
import { check, counted, doctor, effectiveDrafts, extractProject, formatCheckResult, formatCheckWarnings, formatDoctorEntry, formatDoctorHealth, formatFinding, formatStatusResult, formatTranslateFailures, formatWrapResult, init, loadCatalogs, loadConfig, loadState, readState, relativeCheck, shippedCatalogs, status, syncProject, translateProject, wrapProject, writeDrafts } from "@verbaly/compiler";
|
|
3
|
+
import { check, counted, doctor, effectiveDrafts, extractProject, formatCheckResult, formatCheckWarnings, formatDoctorEntry, formatDoctorHealth, formatFinding, formatStatusResult, formatTranslateFailures, formatWrapResult, init, loadCatalogs, loadConfig, loadState, readState, relativeCheck, shippedCatalogs, status, syncProject, targetLocales, translateProject, wrapProject, writeDrafts } from "@verbaly/compiler";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { relative } from "node:path";
|
|
6
6
|
// src/tools/shared.ts
|
|
@@ -101,7 +101,7 @@ function registerDrafts(server, ctx) {
|
|
|
101
101
|
description: "Every machine translation still waiting for a human, each with the source text and what the provider wrote, so a person can read both and decide. Read-only. Approving is deliberately not a tool here and never will be: a machine translation is unreviewed by definition, so accepting one is `verbaly review --approve`, run by a human. For how many drafts each locale has, verbaly_status is enough; verbaly_missing lists them next to the gate.",
|
|
102
102
|
inputSchema: {
|
|
103
103
|
root: rootInput,
|
|
104
|
-
locales: z.array(z.string()).optional().describe("Target locales (default: all)")
|
|
104
|
+
locales: z.array(z.string()).optional().describe("Target locales (default: all). One the project does not have is an error")
|
|
105
105
|
},
|
|
106
106
|
outputSchema: {
|
|
107
107
|
total: z.number(),
|
|
@@ -118,7 +118,7 @@ function registerDrafts(server, ctx) {
|
|
|
118
118
|
const catalogs = loadCatalogs(cfg);
|
|
119
119
|
const source = shippedCatalogs(cfg, catalogs, await extractProject(cfg))[cfg.sourceLocale] ?? {};
|
|
120
120
|
const pending = effectiveDrafts(loadState(cfg).drafts, catalogs);
|
|
121
|
-
const wanted =
|
|
121
|
+
const wanted = targetLocales(cfg, locales);
|
|
122
122
|
const entries = Object.entries(pending).filter(([locale]) => wanted.includes(locale)).flatMap(([locale, keys]) => keys.map((key) => ({
|
|
123
123
|
locale,
|
|
124
124
|
key,
|
|
@@ -389,7 +389,7 @@ function registerStatus(server, ctx) {
|
|
|
389
389
|
function registerTranslate(server, ctx) {
|
|
390
390
|
server.registerTool("verbaly_translate", {
|
|
391
391
|
title: "Machine-translate missing entries",
|
|
392
|
-
description: "Fill missing translations with the configured provider (what `verbaly translate` does). The default provider is Claude, which needs @anthropic-ai/sdk and ANTHROPIC_API_KEY. Every new translation is saved as a draft awaiting human review (`verbaly review`), which no tool here can approve. A batch the provider never answers is reported in failed and everything else stays written, so a retry only asks for what is left. dryRun lists what would be translated without calling the provider. To see what is missing first, use verbaly_missing; to save translations you wrote yourself, verbaly_write_drafts.",
|
|
392
|
+
description: "Fill missing translations with the configured provider (what `verbaly translate` does). The default provider is Claude, which needs @anthropic-ai/sdk and ANTHROPIC_API_KEY. Every new translation is saved as a draft awaiting human review (`verbaly review`), which no tool here can approve. Each language is saved as soon as its last batch lands, so a run that is cut keeps the languages it finished. A batch the provider never answers, or a language whose file cannot be saved, is reported in failed and everything else stays written, so a retry only asks for what is left. dryRun lists what would be translated without calling the provider. A locale the project does not have is an error that lists the ones it has, never an empty result. To see what is missing first, use verbaly_missing; to save translations you wrote yourself, verbaly_write_drafts.",
|
|
393
393
|
inputSchema: {
|
|
394
394
|
root: rootInput,
|
|
395
395
|
locales: z.array(z.string()).optional().describe("Target locales (default: all)"),
|
|
@@ -404,7 +404,7 @@ function registerTranslate(server, ctx) {
|
|
|
404
404
|
locale: z.string(),
|
|
405
405
|
keys: z.array(z.string()),
|
|
406
406
|
error: z.string()
|
|
407
|
-
})).describe("Batches the provider never answered, safe to retry"),
|
|
407
|
+
})).describe("Batches the provider never answered and languages that could not be saved, safe to retry"),
|
|
408
408
|
pending: perLocale.describe("dryRun only: what would be translated"),
|
|
409
409
|
lock: lockOutput
|
|
410
410
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.85.0",
|
|
4
4
|
"description": "MCP server for Verbaly: diagnosis, onboarding, extraction, coverage and machine translation as tools for coding agents.",
|
|
5
5
|
"mcpName": "io.github.AronSoto/verbaly",
|
|
6
6
|
"keywords": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
52
|
-
"@verbaly/compiler": "^0.
|
|
52
|
+
"@verbaly/compiler": "^0.85.0",
|
|
53
53
|
"zod": "^4.6.7"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|