AutomationFlowsWeb Scraping › Automated Security Scans & Fixes

Automated Security Scans & Fixes

Original n8n title: Autosecure Workflow

AutoSecure Workflow. Uses httpRequestTool, mcpTrigger. Event-driven trigger; 9 nodes.

Event trigger★★★★☆ complexityAI-powered9 nodesHTTP Request ToolMcp Trigger
Web Scraping Trigger: Event Nodes: 9 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the HTTP Request Tool → Mcptrigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "AutoSecure Workflow",
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:7002/aihackathon/api/mcp/commitBranch",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        -352,
        144
      ],
      "id": "dd981520-8400-4473-8136-f5ac4e4f88ea",
      "name": "Commit"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:7002/aihackathon/api/mcp/scanVulnerabilities",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        -1328,
        112
      ],
      "id": "93f1ee1c-56c5-47da-a311-2e0b6fa199f1",
      "name": "Scan Vulnerabilities"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:7002/aihackathon/api/mcp/upgradeDependencies",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        -1072,
        112
      ],
      "id": "3a2ab617-82a9-4c83-9540-b856bf32b1e0",
      "name": "Upgrade FOSS Dependencies"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:7002/aihackathon/api/mcp/applyAIFix",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "test",
              "value": "test"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        -800,
        128
      ],
      "id": "9afc236d-808c-44e8-8ba1-d0670f87f5f4",
      "name": "Apply Auto Code Fix"
    },
    {
      "parameters": {
        "url": "http://localhost:7002/aihackathon/api/mcp/manifest",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        64,
        96
      ],
      "id": "c8f3a7f1-e1b7-46b2-8c12-42d1ae6adf45",
      "name": "MCP Manifest"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:7002/aihackathon/api/mcp/runBuildTests",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {}
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        -592,
        128
      ],
      "id": "d265a3c2-4c07-4e40-9036-dfa5571071e2",
      "name": "Run Tests"
    },
    {
      "parameters": {
        "path": "web"
      },
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "typeVersion": 2,
      "position": [
        -720,
        -336
      ],
      "id": "b531556a-2975-422b-bc74-a981ec46f3e9",
      "name": "AutoSecure - MCP Server Trigger",
      "executeOnce": false,
      "notesInFlow": true,
      "alwaysOutputData": true,
      "onError": "continueErrorOutput",
      "notes": "Executing..."
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "mcpEvent",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -832,
        336
      ],
      "id": "655fca28-f158-4bd6-8307-2c8d1eb141d4",
      "name": "Webhook",
      "alwaysOutputData": true,
      "executeOnce": false
    },
    {
      "parameters": {
        "jsCode": "const allInputItems = $input.all();\n\n// Print the entire array of input items to the console\nconsole.log(\"All Input Items:\", allInputItems);\n\n// You can also loop through each item and log specific properties\nfor (const item of allInputItems) {\n  console.log(\"Current Item JSON:\", item.json); // Logs the JSON data of each item\n  // If you have binary data, you can access it like this:\n  // console.log(\"Current Item Binary:\", item.binary);\n}\nreturn allInputItems"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        -576,
        336
      ],
      "id": "90c2ed73-49f9-4ed1-a449-403017c498f6",
      "name": "EventType"
    }
  ],
  "connections": {
    "Commit": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Scan Vulnerabilities": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Upgrade FOSS Dependencies": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Apply Auto Code Fix": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "MCP Manifest": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Run Tests": {
      "ai_tool": [
        [
          {
            "node": "AutoSecure - MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "EventType",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "EventType": {
      "main": [
        []
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b6bb6bfb-fefb-4ba1-ba30-27e0735f7632",
  "id": "rjQFs4iQ30YYqgOi",
  "tags": []
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AutoSecure Workflow. Uses httpRequestTool, mcpTrigger. Event-driven trigger; 9 nodes.

Source: https://github.com/MokhtarLahjaily/spring-ai-security-mcp/blob/af92966f496f7a39023d1aefb73c98e2a5ce1826/n8n/AutoSecureWorkflow.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

Mcp Trigger, HTTP Request Tool
Web Scraping

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 21 api.clarify.io API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 9 NPR Listening Service API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 14 Domains-Index API operations to AI agents.

Mcp Trigger, HTTP Request Tool