productivity
Lokalise MCP Integration for OpenAI Agents SDK
Connect Lokalise to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lokalise to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Lokalise MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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
Expose only Lokalise instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Lokalise Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Lokalise integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |