SimpleLocalize MCP Server

mcp-simplelocalize

SimpleLocalize的 MCP(模型上下文协议)服务器实现。

用法

安装

  1. 安装 uv
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. 克隆存储库
git clone https://github.com/GalvinGao/mcp-simplelocalize.git
  1. 安装依赖项
uv sync
  1. 配置光标

您可能希望将其放在项目根目录下的.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" } } } }
  1. .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)
  1. 完成!享受类似“本地化此组件并将其更新为 SimpleLocalize”的提示吧。

执照

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

贡献

欢迎贡献代码!欢迎随时创建 issue 或提交 pull request。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

模型上下文协议服务器使用户能够通过 Cursor 中的自然语言提示通过 SimpleLocalize 的本地化平台管理其应用程序的翻译。

  1. Usage
    1. Install
  2. License
    1. Contributing
      ID: 22x90bsxj3