n8n MCP avatar
n8n MCP

Pricing

Pay per usage

Go to Apify Store
n8n MCP

n8n MCP

The n8n mcp actor creates a bridge between the n8n workflow automation platform and model context protocol (MCP) servers, enabling the integration of AI models with automated workflows. This actor connects to MCP servers and translates n8n workflow data into MCP-compatible formats.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Ani Björkström

Ani Björkström

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

n8n + AI MCP Bridge: Connect Claude, GPT & LLMs to 2000+ Web Scrapers

The ultimate Model Context Protocol (MCP) bridge that connects n8n workflow automation, AI assistants (Claude, GPT, LLMs), and 2000+ Apify web scrapers into a single powerful integration.

Execute any Apify Actor directly from AI conversations or n8n workflows via standardized MCP protocol.

Why This Actor?

ProblemSolution
AI can't access real-time web dataMCP Bridge connects AI to live web scrapers
n8n workflows can't use AI toolsMCP protocol enables AI-workflow integration
Complex API integrationsSimple HTTP calls with auto data transformation
Managing multiple scrapersSingle endpoint to 2000+ Apify Actors

Key Features

  • MCP Protocol: Full Model Context Protocol implementation for AI tool calling
  • n8n Compatible: Works with n8n HTTP Request nodes out of the box
  • AI Ready: Integrates with Claude Desktop, OpenAI, LangChain, AutoGPT
  • 2000+ Tools: Access the entire Apify scraper and automation ecosystem
  • Session Management: Support for 100+ concurrent MCP sessions
  • Data Transform: Automatic conversion between n8n and MCP formats
  • Enterprise Ready: Retry mechanisms, error handling, timeout management

Use Cases

1. AI-Powered Lead Generation

User: "Find restaurants in NYC and get their contact info"
AIMCP Bridge → Google Maps Scraper → Contact data returned to AI

2. Automated Research Pipelines

n8n Trigger → MCP Bridge → Web Scraper → AI Analysis → Report

3. Real-Time Data for LLMs

User Question → AI Model → MCP Bridge → Fresh Web Data → AI Response

4. No-Code AI Automation

n8n Workflow → MCP Tools → Execute Any Apify Actor → Process Results

Quick Start

Step 1: Start the Actor

Run this Actor to get your MCP endpoint URL. The Actor runs in Standby Mode - always ready to receive requests.

Step 2: Connect from AI or n8n

Create an MCP Session:

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

List Available Tools:

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

Execute a Scraper:

curl -X POST https://[your-standby-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 Tools Available

ToolDescriptionExample Use
search_actorsSearch Apify Store for scrapersFind the right tool for any task
execute_actorRun any Apify ActorScrape websites, extract data
get_actor_infoGet Actor detailsCheck input schema before running
list_loaded_actorsShow pre-loaded ActorsSee what's ready for fast execution
add_actorPre-load an ActorSpeed up repeated executions
get_run_statusCheck run statusMonitor long-running tasks
transform_n8n_dataConvert n8n dataAuto-map workflow data to Actor input

MCP Protocol Endpoints

EndpointMethodDescription
/mcpGETServer info and capabilities
/mcp/sessionPOSTCreate new MCP session
/mcp/tools/listPOSTList all available tools
/mcp/tools/callPOSTExecute an MCP tool

n8n Integration

HTTP Request Node Configuration

{
"method": "POST",
"url": "https://[your-standby-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": ["{{$json.searchQuery}}"],
"maxCrawledPlaces": 100
}
}
}
}

Data Transformation

Convert n8n workflow data to Actor-compatible format:

{
"name": "transform_n8n_data",
"arguments": {
"workflowData": {
"inputData": {
"url": "https://example.com",
"searchQuery": "products"
}
},
"targetActorId": "apify/web-scraper"
}
}

The bridge automatically maps common fields:

  • url/urlsstartUrls
  • searchQuery/search/keywordqueries
  • maxResults/limitmaxItems

Claude Desktop Integration

Add to your Claude Desktop MCP config:

{
"mcpServers": {
"apify": {
"url": "https://[your-standby-url]/mcp"
}
}
}

Legacy n8n Endpoints

For backwards compatibility:

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

Configuration Options

ParameterDefaultDescription
apifyTokenAutoAPI token (auto-detected on Apify)
defaultActors[]Pre-load Actors on startup
enableDynamicDiscoverytrueAuto-discover Actors when requested
maxConcurrentRuns5Max parallel Actor executions
defaultTimeout300Default timeout in seconds
maxSessions100Max concurrent MCP sessions
sessionTimeout3600Session timeout in seconds
webhookSecret-Secure your endpoint

Security

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

Cost Estimation

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

Target Audience

  • AI Developers: Connect LLMs to real-world web data via MCP
  • Automation Engineers: Enhance n8n with AI-powered decision making
  • No-Code Builders: Access AI scrapers without writing code
  • DevOps Teams: Integrate AI capabilities into automation pipelines

Resources

License

MIT License - Free for commercial and personal use.


Keywords: MCP, Model Context Protocol, n8n, AI, Claude, GPT, LLM, web scraper, automation, workflow, Apify, API, integration, AI tools, LangChain, AutoGPT, no-code, low-code