productivity
Phrase MCP Integration for OpenAI Agents SDK
Connect Phrase to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Phrase 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.
Phrase MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-phrase": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=phrase",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=phrase --write=deny Why Use KosmoKrator Here
Expose only Phrase 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.
Phrase Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Phrase integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__phrase__phrase_list_projects | phrase.phrase_list_projects | Read | List all Phrase projects the authenticated user has access to. Returns project IDs, names, main formats, and locale counts. |
integration__phrase__phrase_get_project | phrase.phrase_get_project | Read | Get details of a single Phrase project including name, slug, main format, default locale, and shares. |
integration__phrase__phrase_list_keys | phrase.phrase_list_keys | Read | List translation keys in a Phrase project. Optionally filter by name using the query parameter, and control pagination with page and per_page. Returns key IDs, names, and creation dates. |
integration__phrase__phrase_get_key | phrase.phrase_get_key | Read | Get a single translation key by ID, including its name, description, tags, and plural settings. |
integration__phrase__phrase_list_translations | phrase.phrase_list_translations | Read | List translations in a Phrase project. Optionally filter by key ID or locale ID, and control pagination with page and per_page. Returns translation content, key names, and locale codes. |
integration__phrase__phrase_list_locales | phrase.phrase_list_locales | Read | List locales in a Phrase project. Returns locale IDs, codes, names, and default status. |
integration__phrase__phrase_get_current_user | phrase.phrase_get_current_user | Read | Get the current authenticated Phrase user's profile, including username, name, email, and account details. |