productivity
Phrase MCP, CLI, and Lua Integration for AI Agents
Phrase integration docs for AI agents: MCP gateway setup, Phrase CLI commands, Lua API reference, credentials, and function schemas.
7 functions 7 read 0 write Bearer token auth
Phrase for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
phrase- route_slug
phrase- package
phrase- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Phrase CLIHeadless setup and direct function calls. Phrase MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Phrase MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Phrase.
Claude Code Phrase MCP setup for Claude Code. Cursor Phrase MCP setup for Cursor. Codex Phrase MCP setup for Codex. OpenAI Agents Phrase MCP setup for OpenAI Agents SDK. Claude Agent SDK Phrase MCP setup for Claude Agent SDK. Vercel AI SDK Phrase MCP setup for Vercel AI SDK. LangChain Phrase MCP setup for LangChain. LangGraph Phrase MCP setup for LangGraph. CrewAI Phrase MCP setup for CrewAI. MCP clients Phrase MCP setup for Generic MCP Clients.
Phrase CLI Matrix
Use these pages for direct Phrase CLI workflows in scripts, CI, cron, and agent wrappers.
CI Phrase CLI for CI. Cron Jobs Phrase CLI for cron jobs. Shell Scripts Phrase CLI for shell scripts. Headless Automation Phrase CLI for headless automation. Coding Agents Phrase CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
phrase.phrase_list_projects | Read read | 2 | List all Phrase projects the authenticated user has access to. Returns project IDs, names, main formats, and locale counts. |
phrase.phrase_get_project | Read read | 1 | Get details of a single Phrase project including name, slug, main format, default locale, and shares. |
phrase.phrase_list_keys | Read read | 4 | 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. |
phrase.phrase_get_key | Read read | 2 | Get a single translation key by ID, including its name, description, tags, and plural settings. |
phrase.phrase_list_translations | Read read | 6 | 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. |
phrase.phrase_list_locales | Read read | 3 | List locales in a Phrase project. Returns locale IDs, codes, names, and default status. |
phrase.phrase_get_current_user | Read read | 0 | Get the current authenticated Phrase user's profile, including username, name, email, and account details. |