VOOZH about

URL: https://apify.com/jungle_thunder/n8n-apify-bridge

⇱ n8n Web Scraping Integration - Add 2000+ Scrapers to n8n Β· Apify


Pricing

from $0.01 / 1,000 results

Go to Apify Store

Turn your n8n workflows into data powerhouses. This bridge gives n8n users instant access to 2000 battle-tested Apify tools - web scrapers, AI agents, lead generators, price monitors, and more. No coding required.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Ani BjΓΆrkstrΓΆm

Ani BjΓΆrkstrΓΆm

Maintained by Community

Actor stats

1

Bookmarked

8

Total users

1

Monthly active users

4 months ago

Last modified

Share

n8n MCP Bridge - Model Context Protocol for AI Workflow Automation

Bridge between n8n workflow automation and Model Context Protocol (MCP) servers, enabling AI models to interact with 2000+ Apify tools through standardized protocols.

What is MCP?

The Model Context Protocol (MCP) is a standard that allows AI models (like Claude, GPT, etc.) to interact with external tools and data sources. This bridge implements MCP to connect:

  • n8n workflows β†’ MCP protocol β†’ Apify Actors
  • AI assistants β†’ MCP tools β†’ Web scrapers & automation

Key Features

FeatureDescription
MCP Protocol SupportFull implementation of Model Context Protocol
Session ManagementSupport for 100+ concurrent MCP sessions
Data TransformationAutomatic conversion between n8n and MCP formats
2000+ ToolsAccess to entire Apify Actor ecosystem
Retry MechanismsComprehensive error handling with automatic retries
n8n CompatibleWorks with n8n HTTP Request nodes

Target Audience

  • Workflow Automation Specialists: Enhance n8n with AI-driven decision making
  • AI Developers: Connect LLMs to real-world data via MCP
  • DevOps Engineers: Integrate AI capabilities into automation pipelines
  • Non-Technical Users: Access AI-powered web scraping without coding

Quick Start

1. Start the Actor in Standby Mode

Run this Actor to get your MCP endpoint URL:

https://n8n-apify-bridge.apify.actor

2. Connect via MCP Protocol

Create a session:

curl-X POST https://[your-url]/mcp/session \
-H"Content-Type: application/json"

List available tools:

curl-X POST https://[your-url]/mcp/tools/list \
-H"Content-Type: application/json"

Call a tool:

curl-X POST https://[your-url]/mcp/tools/call \
-H"Content-Type: application/json"\
-d'{
"name": "execute_actor",
"arguments": {
"actorId": "apify/web-scraper",
"input": {"startUrls": [{"url": "https://example.com"}]}
}
}'

MCP Protocol Endpoints

GET /mcp

Get MCP server info and available capabilities.

POST /mcp/session

Create a new MCP session. Returns session ID for subsequent requests.

Response:

{
"success":true,
"sessionId":"uuid-here",
"data":{
"expiresIn":3600,
"message":"MCP session created"
}
}

POST /mcp/tools/list

List all available MCP tools.

Response:

{
"success":true,
"data":{
"tools":[
{
"name":"search_actors",
"description":"Search the Apify Store for Actors",
"inputSchema":{ ... }
},
{
"name":"execute_actor",
"description":"Execute an Apify Actor with given input",
"inputSchema":{ ... }
}
]
}
}

POST /mcp/tools/call

Execute an MCP tool.

Request:

{
"name":"tool_name",
"arguments":{ ... }
}

Available MCP Tools

ToolDescription
search_actorsSearch Apify Store for scrapers and tools
execute_actorRun any Apify Actor with custom input
get_actor_infoGet detailed Actor information
list_loaded_actorsList pre-loaded Actors
add_actorPre-load an Actor for faster execution
get_run_statusCheck status of a running Actor
transform_n8n_dataConvert n8n workflow data to MCP format

n8n Integration

Using HTTP Request Node

{
"method":"POST",
"url":"https://[your-url]/mcp/tools/call",
"headers":{
"Content-Type":"application/json",
"X-MCP-Session":"{{$json.sessionId}}"
},
"body":{
"name":"execute_actor",
"arguments":{
"actorId":"apify/google-maps-scraper",
"input":{
"searchStringsArray":["restaurants in NYC"],
"maxCrawledPlaces":100
}
}
}
}

Data Transformation

Transform n8n workflow data to MCP format:

{
"name":"transform_n8n_data",
"arguments":{
"workflowData":{
"workflowId":"workflow-123",
"executionId":"exec-456",
"nodeName":"Scrape Data",
"inputData":{
"url":"https://example.com",
"searchQuery":"products"
}
},
"targetActorId":"apify/web-scraper"
}
}

Response:

{
"success":true,
"data":{
"transformed":{
"actorId":"apify/web-scraper",
"input":{
"startUrls":[{"url":"https://example.com"}],
"queries":["products"]
},
"metadata":{
"source":"n8n",
"workflowId":"workflow-123",
"mcpVersion":"1.0.0"
}
}
}
}

