{
  "nodes": [
    {
      "id": "bdf03567-552e-4063-b488-1fab7e48755e",
      "name": "Workflow Overview 0",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1460,
        -200
      ],
      "parameters": {
        "width": 420,
        "height": 780,
        "content": "## \ud83d\udee0\ufe0f MailerLite Tool MCP Server\n\n### \ud83d\udccb Available Operations (4 total)\n\n**Subscriber**: create, get, get all, update\n\n### \u2699\ufe0f Setup Instructions\n\n1. **Import Workflow**: Load this workflow into your n8n instance\n\n1. **\ud83d\udd11 Add Credentials**: Configure MailerLite Tool authentication in one tool node then open and close all others.\n2. **\ud83d\ude80 Activate**: Enable this workflow to start your MCP server\n3. **\ud83d\udd17 Get URL**: Copy webhook URL from MCP trigger (right side)\n4. **\ud83e\udd16 Connect**: Use MCP URL in your AI agent configurations\n\n### \u2728 Ready-to-Use Features\n\n\u2022 Zero configuration - all 4 operations pre-built\n\u2022 AI agents automatically populate parameters via `$fromAI()` expressions\n\u2022 Every resource and operation combination available\n\u2022 Native n8n error handling and response formatting\n\u2022 Modify parameter defaults in any tool node as needed\n\n### \ud83d\udcac Need Help?\nCheck the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) or ping me on [discord](https://discord.me/cfomodz) for MCP integration guidance or customizations."
      },
      "typeVersion": 1
    },
    {
      "id": "77ee43e7-ea42-4538-afdc-74b19921e49c",
      "name": "MailerLite Tool MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -420,
        -180
      ],
      "parameters": {
        "path": "mailerlite-tool-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "8ec2ae06-f642-4558-8aff-bcee199ddbce",
      "name": "Create a subscriber",
      "type": "n8n-nodes-base.mailerLiteTool",
      "position": [
        -800,
        140
      ],
      "parameters": {
        "email": "={{ $fromAI('Email', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {},
      "typeVersion": 2
    },
    {
      "id": "920923ad-9112-434c-85a0-a3cc3f21ad94",
      "name": "Get a subscriber",
      "type": "n8n-nodes-base.mailerLiteTool",
      "position": [
        -580,
        140
      ],
      "parameters": {
        "operation": "get",
        "subscriberId": "={{ $fromAI('Subscriber_Id', ``, 'string') }}"
      },
      "credentials": {},
      "typeVersion": 2
    },
    {
      "id": "69391097-84ce-47c7-96d0-4ad7d881388f",
      "name": "Get many subscribers",
      "type": "n8n-nodes-base.mailerLiteTool",
      "position": [
        -360,
        140
      ],
      "parameters": {
        "limit": "={{ $fromAI('Limit', ``, 'number') }}",
        "filters": {},
        "operation": "getAll",
        "returnAll": "={{ $fromAI('Return_All', ``, 'boolean') }}"
      },
      "credentials": {},
      "typeVersion": 2
    },
    {
      "id": "e88776ee-6348-4618-a413-10bec6557bd5",
      "name": "Update a subscriber",
      "type": "n8n-nodes-base.mailerLiteTool",
      "position": [
        -140,
        140
      ],
      "parameters": {
        "operation": "update",
        "subscriberId": "={{ $fromAI('Subscriber_Id', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {},
      "typeVersion": 2
    },
    {
      "id": "b9fbc3d0-d98f-48c8-81fc-4174e098c11c",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        120
      ],
      "parameters": {
        "color": 4,
        "width": 1060,
        "height": 180,
        "content": "## Subscriber"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Get a subscriber": {
      "ai_tool": [
        [
          {
            "node": "MailerLite Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a subscriber": {
      "ai_tool": [
        [
          {
            "node": "MailerLite Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a subscriber": {
      "ai_tool": [
        [
          {
            "node": "MailerLite Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many subscribers": {
      "ai_tool": [
        [
          {
            "node": "MailerLite Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}