Back to Translations

Cursor MCP Server

Manage ISellMore translations directly from Cursor IDE. Search, create, edit and promote translation keys using AI chat.

Download mcp_server.py
Requires Python 3.10+ and packages: mcp[cli], httpx
🔍
Search & Read
Search translation keys, get values for all languages, list available languages.
✏️
Create & Edit
Create new keys with auto-translation, update values, rename and delete keys.
🚀
Promote
Move translation keys between environments: DEV → Test → Release → Prod.

Setup Guide

  1. Install Python dependencies
    Open a terminal and run:
    pip install "mcp[cli]" httpx
  2. Download mcp_server.py
    Click the download button above and save the file to a permanent location, e.g. C:\Users\YourName\.cursor\mcp-servers\mcp_server.py
  3. Add MCP config to Cursor
    Open ~/.cursor/mcp.json (global) or .cursor/mcp.json (project) and add the following to "mcpServers":
    "translations": {
      "command": "python",
      "args": [
        "C:\\Users\\YourName\\.cursor\\mcp-servers\\mcp_server.py"
      ],
      "env": {
        "TRANSLATIONS_API_URL": "http://translations.isellmore.com"
      }
    }
  4. Update the file path
    Replace C:\Users\YourName\.cursor\mcp-servers\mcp_server.py with the actual path where you saved the file.
  5. Restart Cursor
    Restart Cursor or go to Settings → MCP and verify that the translations server shows a green status indicator.
  6. Start using
    Open Cursor chat and try: "Find the translation for key DTK_COMMON_SAVE"

Available Tools

Tool Description
search_translationsSearch keys by query with pagination
get_translationGet all translations for a key
get_languagesList available languages
get_routeGet route for a key
create_keyCreate key with auto-translation
update_translation_valueUpdate a translation value
update_key_nameRename a key
delete_keyDelete a key and its translations
move_to_testPromote to TEST
move_to_releasePromote to RELEASE
move_to_prodPromote to PRODUCTION