{
  "workflow": {
    "id": 5574,
    "name": "AI agent integration for eBay Logistics API with MCP Server",
    "views": 111,
    "recentViews": 0,
    "totalViews": 111,
    "createdAt": "2025-07-02T04:00:00.239Z",
    "description": "Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?\n\n[Join the community](https://www.skool.com/beyond-nodes-automation-lab-2006/about)\n\nComplete MCP server exposing 6 Logistics API operations to AI agents.\n\n## ⚡ Quick Setup\n\n1. **Import** this workflow into your n8n instance\n2. **Credentials** Add Logistics API credentials\n3. **Activate** the workflow to start your MCP server\n4. **Copy** the webhook URL from the MCP trigger node\n5. **Connect** AI agents using the MCP URL\n\n## 🔧 How it Works\n\nThis workflow converts the Logistics 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 https://api.ebay.com{basePath}\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Returns responses directly to the AI agent\n\n## 📋 Available Operations (6 total)\n\n### 🔧 Shipment (4 endpoints)\n\n• **POST /shipment/create_from_shipping_quote**: Create Shipment from Quote\n• **GET /shipment/{shipmentId}**: This method retrieves the shipment details for the specified shipment ID\n• **POST /shipment/{shipmentId}/cancel**: Create/Search Cancel\n• **GET /shipment/{shipmentId}/download_label_file**: Get Download Label File\n\n### 🔧 Shipping_Quote (2 endpoints)\n\n• **POST /shipping_quote**: Retrieve Shipping Quote\n• **GET /shipping_quote/{shippingQuoteId}**: Get {Shippingquoteid}\n\n## 🤖 AI Integration\n\n**Parameter Handling**: AI agents automatically provide values for:\n• Path parameters and identifiers\n• Query parameters and filters\n• Request body data\n• Headers and authentication\n\n**Response Format**: Native Logistics API responses with full data structure\n\n**Error Handling**: Built-in n8n HTTP request error management\n\n## 💡 Usage Examples\n\nConnect this MCP server to any AI agent or workflow:\n\n• **Claude Desktop**: Add MCP server URL to configuration\n• **Cursor**: Add MCP server SSE URL to configuration\n• **Custom AI Apps**: Use MCP URL as tool endpoint\n• **API Integration**: Direct HTTP calls to MCP endpoints\n\n## ✨ Benefits\n\n• **Zero Setup**: No parameter mapping or configuration needed\n• **AI-Ready**: Built-in `$fromAI()` expressions for all parameters\n• **Production Ready**: Native n8n HTTP request handling and logging\n• **Extensible**: Easily modify or add custom logic\n\n&gt; 🆓 **[Free for community use](https://github.com/Cfomodz/community-use)!** Ready to deploy in under 2 minutes.",
    "workflow": {
      "id": "ZEp82lAlrm6ggQQo",
      "meta": null,
      "name": "[eBay] Logistics API MCP Server",
      "tags": [],
      "nodes": [
        {
          "id": "359c07f6-c9d6-461d-9588-b195d6a3756e",
          "name": "Setup Instructions",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1300,
            -240
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "a2d38bcc-c681-4493-be47-08a56c6f27ae",
          "name": "Workflow Overview",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1020,
            -240
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "36a02f3b-c0f7-40af-8900-6bc6cd8568a4",
          "name": "Logistics MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -620,
            -240
          ],
          "webhookId": "038ac931-44ab-48f1-9efa-60a8fa0018f0",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "411dc66a-de33-4cc2-8fac-73d34e8914b3",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -660,
            -100
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "60f39efd-43f8-4589-a2f1-689cd175a06d",
          "name": "Create Shipment from Quote",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -520,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "42130859-3acf-4729-930a-35fcebffdc3a",
          "name": "Retrieve Shipment Details",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -320,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "c4964019-5209-4719-886b-4abbeddff096",
          "name": "Cancel Shipment",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -120,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "e73dcc42-f6bf-4eef-a36d-4e1b85d459f1",
          "name": "Download Shipping Label",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            80,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "e1216a21-b733-4ab1-8228-73d89f295051",
          "name": "Sticky Note2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -660,
            140
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "d8c70981-dc32-42f7-8280-a0459823f717",
          "name": "Generate Shipping Quote",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -520,
            180
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "0d52ac62-2842-4bb3-8cda-bee8f749a568",
          "name": "Retrieve Shipping Quote",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -320,
            180
          ],
          "parameters": {},
          "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:58:54.121Z",
          "projectId": "G5fce9xGuBAsWBXe",
          "updatedAt": "2025-07-02T03:58:54.121Z",
          "workflowId": "ZEp82lAlrm6ggQQo"
        }
      ],
      "pinData": {},
      "settings": {
        "timezone": "America/New_York"
      },
      "createdAt": "2025-07-02T03:58:54.119Z",
      "updatedAt": "2025-07-02T03:59:39.000Z",
      "versionId": "88628714-acb8-47a2-998d-c38eb257bcad",
      "isArchived": false,
      "staticData": null,
      "connections": {
        "Cancel Shipment": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Download Shipping Label": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Generate Shipping Quote": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Shipping Quote": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Shipment Details": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create Shipment from Quote": {
          "ai_tool": [
            [
              {
                "node": "Logistics MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      },
      "triggerCount": 0
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 11,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 4
        },
        "n8n-nodes-base.httpRequestTool": {
          "count": 6
        },
        "@n8n/n8n-nodes-langchain.mcpTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "user": {
      "name": "David Ashby",
      "username": "cfomodz",
      "bio": "Unlimited Access to my paid workflows 👇 For the cost of one a month",
      "verified": true,
      "links": [
        "https://www.skool.com/n8n-automation-lab"
      ],
      "avatar": "https://gravatar.com/avatar/0118796cfdab829a3307d407dfeeb01a3952eb402584a45a211e4ef7d15edbbf?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1293,
        "icon": "file:../mcp.svg",
        "name": "@n8n/n8n-nodes-langchain.mcpTrigger",
        "codex": {
          "data": {
            "alias": [
              "Model Context Protocol",
              "MCP Server"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger/"
                }
              ]
            },
            "categories": [
              "AI",
              "Core Nodes",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Root Nodes",
                "Model Context Protocol"
              ],
              "Core Nodes": [
                "Other Trigger Nodes"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "MCP Server Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDE5NSAxOTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8ZyBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+CgkJPHBhdGggZD0iTTI1IDk3Ljg1MjhMOTIuODgyMyAyOS45NzA2QzEwMi4yNTUgMjAuNTk4IDExNy40NTEgMjAuNTk4IDEyNi44MjMgMjkuOTcwNlYyOS45NzA2QzEzNi4xOTYgMzkuMzQzMSAxMzYuMTk2IDU0LjUzOTEgMTI2LjgyMyA2My45MTE3TDc1LjU1ODEgMTE1LjE3NyIvPgoJCTxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiLz4KCQk8cGF0aCBkPSJNMTA5Ljg1MyA0Ni45NDExTDU5LjY0ODIgOTcuMTQ1N0M1MC4yNzU3IDEwNi41MTggNTAuMjc1NyAxMjEuNzE0IDU5LjY0ODIgMTMxLjA4N1YxMzEuMDg3QzY5LjAyMDggMTQwLjQ1OSA4NC4yMTY4IDE0MC40NTkgOTMuNTg5NCAxMzEuMDg3TDE0My43OTQgODAuODgyMiIvPgoJPC9nPgo8L3N2Zz4K"
        },
        "displayName": "MCP Server Trigger",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 5,
        "name": "Engineering"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}