mcp-simplelocalize
SimpleLocalize的 MCP(模型上下文协议)服务器实现。
用法
安装
curl -LsSf https://astral.sh/uv/install.sh | sh克隆存储库
git clone https://github.com/GalvinGao/mcp-simplelocalize.git安装依赖项
uv sync配置光标
您可能希望将其放在项目根目录下的.cursor/mcp.json中,因为 SimpleLocalize API Key 特定于单个项目。
不要忘记将其添加到您的.gitignore文件中以避免暴露您的 API 密钥。
{
"mcpServers": {
"simplelocalize": {
"command": "uv",
"args": [
"run",
"--project",
"/path/to/mcp-simplelocalize/",
"/path/to/mcp-simplelocalize/main.py"
],
"env": {
"SIMPLELOCALIZE_API_KEY": "your-api-key-here"
}
}
}
}在
.cursorrules下描述你的项目本地化要求。例如:
## Translations
- Put all translations under the `default` namespace
- Language codes supported by this project: `en-US`, `ja-JP`, `ko-KR`, and `zh-Hant`.
- (any other conventions you want the LLM to follow, e.g. key naming style, etc. or just give it some examples would work well)完成!享受类似“本地化此组件并将其更新为 SimpleLocalize”的提示吧。
Related MCP server: MCP TapData Server
执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
贡献
欢迎贡献代码!欢迎随时创建 issue 或提交 pull request。
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.