Servidor MCP de LibreTranslate

Intermedio

Este es unEngineering, Multimodal AIflujo de automatización del dominio deautomatización que contiene 12 nodos.Utiliza principalmente nodos como HttpRequestTool, McpTrigger. Permitir que los agentes de IA traduzcan texto y archivos a través del servidor MCP de LibreTranslate

Requisitos previos
  • Pueden requerirse credenciales de autenticación para la API de destino
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "UuCiDaOMBeNWkNjM",
  "meta": null,
  "name": "LibreTranslate MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "d976f6b7-e246-4b8d-b186-24c56fa90196",
      "name": "Instrucciones de Configuración",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1020,
        "content": "### ⚙️ Setup Instructions\n\n1. **Import Workflow**: \nLoad this workflow into your n8n instance\n\n2. **Authentication**: \nNo authentication required\n\n3. **Activate Workflow**:\nEnable the workflow to start the MCP server\n\n4. **Get MCP URL**: \nCopy the webhook URL from the MCP trigger\n\n5. **Connect AI Agent**:\nUse the MCP URL in your AI agent configuration\n\n\n### 💡 Usage Notes\n• Parameters are auto-populated by AI using $fromAI() expressions\n• With 6 API endpoints available as tools\n• Responses maintain original API structure\n\n\n### 🛠️ Customization\n• Add data transformation nodes if needed\n• Implement custom error handling\n• Add logging or monitoring nodes\n\n• Modify parameter defaults in any HTTP request node as needed\n\n### 💬 Need Help?\nPing me on [discord](https://discord.me/cfomodz) for integration guidance and custom automations. Check the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) for more information."
      },
      "typeVersion": 1
    },
    {
      "id": "54c31af1-4b6d-4daa-88d1-9e770532bcd5",
      "name": "Descripción General del Flujo de Trabajo",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 820,
        "content": "## 🛠️ LibreTranslate MCP Server ✅ 6 operations\n\n### 🔧 How it Works\n\nThis workflow converts the LibreTranslate API into an MCP-compatible interface for AI agents.\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **HTTP Request Nodes**: Handle API calls to http://libretranslate.local\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Returns responses directly to the AI agent\n\n\n### 📋 Available Operations (6 endpoints)\n\n**Translate (4 operations)**\nDetect Text Language, List Supported Languages, Translate Text, Translate File\n\n**Frontend (1 operations)**\nRetrieve Frontend Settings\n\n**Feedback (1 operations)**\nSubmit Translation Suggestion\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f192938e-1bd8-4c5b-9d75-57eee5575904",
      "name": "Servidor MCP de LibreTranslate",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "fec98c38-e303-4616-b3b3-69fe0124a375",
      "parameters": {
        "path": "libretranslate-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "d7743ce0-6738-4b1b-aaef-05a36aa0f8e8",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 900,
        "height": 200,
        "content": "## Translate"
      },
      "typeVersion": 1
    },
    {
      "id": "c1e2c713-e9c3-48da-94e8-13c6e77795f0",
      "name": "Detectar Idioma del Texto",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=http://libretranslate.local/detect",
        "method": "POST",
        "options": {},
        "toolDescription": "Detect the language of a single text"
      },
      "typeVersion": 4.2
    },
    {
      "id": "73287e47-86be-4dfe-90d3-ce0b2abb2e7d",
      "name": "Listar Idiomas Soportados",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=http://libretranslate.local/languages",
        "options": {},
        "toolDescription": "Retrieve list of supported languages"
      },
      "typeVersion": 4.2
    },
    {
      "id": "7806edb2-9c94-44e2-bf86-3f9098d1df44",
      "name": "Traducir Texto",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        -60
      ],
      "parameters": {
        "url": "=http://libretranslate.local/translate",
        "method": "POST",
        "options": {},
        "toolDescription": "Translate text from a language to another"
      },
      "typeVersion": 4.2
    },
    {
      "id": "d19e2375-a15a-4498-9934-31fce6606dcb",
      "name": "Traducir Archivo",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        -60
      ],
      "parameters": {
        "url": "=http://libretranslate.local/translate_file",
        "method": "POST",
        "options": {},
        "toolDescription": "Translate file from a language to another"
      },
      "typeVersion": 4.2
    },
    {
      "id": "9d199f3b-881b-43e4-a537-7d67754fc495",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## Frontend"
      },
      "typeVersion": 1
    },
    {
      "id": "9d13961d-b235-4995-9d02-933d2463c67c",
      "name": "Recuperar Configuraciones del Frontend",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=http://libretranslate.local/frontend/settings",
        "options": {},
        "toolDescription": "Retrieve frontend specific settings"
      },
      "typeVersion": 4.2
    },
    {
      "id": "9337ee79-eb1a-42ec-9562-3d9d289ea4bf",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        380
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 200,
        "content": "## Feedback"
      },
      "typeVersion": 1
    },
    {
      "id": "e6349dc2-e89a-4d53-b5c4-11c64f19053e",
      "name": "Enviar Sugerencia de Traducción",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        420
      ],
      "parameters": {
        "url": "=http://libretranslate.local/suggest",
        "method": "POST",
        "options": {},
        "toolDescription": "Submit a suggestion to improve a translation"
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-02T18:20:58.301Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-02T18:20:58.301Z",
      "workflowId": "UuCiDaOMBeNWkNjM"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-02T18:20:58.296Z",
  "updatedAt": "2025-07-02T18:21:41.000Z",
  "versionId": "eab08bea-e34a-4a66-98fe-51afbdb62c50",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "d19e2375-a15a-4498-9934-31fce6606dcb": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "7806edb2-9c94-44e2-bf86-3f9098d1df44": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c1e2c713-e9c3-48da-94e8-13c6e77795f0": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "73287e47-86be-4dfe-90d3-ce0b2abb2e7d": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9d13961d-b235-4995-9d02-933d2463c67c": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "e6349dc2-e89a-4d53-b5c4-11c64f19053e": {
      "ai_tool": [
        [
          {
            "node": "f192938e-1bd8-4c5b-9d75-57eee5575904",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Intermedio - Ingeniería, IA Multimodal

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos12
Categoría2
Tipos de nodos3
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Autor
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34