MCP Tools
MCP Tools
Every tool the-i18n-mcp advertises is listed below and documented on its own page, with the parameters and descriptions an MCP host receives.
Tools
| Tool | What it does |
|---|---|
discover | Discover i18n Setup |
list_namespaces | List Namespaces |
get_translations | Get Translations |
write_translations | Write Translations |
get_missing_translations | Get Missing Translations |
get_translation_status | Get Translation Status |
search_translations | Search Translations |
remove_translations | Remove Translations |
move_translation_key | Move or Rename a Translation Key |
translate_missing | Translate Missing |
translate_key | Translate Key |
find_undefined_keys | Find Used-But-Undefined Translation Keys |
find_orphan_keys | Find Orphan Translation Keys |
find_duplicate_keys | Find Duplicate Translation Keys Across Layers |
scaffold_locale | Scaffold Locale |
Paired CLI Commands
@the-i18n-kit/mcp depends on @the-i18n-kit/cli and calls the same functions the commands call, so a tool and the command it pairs with read the same project and return the same result. Where you run an operation from is a matter of who is driving.
A tool parameter and the flag that reaches it carry one name — targetLocales is --targetLocales, with the shorter spelling the CLI used before kept as an alias — so the command pages document the flags rather than these pages restating them.
Parameters Every Tool Accepts
projectDir appears on every tool.
What a Tool Returns
Every tool advertises an outputSchema and returns its result as structuredContent, so a host hands its model typed data rather than a JSON blob to parse. The same JSON is sent as a text block for hosts that read only that. Each tool page lists the top-level fields of its own result.
Diverting a Large Result
get_missing_translations, get_translation_status, search_translations, find_undefined_keys, find_orphan_keys, find_duplicate_keys accept outputFile. Given an absolute path, the tool writes its full JSON result there and returns a compact summary instead, so a result covering thousands of keys never enters the conversation.