MCP Server
MCP
io.github.damoqiongqiu/mcp-local-translate
Local NLLB translation for 200+ languages. Zero cloud, zero cost, runs entirely on your machine.
Install
npx -y @damoqiongqiu/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@damoqiongqiu/mcp-local-translate",
"version": "0.1.11",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "HuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China).",
"format": "string",
"name": "HF_ENDPOINT"
},
{
"description": "Auto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable.",
"format": "string",
"name": "HF_AUTO_MIRROR"
},
{
"description": "Directory where Transformers.js models are cached (defaults to ./models/).",
"format": "string",
"name": "CACHE_DIR"
},
{
"description": "Execution device: 'cpu' (default) or 'webgpu' for GPU acceleration.",
"format": "string",
"name": "TRANSLATE_DEVICE"
},
{
"description": "Proxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants.",
"format": "string",
"name": "HTTPS_PROXY"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment