8
n8n 中文网amn8n.com

LibreTranslate MCP服务器

中级

这是一个Engineering, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 使AI代理能够通过LibreTranslate MCP服务器翻译文本和文件

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "UuCiDaOMBeNWkNjM",
  "meta": null,
  "name": "LibreTranslate MCP服务器",
  "tags": [],
  "nodes": [
    {
      "id": "d976f6b7-e246-4b8d-b186-24c56fa90196",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1020,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "54c31af1-4b6d-4daa-88d1-9e770532bcd5",
      "name": "工作流概述",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 820,
        "content": "## 🛠️ LibreTranslate MCP服务器 ✅ 6个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "f192938e-1bd8-4c5b-9d75-57eee5575904",
      "name": "LibreTranslate MCP服务器",
      "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": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 900,
        "height": 200,
        "content": "## 翻译"
      },
      "typeVersion": 1
    },
    {
      "id": "c1e2c713-e9c3-48da-94e8-13c6e77795f0",
      "name": "检测文本语言",
      "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": "列出支持的语言",
      "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": "翻译文本",
      "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": "翻译文件",
      "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": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## 前端"
      },
      "typeVersion": 1
    },
    {
      "id": "9d13961d-b235-4995-9d02-933d2463c67c",
      "name": "检索前端设置",
      "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": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        380
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 200,
        "content": "## 反馈"
      },
      "typeVersion": 1
    },
    {
      "id": "e6349dc2-e89a-4d53-b5c4-11c64f19053e",
      "name": "提交翻译建议",
      "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": {
    "Translate File": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Translate Text": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Detect Text Language": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "List Supported Languages": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retrieve Frontend Settings": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Submit Translation Suggestion": {
      "ai_tool": [
        [
          {
            "node": "LibreTranslate MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 工程, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量12
分类2
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
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

外部链接
在 n8n.io 查看

分享此工作流