translate_translate

Pack: translate · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/translate_translate for the schema, then POST the same URL with its arguments for the data.

Translate text between languages using a LibreTranslate instance you supply — pass _apiKey for libretranslate.com or _endpoint for a self-hosted server. For translation with no key of your own, call mymemory_translate instead.

Parameters

NameTypeRequiredDescription
textstringyesThe text to translate
sourcestringyesSource language code (e.g. “en” for English, “es” for Spanish)
targetstringyesTarget language code (e.g. “es” for Spanish, “fr” for French)

Example call

Arguments

{
  "text": "Hello, how are you?",
  "source": "en",
  "target": "es"
}

curl

curl -X POST https://gateway.pipeworx.io/translate/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"translate_translate","arguments":{"text":"Hello, how are you?","source":"en","target":"es"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('translate_translate', {
  "text": "Hello, how are you?",
  "source": "en",
  "target": "es"
});

More examples

{
  "text": "Bonjour, comment allez-vous?",
  "source": "fr",
  "target": "de"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "description": "Source language code"
        },
        "target": {
          "type": "string",
          "description": "Target language code"
        },
        "original_text": {
          "type": "string",
          "description": "The original text that was translated"
        },
        "translated_text": {
          "type": "string",
          "description": "The translated text result"
        },
        "found": {
          "type": "boolean",
          "enum": [
            true
          ],
          "description": "Present and true on an answer; a miss is the found:false branch."
        }
      },
      "required": [
        "source",
        "target",
        "original_text",
        "translated_text"
      ]
    },
    {
      "type": "object",
      "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      "properties": {
        "found": {
          "type": "boolean",
          "enum": [
            false
          ]
        }
      },
      "required": [
        "found"
      ]
    }
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the translate pack
{
  "mcpServers": {
    "translate": {
      "url": "https://gateway.pipeworx.io/translate/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026