Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • GIS Data Conversion MCP
  • Vertex AI MCP Server
  • Azure Cosmos DB MCP Server
  • Powertools MCP Search Server
  • Perplexity AI MCP Server
Back to MCP Servers
Textra Japanese to English Translator

Textra Japanese to English Translator

Public
hokupod/textra-ja-to-en-mcp

Provides Model Context Protocol (MCP) translation services that convert Japanese text to English using the Textra API, enabling enhanced interaction with language models lacking Japanese comprehension.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Textra Japanese to English Translator

MCP Server

Unlock the full potential of Textra Japanese to English Translator through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Textra Japanese to English Translator MCP Server

Overview

This project provides a Model Context Protocol (MCP) server that translates Japanese text into English using the textra translation API service.

It is particularly useful for interacting with LLMs that have limited Japanese language understanding. By routing Japanese instructions through this MCP server, the input can be translated into English before being passed to the LLM.

This server is built using the fastmcp framework.

Setup

  1. Clone the repository:

    git clone cd
  2. Create and activate a virtual environment:

    uv venv source .venv/bin/activate

    (On Windows, use .venv\Scripts\activate)

  3. Install dependencies: Install the necessary libraries for running the project and for development/testing.

    # Install runtime dependencies only uv pip install . # Install runtime and development/testing dependencies uv pip install '.[dev]'

    (Dependencies are installed based on pyproject.toml.)

  4. Set Environment Variables: This server requires the following environment variables to be set with your Textra API credentials:

    • TEXTRA_API_KEY: Your Textra API Key.
    • TEXTRA_API_SECRET: Your Textra API Secret.
    • TEXTRA_USER_NAME: Your Textra Login ID.

    It is strongly recommended to set these variables in your shell's configuration file (e.g., ~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish) rather than using a .env file. This ensures the variables are available when the MCP server is run by client applications.

    Example for .zshrc or .bashrc:

    export TEXTRA_API_KEY="your_api_key" export TEXTRA_API_SECRET="your_api_secret" export TEXTRA_USER_NAME="your_username"

    Remember to source the file (e.g., source ~/.zshrc) or restart your shell after adding these lines.

    Optional Variables:

    • TEXTRA_JA_EN_API_URL: Overrides the default translation API endpoint.
    • TEXTRA_TOKEN_URL: Overrides the default OAuth token endpoint.

    (See .env.example for variable names and default values. While using a .env file is possible for local development, especially with fastmcp dev, setting system-wide environment variables is more robust for MCP server deployment.)

Running Tests

Ensure your virtual environment is activated.

pytest

or

uv run test

Usage

Ensure your virtual environment is activated and the required environment variables (TEXTRA_API_KEY, TEXTRA_API_SECRET, TEXTRA_USER_NAME) are correctly set in your shell environment.

Running the Server Locally

There are two main ways to run the server locally:

  1. Using fastmcp dev (Recommended for development): This command provides features like auto-reloading on code changes.

    fastmcp dev server.py
  2. Using uvx: This command runs the server script directly within a temporary environment managed by uv, installing dependencies as needed. It's useful for quick execution without installation.

    uvx python server.py

Both commands will start the server, listening for MCP connections via stdio by default. You can then connect to it using an MCP client like the MCP Inspector.

  1. Using uvx directly from GitHub (Requires uv installed): You can run the server directly from the GitHub repository without cloning it first. This is useful for integrating with MCP clients that support custom commands. uvx will handle fetching the code and installing dependencies in a temporary environment.
    uvx python server.py --git https://github.com/hokupod/textra-ja-to-en-mcp.git
    Note: This method might take longer to start initially compared to running from a local clone.

Installing the Server for MCP Clients (e.g., Claude Desktop)

Use the fastmcp install command to make the server available to MCP client applications on your system.

fastmcp install server.py --name "Japanese to English Translator"

After installation, MCP clients like Claude Desktop should be able to discover and use the "Japanese to English Translator" tool.

Alternatively, if your MCP client supports defining servers via commands (like Claude Desktop's mcp_servers.json), you can configure it to run the server directly from GitHub using uvx:

{ "mcpServers": { "textra-translator": { "command": "uvx", "args": [ "python", "server.py", "--git", "https://github.com/hokupod/textra-ja-to-en-mcp.git" // Optionally specify a branch or commit: // "--git", "https://github.com/hokupod/textra-ja-to-en-mcp.git#main" ] } } }

(Ensure uv is installed and accessible in the client's environment.)

When interacting with an LLM through such a client, if you provide input in Japanese, the LLM (if configured to use this tool appropriately based on its description) should automatically invoke this server to translate the text to English before processing the request further. The translated English text will then be treated as the user's original request.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • GIS Data Conversion MCP
    GIS Data Conversion MCP

    Provides Model Context Protocol (MCP) integration enabling large language models to perform advanced...

    9 tools
    Added May 30, 2025
  • Vertex AI MCP Server
    Vertex AI MCP Server

    Provides a Model Context Protocol server enabling advanced interaction with Google Cloud's Vertex AI...

    20 tools
    Added May 30, 2025
  • Azure Cosmos DB MCP Server
    Azure Cosmos DB MCP Server

    Enables seamless, secure interaction between AI language models and Azure Cosmos DB by translating n...

    Added May 30, 2025
  • Powertools MCP Search Server
    Powertools MCP Search Server

    Model Context Protocol server enabling efficient local search of AWS Lambda Powertools documentation...

    2 tools
    Added May 30, 2025
  • Perplexity AI MCP Server
    Perplexity AI MCP Server

    Provides seamless integration with Perplexity AI via Model Context Protocol, enabling chat, search, ...

    5 tools
    Added May 30, 2025