Skip to content

Installation

RequirementNotes
MCP clientClaude Desktop, Claude Code, or any MCP-compatible client
Go 1.21+Only needed if you build from source
MySQL accessOnly needed for WordPress integration

Option 1 — Download the pre-built binary (Windows)

Section titled “Option 1 — Download the pre-built binary (Windows)”

A compiled Windows executable is included in the repository under bin/divi-translator.exe. This is the fastest way to get started on Windows — no build tools required.

  1. Download the repository

    Terminal window
    git clone https://github.com/scopweb/mcp-go-divi-translation.git
    cd mcp-go-divi-translation

    Or download the ZIP from GitHub and extract it.

  2. Locate the binary

    The executable is at bin/divi-translator.exe. Note the full path — you will need it in the next step.

  3. Configure your MCP client

    Claude Desktop — open (or create) your configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    claude_desktop_config.json
    {
    "mcpServers": {
    "divi-translator": {
    "command": "C:\\path\\to\\mcp-go-divi-translation\\bin\\divi-translator.exe",
    "args": []
    }
    }
    }

    Claude Code — add a .mcp.json file in your project root:

    .mcp.json
    {
    "mcpServers": {
    "divi-translator": {
    "command": "C:\\path\\to\\mcp-go-divi-translation\\bin\\divi-translator.exe",
    "args": []
    }
    }
    }

    Replace C:\\path\\to\\ with the actual path where you cloned the repository.

  4. Restart your client

    Restart Claude Desktop or reload your VS Code window (for Claude Code). You should see tools like extract_divi_text and extract_wordpress_text listed.


Use this option on macOS, Linux, or if you prefer to compile yourself.

  1. Install Go

    Download Go 1.21 or later from go.dev/dl. Verify the installation:

    Terminal window
    go version
    # Expected: go version go1.21.x ...
  2. Clone and build

    Terminal window
    git clone https://github.com/scopweb/mcp-go-divi-translation.git
    cd mcp-go-divi-translation
    go build -o divi-translator .

    This produces a divi-translator binary in the current directory.

  3. Configure your MCP client (same as Option 1 — use claude_desktop_config.json for Claude Desktop or .mcp.json for Claude Code)

    {
    "mcpServers": {
    "divi-translator": {
    "command": "/absolute/path/to/divi-translator",
    "args": []
    }
    }
    }
  4. Restart your client


To translate WordPress posts directly from the database, add your MySQL credentials to the configuration.

  1. Create a .env file in the same directory as the binary:

    .env
    WP_MYSQL_HOST=localhost
    WP_MYSQL_PORT=3306
    WP_MYSQL_USER=your_db_user
    WP_MYSQL_PASSWORD=your_db_password
    WP_MYSQL_DATABASE=your_wp_database
    WP_TABLE_PREFIX=wp_
    WP_BACKUP_DIR=/path/to/backup/folder

    The server loads this file automatically on startup.

  2. Or pass credentials via the MCP client config using env:

    claude_desktop_config.json
    {
    "mcpServers": {
    "divi-translator": {
    "command": "/path/to/divi-translator",
    "args": [],
    "env": {
    "WP_MYSQL_HOST": "localhost",
    "WP_MYSQL_PORT": "3306",
    "WP_MYSQL_USER": "your_db_user",
    "WP_MYSQL_PASSWORD": "your_db_password",
    "WP_MYSQL_DATABASE": "your_wp_database",
    "WP_TABLE_PREFIX": "wp_",
    "WP_BACKUP_DIR": "/path/to/backups"
    }
    }
    }
    }
  3. Restart your MCP client after saving the config.


After restarting your MCP client, open a conversation and ask:

“What tools do you have available from the divi-translator server?”

Claude should list eight tools including extract_divi_text, extract_wordpress_text, and submit_bulk_translation.

You can also ask Claude to run server_info for a status summary:

“Run server_info on the divi-translator”

Expected output:

Divi Translator MCP v4.4.0
Protocol: 2025-11-25
MySQL: connected / not configured
Active sessions: 0

ProblemLikely causeFix
Server does not appear in clientWrong path in configUse an absolute path and double-check the binary exists
Tools not listed after restartConfig JSON syntax errorValidate the JSON at jsonlint.com
MySQL connection errorWrong credentials or hostCheck .env values; test MySQL connection separately
extract_wordpress_text failsMySQL not configuredAdd database credentials and restart your MCP client
Binary won’t run on macOSGatekeeper blockRun xattr -dr com.apple.quarantine divi-translator