KosmoKrator

productivity

Lokalise MCP Integration for Generic MCP Clients

Connect Lokalise to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API token auth

Connect Lokalise to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Lokalise MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "mcpServers": {
    "kosmokrator-lokalise": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=lokalise",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=lokalise --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Lokalise instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Lokalise Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Lokalise integration catalog.

MCP toolSource functionTypeDescription
integration__lokalise__lokalise_list_projects lokalise.lokalise_list_projects Read List Lokalise projects. Returns project IDs, names, languages, and other metadata. Supports pagination.
integration__lokalise__lokalise_get_project lokalise.lokalise_get_project Read Get details of a specific Lokalise project. Returns project name, description, languages, statistics, and settings.
integration__lokalise__lokalise_list_keys lokalise.lokalise_list_keys Read List translation keys in a Lokalise project. Returns key IDs, names, platforms, and other metadata. Supports pagination.
integration__lokalise__lokalise_get_key lokalise.lokalise_get_key Read Get details of a specific translation key in a Lokalise project. Returns key name, platforms, translations, and other metadata.
integration__lokalise__lokalise_create_key lokalise.lokalise_create_key Write Create a new translation key in a Lokalise project. The key name and optional translations for each language can be provided.
integration__lokalise__lokalise_list_translations lokalise.lokalise_list_translations Read List translations in a Lokalise project. Returns translation values, language codes, and key references. Supports pagination.
integration__lokalise__lokalise_get_current_user lokalise.lokalise_get_current_user Read Get the currently authenticated Lokalise user. Returns user email, name, and account details.

Related Lokalise Pages