KosmoKrator

productivity

Lokalise MCP Integration for Claude Agent SDK

Connect Lokalise to Claude Agent SDK 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 Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Lokalise MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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 Claude Agent SDK

Claude Agent SDK 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