MCP I18n Extractor
@martincik
MCP I18n Extractor について
MCP server to help with i18n translations
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP I18n Extractor?
MCP I18n Extractor is an MCP server that extracts i18n (internationalization) strings from JavaScript/TypeScript source files and outputs them as structured JSON files. It is designed for developers working on multilingual applications who need to automate the initial extraction of translation keys from their codebase.
How to use MCP I18n Extractor?
Install the npm package (@access-intelligence/mcp-i18n), then configure your MCP client to use the server. The server exposes a single tool operation, extract_i18n, which requires a sourcePath (path to the JS/TS file) and a targetPath (path for the output JSON).
Key features of MCP I18n Extractor
- Extracts i18n strings from direct object exports (
export default { ... }) - Preserves nested objects and arrays in the output JSON
- Handles template strings with variable interpolation
- Supports strings, numbers, booleans,
null, andundefined - Merges with existing JSON files instead of overwriting
- Replaces source files with a configurable migration message (can be disabled)
Use cases of MCP I18n Extractor
- Automatically generate a JSON translation file from a single JS/TS i18n module
- Migrate a codebase by replacing old i18n source files with a warning placeholder
- Integrate i18n extraction into a CI/CD pipeline via MCP client automation
FAQ from MCP I18n Extractor
What kind of i18n structures can it extract?
It extracts strings from direct object exports (e.g., export default { key: "value" }) and supports nested objects, arrays, template strings with variables, and basic data types (string, number, boolean, null, undefined).
Does the tool overwrite existing translation files?
No. When the target JSON file already exists, the extracted strings are merged into it, preserving any existing keys.
Can I prevent the source file from being replaced?
Yes. Set the environment variable DISABLE_SOURCE_REPLACEMENT to 'true' to keep the original source file intact after extraction.
What runtime or dependencies does it require?
It is an npm package that runs on Node.js. The README does not specify a minimum Node version but lists npm test for testing, implying a typical Node environment.
How do I customize the warning message added to replaced source files?
Use the WARNING_MESSAGE environment variable to set a custom string that will be written into the source file after extraction (if not disabled).
「その他」の他のコンテンツ
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
ICSS
chokcoco不止于 CSS
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
コメント