Skip to main content
Glama
Translation MCP Server

Translation MCP Server

by peio72

Translation MCP Server v1.0.0

MCP server for managing translation insertions into the clubee database with automatic cache revalidation and insertion reporting.

Features

  • Translation Insertion: Insert new translation keys into the database

  • Duplicate Prevention: Automatically checks for existing keys

  • Cache Revalidation: Automatically purges cache after successful insertions

  • Insertion Tracking: Tracks all insertions during the session

  • Detailed Reporting: Shows insertion reports with timestamps

Related MCP server: Code Analysis MCP Server

Setup

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build
  3. Run the server:

    npm start

Usage

The server provides one tool:

insert_translation_key

Inserts a new translation key into the database and automatically revalidates the cache.

Parameters:

  • key: The translation key/placeholder to insert

  • page_prefix: The page prefix (e.g., v3_licenses, shop, faddish)

  • english_translation: The default English translation

Example:

{
  "key": "license.specific_tags",
  "page_prefix": "v3_licenses",
  "english_translation": "Specific Tags"
}

Response includes:

  • Success confirmation for the insertion

  • Cache revalidation status

  • Complete insertion report showing all translations added during the session

Database Record Created:

  • page: "v3_licenses"

  • placeholder: "license.specific_tags"

  • en: "Specific Tags"

  • Other language fields (de, fr, lu, nl, fi, es): "***"

Automatic Cache Revalidation

After each successful translation insertion, the server automatically calls:

PURGE https://apiv3.clubee.dev/revalidate

This ensures that the new translations are immediately available in the application cache.

Database Connection

Connects to:

  • Host: databaserouter.test.clubee-aws.xyz

  • Port: 3306

  • Database: clubee

  • User: root

Version History

v1.0.0

  • Initial release with translation insertion

  • Automatic cache revalidation after insertions

  • Session-based insertion tracking and reporting

  • Duplicate key prevention

Available Tools

8 tools
analyze_translation_contextC

Analyze translation context and provide suggestions

Inputs: key (required), target_locale (required).

find_missing_translationsC

Identify missing or outdated translations across locales

Inputs: include_empty, namespaces, target_locales.

get_configurationC

Get current configuration and detect workspace settings

Inputs: source.

save_translationsC

Save provided translations to locale files

Inputs: translations (required).

set_workspace_configC

Update workspace-specific translation settings

Inputs: config (required), scope.

translate_keyC

Translate a specific translation key to target language(s)

Inputs: key (required), target_locales (required), context, namespace, +1 more.

translate_namespaceC

Translate all keys within a specific namespace/file

Inputs: namespace (required), target_locales (required), mode, source_locale.

validate_translationsC

Validate translation quality and consistency

Inputs: checks, target_locales.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a distinct purpose with clear boundaries: analyze context, find missing translations, get configuration, save translations, set configuration, translate a key, translate a namespace, and validate translations. There is no overlap in functionality, making it easy for an agent to select the right tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as 'analyze_translation_context', 'find_missing_translations', and 'save_translations'. This predictability aids in understanding and usage without any deviations or mixed conventions.

    Tool Count5/5

    With 8 tools, the server is well-scoped for translation management, covering configuration, translation operations, validation, and analysis. Each tool serves a specific role, avoiding bloat or thinness, making the count appropriate for the domain.

    Completeness5/5

    The tool set provides comprehensive coverage for translation workflows: configuration management (get/set), translation operations (key/namespace), saving, validation, and analysis for missing translations and context. There are no obvious gaps, supporting full CRUD-like lifecycle handling.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      The server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.
      4
      26
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A ModelContextProtocol server providing high-quality translation services with a three-stage translation workflow (analysis, segmented translation, full-text review) that supports multiple languages and integrates with Claude and OpenAI-compatible models.
      26
      -
    • A
      license
      A
      quality
      B
      maintenance
      A server that enables vector and keyword search capabilities in Typesense databases through the Model Context Protocol, providing tools for collection management, document operations, and search functionality.
      14
      10
      MIT