Back to Home
n8n-io icon

n8n

Verified Safe

by n8n-io

Overview

The MCP (Model Context Protocol) components in n8n enable workflows to interact with external AI agents and tools over a standardized protocol, facilitating communication between n8n and AI models for agent-based automation.

Installation

Run Command
pnpm dev

Environment Variables

  • N8N_AI_ENABLED
  • N8N_AI_ANTHROPIC_KEY
  • N8N_RUNNERS_ENABLED
  • N8N_RUNNERS_MODE
  • N8N_RUNNERS_AUTH_TOKEN

Security Notes

The MCP server and client nodes are integrated within the broader n8n security model. Code execution for AI tools happens within sandboxed environments (JavaScript/Python Task Runners), which include static analysis for disallowed modules/patterns. Authentication for external AI services is handled via n8n's credential system. While robust, the overall security depends on proper n8n instance configuration (e.g., avoiding 'N8N_RUNNERS_INSECURE_MODE') and the security of external AI service API keys and custom nodes. No direct 'eval' or obvious malicious patterns were found in the provided MCP code, but extensibility means vigilance is required for custom implementations.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars160954
Forks51536
Last Update2025-12-06

Tags

Model Context ProtocolAI AgentToolsWorkflow AutomationAI & ML