{
  "name": "SMB Tools — MCP Server",
  "nodes": [
    {
      "parameters": { "path": "smb-tools", "authentication": "bearerAuth" },
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "typeVersion": 1,
      "name": "MCP Server Trigger",
      "position": [240, 300]
    },
    {
      "parameters": {
        "descriptionType": "manual",
        "toolDescription": "Look up a customer by email and return name, plan, and open invoices.",
        "operation": "executeQuery",
        "query": "SELECT name, plan, open_invoices FROM customers WHERE email = $1"
      },
      "type": "n8n-nodes-base.postgresTool",
      "typeVersion": 2,
      "name": "lookup_customer",
      "position": [520, 200]
    },
    {
      "parameters": {
        "name": "draft_quote",
        "description": "Draft a quote PDF for a customer and return a shareable link.",
        "workflowId": "={{ $env.QUOTE_WORKFLOW_ID }}"
      },
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 2,
      "name": "draft_quote",
      "position": [520, 400]
    }
  ],
  "connections": {
    "lookup_customer": { "ai_tool": [[{ "node": "MCP Server Trigger", "type": "ai_tool", "index": 0 }]] },
    "draft_quote": { "ai_tool": [[{ "node": "MCP Server Trigger", "type": "ai_tool", "index": 0 }]] }
  }
}
