Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Find, add, push and pull an app's user-facing texts in locli (iOS, Android, web, backend).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LOCLI_TOKEN, LOCLI_CONFIG, LOCLI_API_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"locli": {
"command": "npx",
"args": [
"-y",
"@locli/cli",
"mcp"
],
"env": {
"LOCLI_TOKEN": "your-value",
"LOCLI_CONFIG": "your-value",
"LOCLI_API_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add locli --env LOCLI_TOKEN=your-value --env LOCLI_CONFIG=your-value --env LOCLI_API_URL=your-value -- npx -y @locli/cli mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"locli": {
"command": "npx",
"args": [
"-y",
"@locli/cli",
"mcp"
],
"env": {
"LOCLI_TOKEN": "your-value",
"LOCLI_CONFIG": "your-value",
"LOCLI_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"locli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@locli/cli",
"mcp"
],
"env": {
"LOCLI_TOKEN": "your-value",
"LOCLI_CONFIG": "your-value",
"LOCLI_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LOCLI_CONFIG envLOCLI_API_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 mariohahn 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:LOCLI_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.11)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, First Sale Scout
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Playbooks and a 14-day checklist for founders winning their first paying customers.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Put your app's user-facing texts into locli: push new texts, let a project owner approve a release, pull the approved translations. Built for coding agents, works for any stack: iOS String Catalogs, Android strings.xml, and JSON for web and backend. Node 18+, no dependencies.
npx @locli/cli init
init detects your text files and writes:
locli.json with the project slug, source language and one target per catalogAGENTS.md (and @AGENTS.md in an existing CLAUDE.md)--skill copies it to .agents/skills/locli/ (linked from .claude/skills/locli/)When you are logged in, init also creates the project with its languages and platforms. It is safe to rerun.
npx @locli/cli login
login opens the browser. You sign in, or create a free account, and approve the CLI. The token is stored per server in ~/.config/locli/credentials.json, readable only by you. In CI, set LOCLI_TOKEN instead. whoami shows the account; logout revokes the token.
receipt_import_title with a comment.npx @locli/cli push uploads only what locli lacks. It never overwrites existing texts. New keys from a Git feature branch are grouped as a feature.npx @locli/cli pull writes the latest approved release into your files.locli.json{
"project": "example-app", "sourceLanguage": "en", "targets": [ { "platform": "ios", "format": "xcstrings", "path": "App/Localizable.xcstrings" }, { "platform": "android", "format": "android-xml", "path": "app/src/main/res" }, { "platform": "web", "format": "json", "path": "messages/{locale}.json" } ] }
Every target has platform (ios, android, web or backend), format and path. Paths are relative to locli.json.
file; the default is strings.xml.{locale} in the path and take an optional keyPrefix.apiURL is optional; the default is https://locli.dev.The JSON schema is shipped as @locli/cli/schema/locli.json.
| Command | Effect | ||
|---|---|---|---|
login [--no-browser] / logout / whoami [--json] | Approve the CLI in the browser; revoke the token; show the account | ||
| `init [--name] [--slug] [--source LANG] [--target platform:format:path]… [--icon FILE \ | --no-icon] [--yes] [--no-agent-files]` | Detect catalogs, write the config and agent files, create the project and give it the app's icon | |
push [--dry-run] [--branch B] [--target platform] | Upload missing keys and values; never overwrites | ||
pull [--draft] [--release NAME] [--target platform] | Write the latest approved (or named) release | ||
status [--json] | Show languages, missing translations, open features, unreleased changes and glossary issues | ||
areas [--feature NAME] [--json] | List feature areas, or find the area a new feature's texts belong to | ||
context [--key KEY_OR_AREA] [--json] | Where each key is used in the code, as what (toolbar item, button, push notification …), and translations too long for it | ||
guide [--json] [--set FILE] | Show the translation guide (tone, glossary) and the texts that break it; --set replaces it | ||
keys normalize [--dry-run] [--no-code] | Rename dotted iOS/Android keys to lower_snake_case (adminDashboard.location → admin_dashboard_location) in locli, the String Catalog and the Swift code | ||
keys delete KEY… [--dry-run] [--json] | Delete keys that were never released, in locli and in every catalog from locli.json; released keys are refused and stay for the web editor | ||
| `community [--status S] [--locale CODE] [--accept ID \ | --reject ID \ | --hide ID]` | Suggestions from the project's public community catalog, the most voted first; accept, reject or hide one |
mcp | Start the MCP server on stdio |
Every command takes --api-url, --config and --help. Exit codes: 0 ok, 1 error, 2 usage error.
Environment variables:
LOCLI_TOKEN: the API token in CI.LOCLI_API_URL: the server.LOCLI_CONFIG: the path to locli.json.LOCLI_BRANCH: overrides the detected branch.The MCP server provides eleven tools:
locli_statuslocli_areaslocli_guidelocli_contextlocli_find_textslocli_add_textslocli_pushlocli_pulllocli_delete_keys (only keys that were never released)locli_community_suggestionslocli_community_reviewClaude Code: install the plugin (skill and MCP server in one), or add only the MCP server:
/plugin marketplace add mariohahn/locli
/plugin install locli@locli claude mcp add --scope project locli -- npx -y @locli/cli mcp
Cursor (.cursor/mcp.json) and other clients that use mcpServers:
{ "mcpServers": { "locli": { "command": "npx", "args": ["-y", "@locli/cli", "mcp"] } } }
Codex (~/.codex/config.toml):
[mcp_servers.locli]
command = "npx" args = ["-y", "@locli/cli", "mcp"]
, …) are skipped on push and left alone on pull.count or argN becomes a plural key. Other ICU messages are pushed as plain text.Agent guide: https://locli.dev/docs/agents.md · License: MIT