[eBay] 分析API MCP服务器

中级

这是一个Engineering、AI Chatbot领域的自动化工作流,包含 7 个节点。主要使用 HttpRequestTool、McpTrigger 等节点。 eBay分析API速率限制监控(AI代理)

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "79AusN5QpppMG30z",
  "meta": null,
  "name": "[eBay] 分析 API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "ba377041-0be9-4e1a-9822-7f5674e6c578",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1020,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "d0a12e36-dbc1-4a49-9f8c-47a3a9851e2f",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ 分析 MCP 服务器 ✅ 2个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "6bc3cdbe-6251-4a40-837a-85a8104cf9db",
      "name": "分析 MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "338efb7f-1f1b-4f38-a041-ff76d32292eb",
      "parameters": {
        "path": "analytics-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "666529ad-7787-4cff-9fa0-f1dc65aed39f",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 200,
        "content": "## 速率限制"
      },
      "typeVersion": 1
    },
    {
      "id": "6c3c60dd-3650-4800-8404-27fdf77e9957",
      "name": "获取应用速率限制",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://api.ebay.com{basePath}/rate_limit/",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "api_context",
              "value": "={{ $fromAI('api_context', 'This optional query parameter filters the result to include only the specified API context. Valid values: buysell commercedevelopertradingapi', 'string') }}"
            },
            {
              "name": "api_name",
              "value": "={{ $fromAI('api_name', 'This optional query parameter filters the result to include only the APIs specified. Example values: browse for the <a href=\"/../develop/apis/restful-apis/buy-apis#buy-apis\" target=\"_blank\">Buy APIs</a> inventory for the <a href=\"/../develop/apis/restful-apis/sell-apis#sell-apis\" target=\"_blank\">Sell APIs</a> taxonomy for the <a href=\"/../develop/apis/restful-apis/commerce-apis#commerce-apis\" target=\"_blank\">Commerce APIs</a> tradingapi for the <a href=\"/../Devzone/XML/docs/Reference/eBay/index.html\" target=\"_blank\">Trading APIs</a>', 'string') }}"
            }
          ]
        },
        "toolDescription": "Retrieves the call limit and utilization data for an application. The data is retrieved for all RESTful APIs and the legacy Trading API. The response from getRateLimits includes a list of the applicable resources and the \"call limit\", or quota, that is set for each resource. In addition to quota information, the response also includes the number of remaining calls available before the limit is reached, the time remaining before the quota resets, and the length of the \"time window\" to which the quota applies. By default, this method returns utilization data for all RESTful API and the legacy Trading API resources. Use the api_name and api_context query parameters to filter the response to only the desired APIs. For more on call limits, see <a href=\"https://developer.ebay.com/support/app-check \" target=\"_blank\">Compatible Application Check</a>.\n\nParameters:\n- Query parameters:\n  • api_context (optional) - Optional query parameter filters the result to include only the specified API context. Valid values: buysell commercedevelopertradingapi\n  • api_name (optional) - Optional query parameter filters the result to include only the APIs specified. Example values: browse for the <a href=\"/../develop/apis/restful-apis/buy-apis#buy-apis\" target=\"_blank\">Buy APIs</a> inventory for the <a href=\"/../develop/apis/restful-apis/sell-apis#sell-apis\" target=\"_blank\">Sell APIs</a> taxonomy for the <a href=\"/../develop/apis/restful-apis/commerce-apis#commerce-apis\" target=\"_blank\">Commerce APIs</a> tradingapi for the <a href=\"/../Devzone/XML/docs/Reference/eBay/index.html\" target=\"_blank\">Trading APIs</a>"
      },
      "typeVersion": 4.2
    },
    {
      "id": "43d2e5cc-a52e-4c86-ba69-26b1515291d4",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## 用户速率限制"
      },
      "typeVersion": 1
    },
    {
      "id": "ff500c86-39e1-4ff4-800a-3fe49c32bff1",
      "name": "获取用户速率限制",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=https://api.ebay.com{basePath}/user_rate_limit/",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "api_context",
              "value": "={{ $fromAI('api_context', 'This optional query parameter filters the result to include only the specified API context. Valid values: buy sell commerce developer tradingapi', 'string') }}"
            },
            {
              "name": "api_name",
              "value": "={{ $fromAI('api_name', 'This optional query parameter filters the result to include only the APIs specified. Example values: browse for the <a href=\"/../develop/apis/restful-apis/buy-apis#buy-apis\" target=\"_blank\">Buy APIs</a> inventory for the <a href=\"/../develop/apis/restful-apis/sell-apis#sell-apis\" target=\"_blank\">Sell APIs</a> taxonomy for the <a href=\"/../develop/apis/restful-apis/commerce-apis#commerce-apis\" target=\"_blank\">Commerce APIs</a> tradingapi for the <a href=\"/../Devzone/XML/docs/Reference/eBay/index.html\" target=\"_blank\">Trading APIs</a>', 'string') }}"
            }
          ]
        },
        "toolDescription": "Retrieves the call limit and utilization data for an application user. The call-limit data is returned for all RESTful APIs and the legacy Trading API that limit calls on a per-user basis. The response from getUserRateLimits includes a list of the applicable resources and the \"call limit\", or quota, that is set for each resource. In addition to quota information, the response also includes the number of remaining calls available before the limit is reached, the time remaining before the quota resets, and the length of the \"time window\" to which the quota applies. By default, this method returns utilization data for all RESTful APIs resources and the legacy Trading API calls that limit request access by user. Use the api_name and api_context query parameters to filter the response to only the desired APIs. For more on call limits, see <a href=\"https://developer.ebay.com/support/app-check \" target=\"_blank\">Compatible Application Check</a>.\n\nParameters:\n- Query parameters:\n  • api_context (optional) - Optional query parameter filters the result to include only the specified API context. Valid values: buy sell commerce developer tradingapi\n  • api_name (optional) - Optional query parameter filters the result to include only the APIs specified. Example values: browse for the <a href=\"/../develop/apis/restful-apis/buy-apis#buy-apis\" target=\"_blank\">Buy APIs</a> inventory for the <a href=\"/../develop/apis/restful-apis/sell-apis#sell-apis\" target=\"_blank\">Sell APIs</a> taxonomy for the <a href=\"/../develop/apis/restful-apis/commerce-apis#commerce-apis\" target=\"_blank\">Commerce APIs</a> tradingapi for the <a href=\"/../Devzone/XML/docs/Reference/eBay/index.html\" target=\"_blank\">Trading APIs</a>"
      },
      "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-02T03:38:18.746Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-02T03:38:18.746Z",
      "workflowId": "79AusN5QpppMG30z"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-02T03:38:18.744Z",
  "updatedAt": "2025-07-02T03:40:59.000Z",
  "versionId": "3bfcc576-75ea-4162-af47-25c733717f6b",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Retrieve User Rate Limits": {
      "ai_tool": [
        [
          {
            "node": "Analytics MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Retrieve Application Rate Limits": {
      "ai_tool": [
        [
          {
            "node": "Analytics 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 上查看 →

分享此工作流