Localization Resource Integrity
Checks the structural integrity of translated resource dictionaries against a source dictionary y...
我该使用它吗
质量与安全性
发现(4)
- HIGH
- MEDIUM在 localization_resource_integrity 中
- LOW在 localization_resource_integrity 中
- INFO在 localization_resource_integrity 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"localization-resource-integrity": {
"url": "https://mcp-factory.bowling-anthony.workers.dev/localization-resource-integrity/mcp"
}
}
}远程端点
https://mcp-factory.bowling-anthony.workers.dev/localization-resource-integrity/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢localization_resource_integrity(source_locale, source, translations, syntax, allow_empty)
Checks the structural integrity of translated resource dictionaries against a source dictionary you supply: missing keys, extra keys, disallowed empty strings, and exact placeholder integrity (name and, for printf_named, conversion type, matched by exact multiplicity, order-independent) under an explicitly declared placeholder syntax (double_brace `{{name}}` or printf_named `%(name)s`/`%(name)d`/`%(name)f`). Malformed placeholder syntax is reported as a per-key issue in a completed report, never silently dropped. Requests containing likely ICU MessageFormat plural/select constructs are refused outright rather than partially validated. Never translates anything and never estimates translation quality, tone, or correctness -- this is a structural integrity check only, scoped to exactly the resources you provide. Price: 0.03 USDC per completed bounded job on Base.
输入模式
{
"type": "object",
"properties": {
"source_locale": {
"type": "string",
"minLength": 1,
"maxLength": 35
},
"source": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 4096
},
"minProperties": 1,
"maxProperties": 500
},
"translations": {
"type": "object",
"minProperties": 1,
"maxProperties": 20,
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 4096
},
"maxProperties": 500
}
},
"syntax": {
"type": "string",
"enum": [
"double_brace",
"printf_named"
]
},
"allow_empty": {
"type": "boolean"
}
},
"required": [
"source_locale",
"source",
"translations",
"syntax"
],
"additionalProperties": false
}社区
证据