schmkls/JSON-translations-MCP-server
If you are the rightful owner of JSON-translations-MCP-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for updating and retrieving translations in JSON files.
The JSON Translations MCP Server is designed to facilitate the management of translations within JSON files. It provides two primary tools: `update-translation` and `get-translation`, which allow users to update and retrieve translations using a dot-notation path. This server supports multiple language files and maintains the JSON structure and formatting. It is particularly useful for applications with nested translation keys and offers graceful error handling. Users can specify a default translations path or provide a custom path during operations.
Features
- Update translations in JSON files using a dot-notation path
- Retrieve translations from JSON files using a dot-notation path
- Support for multiple language files
- Preserves JSON structure and formatting
- Handles nested translation keys
Usages
usage with Claude Desktop npm
{ "mcpServers": { "json-translations-mcp-server": { "command": "json-translations-mcp-server", "args": ["--path", "/path/to/translations"] } } }
usage with Claude Desktop source with default path
{ "mcpServers": { "json-translations-mcp-server": { "command": "bun", "args": [ "/path/to/your/project/dist/main.js", "--path", "/path/to/translations" ] } } }
usage with Claude Desktop source without default path
{ "mcpServers": { "json-translations-mcp-server": { "command": "bun", "args": ["/path/to/your/project/dist/main.js"] } } }