Installation
Prerequisites
Section titled “Prerequisites”| Requirement | Notes |
|---|---|
| MCP client | Claude Desktop, Claude Code, or any MCP-compatible client |
| Go 1.21+ | Only needed if you build from source |
| MySQL access | Only 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.
-
Download the repository
Terminal window git clone https://github.com/scopweb/mcp-go-divi-translation.gitcd mcp-go-divi-translationOr download the ZIP from GitHub and extract it.
-
Locate the binary
The executable is at
bin/divi-translator.exe. Note the full path — you will need it in the next step. -
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.jsonfile 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. - Windows:
-
Restart your client
Restart Claude Desktop or reload your VS Code window (for Claude Code). You should see tools like
extract_divi_textandextract_wordpress_textlisted.
Option 2 — Build from source
Section titled “Option 2 — Build from source”Use this option on macOS, Linux, or if you prefer to compile yourself.
-
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 ... -
Clone and build
Terminal window git clone https://github.com/scopweb/mcp-go-divi-translation.gitcd mcp-go-divi-translationgo build -o divi-translator .This produces a
divi-translatorbinary in the current directory. -
Configure your MCP client (same as Option 1 — use
claude_desktop_config.jsonfor Claude Desktop or.mcp.jsonfor Claude Code){"mcpServers": {"divi-translator": {"command": "/absolute/path/to/divi-translator","args": []}}} -
Restart your client
Option 3 — With WordPress integration
Section titled “Option 3 — With WordPress integration”To translate WordPress posts directly from the database, add your MySQL credentials to the configuration.
-
Create a
.envfile in the same directory as the binary:.env WP_MYSQL_HOST=localhostWP_MYSQL_PORT=3306WP_MYSQL_USER=your_db_userWP_MYSQL_PASSWORD=your_db_passwordWP_MYSQL_DATABASE=your_wp_databaseWP_TABLE_PREFIX=wp_WP_BACKUP_DIR=/path/to/backup/folderThe server loads this file automatically on startup.
-
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"}}}} -
Restart your MCP client after saving the config.
Verify the installation
Section titled “Verify the installation”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.0Protocol: 2025-11-25MySQL: connected / not configuredActive sessions: 0Common issues
Section titled “Common issues”| Problem | Likely cause | Fix |
|---|---|---|
| Server does not appear in client | Wrong path in config | Use an absolute path and double-check the binary exists |
| Tools not listed after restart | Config JSON syntax error | Validate the JSON at jsonlint.com |
| MySQL connection error | Wrong credentials or host | Check .env values; test MySQL connection separately |
extract_wordpress_text fails | MySQL not configured | Add database credentials and restart your MCP client |
| Binary won’t run on macOS | Gatekeeper block | Run xattr -dr com.apple.quarantine divi-translator |