{
  "name": "Build an MCP server which answers questions with retrieval augmented generation",
  "nodes": [
    {
      "id": "6b47ec70-22fc-46eb-970f-57d43f1512ea",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "cda97a99-fd6a-42dd-ba61-09af42f03112",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        140,
        200
      ]
    },
    {
      "id": "638d581b-7d35-4da2-8733-5960d151b711",
      "name": "Embeddings Ollama",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
      "position": [
        320,
        420
      ]
    },
    {
      "id": "3ff5792d-2991-40bc-8fde-b8dc5baacef6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        -100
      ],
      "parameters": {
        "width": 680,
        "height": 640,
        "content": "## MCP Server\n**Our RAG MCP Server"
      }
    },
    {
      "id": "18b55010-f395-429d-9b00-5b1ec50b236b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -100
      ],
      "parameters": {
        "width": 800,
        "height": 640,
        "content": "## RAG Ingestion Pipeline\n**Use this to ingest documents"
      }
    },
    {
      "id": "96f2aa5e-8651-4f6a-bf2a-9fe954812a23",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        620,
        0
      ]
    },
    {
      "id": "7066b3bc-b2ad-4d91-8104-1b59222932a1",
      "name": "Qdrant Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        840,
        0
      ]
    },
    {
      "id": "463a09b8-43ce-4427-88c6-ac54d5d705c7",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1080,
        220
      ]
    }
  ],
  "connections": {
    "Embeddings Ollama": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "Qdrant Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Qdrant Vector Store": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}