mcp-simplelocalize
Реализация сервера MCP (Model Context Protocol) для SimpleLocalize .
Использование
Установить
curl -LsSf https://astral.sh/uv/install.sh | shКлонировать репозиторий
git clone https://github.com/GalvinGao/mcp-simplelocalize.gitУстановить зависимости
uv syncНастроить курсор
Вы можете поместить его в .cursor/mcp.json в корневом каталоге вашего проекта, поскольку ключ API SimpleLocalize относится только к одному проекту.
Не забудьте добавить его в файл .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 .
Внося вклад
Вклады приветствуются! Не стесняйтесь открывать тему или отправлять запрос на включение.
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.