Legacy n8n Endpoints

For backwards compatibility with existing n8n workflows:

EndpointMethodDescription
/healthGETHealth check
/actorsGETList loaded Actors
/searchPOSTSearch Apify Store
/executePOSTExecute an Actor
/transformPOSTTransform n8n data
/runsGETList active runs
/sessionsGETView session info

Configuration

ParameterDefaultDescription
maxSessions100Max concurrent MCP sessions
sessionTimeout3600Session timeout in seconds
defaultActors[]Pre-load Actors on startup
enableDynamicDiscoverytrueAuto-discover Actors
maxConcurrentRuns5Max parallel Actor runs
defaultTimeout300Default execution timeout
webhookSecret-Secure your endpoint

Session Management

Sessions allow:

  • Client identification for logging and debugging
  • Activity tracking for timeout management
  • Concurrent support for multiple AI clients

Include session ID in requests:

X-MCP-Session: your-session-id

Error Handling

The bridge includes:

  • Automatic retries for transient errors
  • Exponential backoff for rate limits
  • Detailed error messages in responses
  • Timeout handling for long-running operations

Use Cases

1. AI-Powered Lead Generation

AI Assistant β†’ MCP β†’ search_actors("lead generation")
β†’ MCP β†’ execute_actor("apify/google-maps-scraper")
β†’ Returns business data to AI

2. Automated Research

n8n Trigger β†’ Transform Data β†’ MCP Tools β†’ Execute Scrapers β†’ Process Results

3. Real-Time Data for LLMs

User Question β†’ AI Model β†’ MCP Bridge β†’ Web Scraper β†’ Fresh Data β†’ AI Response

Security

  • Webhook Secret: Protect endpoints with X-Webhook-Secret header
  • Session Isolation: Each client gets isolated session
  • Token Security: Apify tokens stored as secrets, never exposed

Cost Estimation

ComponentCost
Standby Mode (256MB)~$0.02/hour
Actor ExecutionVaries by Actor
MCP SessionsFree

Support

License

MIT License - free for commercial and personal use.


Built for the Apify $1M Challenge

You might also like

n8n-mcp

nourishing_courier/web-data-for-ai

n8n-mcp

πŸ‘ User avatar

Ani BjΓΆrkstrΓΆm

4

n8n Workflow Automation Templates Scraper

scraped/n8n-workflow-automation-templates-scraper

A tool that automatically scrapes and collects n8n workflow automation templates from the n8n for easy access and use.

n8n Documentation MCP Server

agentify/n8n-mcp-server

n8n MCP Server provides AI assistants with structured access to n8n node documentation, properties, and validation tools for building and verifying workflows efficiently.

n8n Community Creators Scraper

lexis-solutions/n8n-community-creators-pr-1275

Scrape top n8n community creators by engagement: capture profiles, reputation metrics, locations, bios, plus linked n8n creator pages with workflow counts and verification for expert discovery and lead generation.

πŸ‘ User avatar

Lexis Solutions

2

N8n Mcp Actor

direct_duty/n8n-mcp-actor

Bridge between n8n workflows and Model Context Protocol (MCP) servers.

n8n Workflow Template Scraper

muhammetakkurtt/n8n-scraper

Automate n8n.io workflow template collection with this Apify actor. Scrape by category (AI, Marketing, DevOps), sort (relevancy, popularity), & get detailed structured data. Fetch importable JSONs for direct n8n use. Ideal for developers, automation experts & businesses.

πŸ‘ User avatar

Muhammet Akkurt

347

5.0

n8n Workflows Scraper

dadhalfdev/n8n-workflows-scraper

This scraper extracts pre-built, free workflow templates directly from the n8n template library. Pick a category and sort order, and the scraper will navigate n8n's library to extract not only the metadata of each workflow but the full, raw JSON configuration. Get up to 150 workflows per run.

πŸ‘ User avatar

Marco Rodrigues

2

n8n Templates Scraper - Cheap πŸš€πŸ”Žβš‘

scrapestorm/n8n-templates-scraper---cheap

🟠 Easily collect Workflow Templates from n8n Provide one or multiple n8n workflow search URLs and extract template data including πŸ†” Workflow ID🏷️ Title πŸ‘€ Creator πŸ’° Price 🌐 Source search URL πŸ“Š and more… Perfect for automation workflow research and integration ecosystem analysis πŸš€πŸ€–πŸ“Š

2

5.0

n8n Nodes Directory Scraper

automation-lab/n8n-nodes-directory-scraper

Extract public n8n node and integration metadata: package names, categories, core/community/trigger flags, popularity, URLs, and logos.

πŸ‘ User avatar

Stas Persiianenko

1

Related articles

How to publish your Apify Actor as an n8n node
Read more