MCP Tools

discover

Discover the complete i18n setup. Returns project config (locales, default locale, layers, fallback chain, glossary, translation style) plus per-layer directory listings with file counts and top-level key namespaces, and the active translation mode ("provider" when the server has an env-configured LLM provider, "agent" otherwise). Call this first to understand the project before reading or writing translations. layerGraph answers where a new key belongs: a key used by more than one app belongs in a layer those apps share, and layerGraph.shared names those layers.

Parameters

ParameterTypeRequiredDescription
projectDirstringnoAbsolute path to the project root. Defaults to I18N_PROJECT_DIR, then server cwd.

Every tool is advertised by the-i18n-mcp and listed on the MCP tools overview.

Copyright © 2026