verbatra
概览
作者提供的说明(英文原文)
Translation status, glossary, and editing tools for a verbatra i18n project, over stdio.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 86/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
- 你需要填写:ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, DEEPL_API_KEY, GOOGLE_TRANSLATE_API_KEY, OPENCODE_API_KEY, OPENAI_COMPATIBLE_API_KEY, LIBRETRANSLATE_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
VERBATRA_MCP_ALLOW_SPEND,VERBATRA_MCP_REDACT_VALUES,ANTHROPIC_API_KEY,OPENAI_API_KEY,GEMINI_API_KEY,DEEPL_API_KEY,GOOGLE_TRANSLATE_API_KEY,OPENCODE_API_KEY,OPENAI_COMPATIBLE_API_KEY,LIBRETRANSLATE_API_KEY
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"verbatra": {
"command": "npx",
"args": [
"-y",
"@verbatra/mcp"
],
"env": {
"VERBATRA_MCP_ALLOW_SPEND": "your-value",
"VERBATRA_MCP_REDACT_VALUES": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"DEEPL_API_KEY": "your-value",
"GOOGLE_TRANSLATE_API_KEY": "your-value",
"OPENCODE_API_KEY": "your-value",
"OPENAI_COMPATIBLE_API_KEY": "your-value",
"LIBRETRANSLATE_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add verbatra --env VERBATRA_MCP_ALLOW_SPEND=your-value --env VERBATRA_MCP_REDACT_VALUES=your-value --env ANTHROPIC_API_KEY=your-value --env OPENAI_API_KEY=your-value --env GEMINI_API_KEY=your-value --env DEEPL_API_KEY=your-value --env GOOGLE_TRANSLATE_API_KEY=your-value --env OPENCODE_API_KEY=your-value --env OPENAI_COMPATIBLE_API_KEY=your-value --env LIBRETRANSLATE_API_KEY=your-value -- npx -y @verbatra/mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"verbatra": {
"command": "npx",
"args": [
"-y",
"@verbatra/mcp"
],
"env": {
"VERBATRA_MCP_ALLOW_SPEND": "your-value",
"VERBATRA_MCP_REDACT_VALUES": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"DEEPL_API_KEY": "your-value",
"GOOGLE_TRANSLATE_API_KEY": "your-value",
"OPENCODE_API_KEY": "your-value",
"OPENAI_COMPATIBLE_API_KEY": "your-value",
"LIBRETRANSLATE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"verbatra": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@verbatra/mcp"
],
"env": {
"VERBATRA_MCP_ALLOW_SPEND": "your-value",
"VERBATRA_MCP_REDACT_VALUES": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"DEEPL_API_KEY": "your-value",
"GOOGLE_TRANSLATE_API_KEY": "your-value",
"OPENCODE_API_KEY": "your-value",
"OPENAI_COMPATIBLE_API_KEY": "your-value",
"LIBRETRANSLATE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
VERBATRA_MCP_ALLOW_SPENDenvSet to true to advertise the two provider-calling tools, the same as --allow-spend.VERBATRA_MCP_REDACT_VALUESenvSet to true to replace translation values in every tool result with a marker, the same as --redact-values.- API key for the anthropic provider, read only by the provider-calling tools.
- API key for the openai provider, read only by the provider-calling tools.
- API key for the gemini provider, read only by the provider-calling tools.
- API key for the deepl provider, read only by the provider-calling tools.
- API key for the google-translate provider, read only by the provider-calling tools.
- API key for the opencode provider, read only by the provider-calling tools.
- API key for the openai-compatible provider, read only by the provider-calling tools.
- API key for the libretranslate provider, needed only when the server runs with --api-keys, read only by the provider-calling tools.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 verbatra 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3598 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3598 个服务器的 72% 更新
- 基础检查结果等于或优于此分类中其他 3598 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
verbatra 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, DEEPL_API_KEY, GOOGLE_TRANSLATE_API_KEY, OPENCODE_API_KEY, OPENAI_COMPATIBLE_API_KEY, LIBRETRANSLATE_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.3.0)于12天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@verbatra/mcp
Stdio MCP server exposing verbatra's translation status, glossary, and editing capabilities as tools for any MCP client, without a browser.
Documentation | Connect a client | Changelog | Issues
Description
@verbatra/mcp starts a Model Context Protocol server over stdio, the standard local-process transport an MCP client uses to launch and talk to a tool server. It gives a terminal-hosted or headless agent the same translation-status, glossary, and editing capabilities Verbatra Studio exposes in the browser, without a browser, a port, or a served single-page app. It is a thin, SDK-backed surface over @verbatra/sdk, the same way @verbatra/cli is.
Installation
Most MCP clients spawn the server for you and need no local install at all: point the client at npx -y @verbatra/mcp and npx fetches it on demand. To pin it in your project instead:
npm install --save-dev @verbatra/mcp
Needs Node.js ^22.18.0 || >=24. The server is also reachable through verbatra mcp once both @verbatra/cli and @verbatra/mcp are installed.
Configuring an MCP client
Point your client at the verbatra-mcp binary, which the @verbatra/mcp package provides (the example runs it through npx). The shape below is the one most clients use; for an editor or desktop client, put it in that client's MCP server configuration file.
{
"mcpServers": { "verbatra": { "command": "npx", "args": ["-y", "@verbatra/mcp", "--cwd", "/path/to/your/project"], "env": {} } } }
In Claude Code, npx @verbatra/cli init --agent (or claude mcp add --transport stdio --scope project verbatra -- npx -y @verbatra/mcp) writes an equivalent entry to a committed .mcp.json. The verbatra plugin bundles the agent skills with its own copy of this server, so use it instead of the .mcp.json entry, never both: together they register the server twice. VS Code (GitHub Copilot's agent mode) reads .vscode/mcp.json, whose top-level key is servers rather than mcpServers. The exact file, key, and working-directory handling for every client is in Connect an MCP client.
That configuration is read-only plus local editing: no provider is called and no API key is needed. Add --allow-spend to args, and the environment variable your configured provider reads its key from, once you also want the two provider-calling tools. --config loads a specific config file instead of searching for one, and VERBATRA_MCP_ALLOW_SPEND is the environment equivalent of the flag, which the flag always wins over.
Tools
Every tool, listed in the order the server advertises them.
| Tool | What it does |
|---|---|
project.snapshot | Read the resolved project configuration: whether a usable config is loaded (configured), locales, format, path pattern, provider id, where the config came from, whether a glossary is configured |
project.doctor | Check the project setup (config, format, provider, API key variable by name, network policy, source file) and get a fix for every failed check, with or without a usable config |
status.check | Per target locale, how many keys are missing, stale, or up to date, and whether the locale is in sync |
status.diff | Per target locale, the exact keys the next translate run would add, re-translate, or orphan |
glossary.get | Every glossary term with its translation for all locales, per-locale translations, forbidden renderings, case sensitivity, note and part of speech, the terms kept untranslated, the glossary version and where it comes from; with locale, also the terms that locale is held to |
glossary.write | Change one glossary term (a translation for all locales or one locale, forbidden renderings, note, partOfSpeech, caseSensitive, or doNotTranslate) and return the glossary afterward |
lock.state | The lock file's version and its per-locale key counts, or exists: false before the first run |
history.list | Recent git commits that touched a locale file, with hash, author name (never the email), date, subject and touched paths |
key.integrity | One key's placeholder, inline markup, and ICU drift against the lock-file baseline, per locale |
locale.integrity | Every translation that fails the placeholder, markup or ICU checks right now, per target locale |
key.value | One key's current source text, its source file description, and, if translated, its current text in one target locale with who wrote it |
key.context | What key.value returns plus the glossary terms that apply, the key's maxLength, and a check of an optional draft |
locale.values | Source and target text of many keys, filtered by keys or a query, in pages of up to 1,000 entries |
translation.editEntry | Write a manual translation for one key in one locale, accepted only if it passes the integrity gate |
translation.estimate | Estimate what translation.translatePending would send and cost, optionally for a subset of locales, without calling a provider |
translation.retranslateEntry | Ask the configured provider for a fresh translation of one key in one locale |
translation.translatePending | Translate every missing or stale key across the configured target locales, or a named subset, in one run, within an optional maxTokens ceiling |
review.queue | Every machine-written translation nobody has approved yet, read from the committed files, with the last run's flags |
report.provenance | Per locale, how many values fall into each provenance bucket; with includeEntries, the keys, paged |
review.approve | Record, on the user's instruction, that a named person approves one key's current translation |
review.reject | Record, on the user's instruction, that a named person rejects one key's current translation, removing it so it gets replaced |
usage.summary | Token usage and budget status left behind by the last run |
Security and spend
- Spend is opt-in.
translation.retranslateEntryandtranslation.translatePendingare the two tools that call a provider. They are advertised only when the server is started with--allow-spendorVERBATRA_MCP_ALLOW_SPEND; without either, a client never sees them and calling one by name fails as an unknown tool. A config withprovider: { id: "none" }never lists them, even with--allow-spend. - Values can stay home.
--redact-values(orVERBATRA_MCP_REDACT_VALUES) replaces every source text, translation, description, and glossary term in a result with a marker such as[redacted length=12 hash=3f9a0c1d2e4b5a6c], and leaves out reviewer and author names. Key names, counts, statuses, and integrity verdicts stay.review.approveandreview.rejectthen take only the marker's hash asexpectedHash,locale.valuesrefusesquery, andkey.contextrefusesdraft. This keeps values out of results; it does not stop an agent that probes on purpose, and what a provider receives does not change. - Secrets are scrubbed. Every result and log line passes through a redaction pass first, so a value shaped like a provider API key, or the exact value of a configured provider variable, becomes
[REDACTED]before it reaches the client or stderr. - Stdout is protocol only. Nothing but MCP messages is written to stdout; every log and diagnostic line goes to stderr.
- Config changes need no restart. The server starts without a usable config (
project.snapshotreportsconfigured: false,project.doctorsays what to fix) and reloads the config and its glossary file before each call.--allow-spendis fixed at startup, and a config change never widens it.
Every tool's input, and every closed-shape tool output, is a JSON Schema derived from the same zod schema the server validates the call against. See the verbatra mcp docs for the full tool reference, the exit-code contract, and worked examples.
Documentation
Related packages
@verbatra/sdk: the engine this server is a thin surface over.@verbatra/cli: theverbatracommand, includingverbatra mcp.@verbatra/studio: the same capabilities in a browser dashboard.
Contributing
See CONTRIBUTING.md.
License
MIT (c) Mario Kreitz