Mobility API MCP服务器

中级

这是一个Engineering、AI Chatbot领域的自动化工作流,包含 7 个节点。主要使用 HttpRequestTool、McpTrigger 等节点。 Mobility API MCP服务器

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "wrwHlSeU1EaZKJ5H",
  "meta": null,
  "name": "Mobility API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "9407e467-6a00-4ee9-8b4d-3b651956dc78",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "89c15181-ecd8-429f-87f2-7cd17c562743",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ Mobility MCP 服务器 ✅ 2 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "f4cab50f-b19e-4163-afbe-9b55b7daf8cf",
      "name": "Mobility MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "21eed299-3f0f-4e27-8bc0-ecaf82e26f3f",
      "parameters": {
        "path": "mobility-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "4455f27d-e0cc-41b7-b0b0-30517ec3ed01",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 200,
        "content": "## 信息"
      },
      "typeVersion": 1
    },
    {
      "id": "7fba4163-260d-44c7-a8c9-47aff6c419c1",
      "name": "检索应用信息",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://developer.o2.cz/mobility/sandbox/api/info",
        "options": {},
        "toolDescription": "Information about versions of application and data."
      },
      "typeVersion": 4.2
    },
    {
      "id": "116eae59-6430-486b-a86e-c340f6609253",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## 交通"
      },
      "typeVersion": 1
    },
    {
      "id": "dae3261a-7800-4c66-afd2-aabdae79b7d8",
      "name": "计算交通路线",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=https://developer.o2.cz/mobility/sandbox/api/transit/{{ $fromAI('from', 'source basic residential unit', 'string') }}/{{ $fromAI('to', 'destination basic residential unit', 'string') }}",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "fromType",
              "value": "={{ $fromAI('fromType', 'occurence type in the source basic residential unit (1 - transit, 2 - visit, 0 - both)', 'string') }}"
            },
            {
              "name": "toType",
              "value": "={{ $fromAI('toType', 'occurence type in the destination basic residential unit (1 - transit, 2 - visit, 0 - both)', 'string') }}"
            },
            {
              "name": "uniques",
              "value": "={{ $fromAI('uniques', 'all or only uniques (0 - all, 1 - uniques)', 'string') }}"
            }
          ]
        },
        "toolDescription": "Transit between basic residential units\n\nParameters:\n- Path parameters:\n  • from (required) - Source basic residential unit\n  • to (required) - Destination basic residential unit\n- Query parameters:\n  • fromType (optional) - Occurence type in the source basic residential unit (1 - transit, 2 - visit, 0 - both)\n  • toType (optional) - Occurence type in the destination basic residential unit (1 - transit, 2 - visit, 0 - both)\n  • uniques (required) - All or only uniques (0 - all, 1 - uniques)"
      },
      "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-03T17:14:12.273Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-03T17:14:12.273Z",
      "workflowId": "wrwHlSeU1EaZKJ5H"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-03T17:14:12.272Z",
  "updatedAt": "2025-07-03T17:17:18.000Z",
  "versionId": "26d0fe26-ccf2-432e-bbe2-375132f8f358",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Calculate Transit Route": {
      "ai_tool": [
        [
          {
            "node": "Mobility MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retrieve Application Info": {
      "ai_tool": [
        [
          {
            "node": "Mobility MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

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

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

这是一个中级难度的工作流,适用于Engineering、AI Chatbot等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

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

工作流信息
难度等级
中级
节点数量7
分类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 上查看 →

分享此工作流