{
  "workflow": {
    "id": 5576,
    "name": "eBay fulfillment API operations for AI agents with MCP server",
    "views": 112,
    "recentViews": 0,
    "totalViews": 112,
    "createdAt": "2025-07-02T04:16:43.968Z",
    "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 15 Fulfillment API operations to AI agents.\n\n## ⚡ Quick Setup\n\n1. **Import** this workflow into your n8n instance\n2. **Credentials** Add Fulfillment 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 Fulfillment 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 (15 total)\n\n### 🔧 Order (6 endpoints)\n\n• **GET /order**: Retrieve Fulfillment Details\n• **GET /order/{orderId}**: Get {Orderid}\n• **GET /order/{orderId}/shipping_fulfillment**: Get Shipping Fulfillment\n• **POST /order/{orderId}/shipping_fulfillment**: Create/Search Shipping Fulfillment\n• **GET /order/{orderId}/shipping_fulfillment/{fulfillmentId}**: Get {Fulfillmentid}\n• **POST /order/{order_id}/issue_refund**: Issue Refund\n\n### 🔧 Payment_Dispute (8 endpoints)\n\n• **GET /payment_dispute/{payment_dispute_id}**: Get Payment Dispute Details\n• **POST /payment_dispute/{payment_dispute_id}/accept**: Accept Payment Dispute\n• **GET /payment_dispute/{payment_dispute_id}/activity**: Get Payment Dispute Activity\n• **POST /payment_dispute/{payment_dispute_id}/add_evidence**: Add an Evidence File\n• **POST /payment_dispute/{payment_dispute_id}/contest**: Contest Payment Dispute\n• **GET /payment_dispute/{payment_dispute_id}/fetch_evidence_content**: Get Payment Dispute Evidence File\n• **POST /payment_dispute/{payment_dispute_id}/update_evidence**: Update evidence\n• **POST /payment_dispute/{payment_dispute_id}/upload_evidence_file**: Upload an Evidence File\n\n### 🔧 Payment_Dispute_Summary (1 endpoints)\n\n• **GET /payment_dispute_summary**: Search Payment Disputes\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 Fulfillment 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": "sa18X1rJ46urtyGp",
      "meta": null,
      "name": "[eBay] Fulfillment API MCP Server",
      "tags": [],
      "nodes": [
        {
          "id": "ba6f5ced-cd22-420e-b372-63b63c19e0b6",
          "name": "Setup Instructions",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1380,
            -240
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "bdb03bb7-7fc8-440f-85ec-881a85125769",
          "name": "Workflow Overview",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1120,
            -240
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "78daa3ff-b4e1-4ac1-a713-1ef28e170a20",
          "name": "Fulfillment MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -620,
            -240
          ],
          "webhookId": "255ee277-39d2-4ce8-8ca9-08c8de7f02ca",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "9fe3524e-7b9f-45c7-8f75-764b9a2dfd69",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -660,
            -100
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "f7d3cefa-efaa-48a3-a4b0-d9e6fbad37e5",
          "name": "Search Orders",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -520,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "def3fc14-bd2a-455f-8e6b-15f779f5720d",
          "name": "Retrieve Order Details",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -320,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "a6ba862e-6893-4b59-bb42-cbe0a45b60fc",
          "name": "Issue Order Refund",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -120,
            -60
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "25005aad-a643-4a3a-928c-acdec8e0ae18",
          "name": "Sticky Note2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -660,
            140
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "35799355-397b-439e-a6de-175752d9d43d",
          "name": "List Order Fulfillments",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -520,
            180
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "dd742dbf-2294-4616-bc0e-d1009b71fd37",
          "name": "Create Shipping Fulfillment",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -320,
            180
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "a6c3b277-5902-4c74-b737-4e1c420cc5c6",
          "name": "Retrieve Fulfillment Details",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -120,
            180
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "98e9e70c-378f-4a13-aa90-0850ba6749d8",
          "name": "Sticky Note3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -660,
            380
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "e72080ac-4789-4b96-b7e9-81cd27d4ab0b",
          "name": "Retrieve Dispute Details",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -520,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "202b8213-7073-47f9-8ac6-57362ebf5a4f",
          "name": "Accept Payment Dispute",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -320,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "85da0597-a145-4bf8-8ca0-e75a6618ad36",
          "name": "Retrieve Dispute Activity",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            -120,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "34253a93-2386-47b9-905a-7f2a19ebf4dc",
          "name": "Add Dispute Evidence",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            80,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "651a9de5-5743-4e8c-830d-636376b7bfe6",
          "name": "Contest Payment Dispute",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            280,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "8280fcea-f92a-4121-89e6-5810ae0c22a7",
          "name": "Retrieve Evidence File",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            480,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "e17df1d5-9df4-432b-8bb1-6b665202b872",
          "name": "Update Dispute Evidence",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            680,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "e5d6fead-5286-493e-bdf4-45d755aa3e96",
          "name": "Upload Evidence File",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            880,
            420
          ],
          "parameters": {},
          "typeVersion": 4.2
        },
        {
          "id": "340e625d-b60b-4f55-80e6-7e3eed43f259",
          "name": "Search Payment Disputes",
          "type": "n8n-nodes-base.httpRequestTool",
          "position": [
            1080,
            420
          ],
          "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-02T04:04:55.977Z",
          "projectId": "G5fce9xGuBAsWBXe",
          "updatedAt": "2025-07-02T04:04:55.977Z",
          "workflowId": "sa18X1rJ46urtyGp"
        }
      ],
      "pinData": {},
      "settings": {
        "timezone": "America/New_York"
      },
      "createdAt": "2025-07-02T04:04:55.975Z",
      "updatedAt": "2025-07-02T04:16:04.000Z",
      "versionId": "7effd6a0-55fc-4e5d-beca-169ad269c731",
      "isArchived": false,
      "staticData": null,
      "connections": {
        "Search Orders": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Issue Order Refund": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Add Dispute Evidence": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Upload Evidence File": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Accept Payment Dispute": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Evidence File": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Order Details": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Contest Payment Dispute": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "List Order Fulfillments": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Search Payment Disputes": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Update Dispute Evidence": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Dispute Details": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Dispute Activity": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create Shipping Fulfillment": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retrieve Fulfillment Details": {
          "ai_tool": [
            [
              {
                "node": "Fulfillment MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      },
      "triggerCount": 0
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 21,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 5
        },
        "n8n-nodes-base.httpRequestTool": {
          "count": 15
        },
        "@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": 39,
        "name": "CRM"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}