Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_DIRNo模型缓存目录。NLLB-200 模型(~600MB)自动下载到此。建议使用绝对路径。系统默认
HF_ENDPOINTNoHuggingFace 镜像端点。设置后跳过自动镜像检测。https://huggingface.co
HTTPS_PROXYNoHTTP 代理地址,用于下载模型(如 http://127.0.0.1:7890)。通过 setGlobalDispatcher 全局生效。
HF_AUTO_MIRRORNo自动镜像检测开关。设为 false 禁用。默认开启,首次下载前自动探测三级镜像链。true
TRANSLATE_DEVICENo推理设备。直接传给 Transformers.js。目前仅推荐 cpu。cpu

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
translateB

Translate text between 200+ languages using the NLLB-200 model, running entirely on your local CPU. No cloud APIs, no data leaves your machine.

list_languagesA

List all 200+ languages supported by the NLLB-200 translation model. Optionally filter/search by keyword.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/damoqiongqiu/mcp-local-translate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server