# MCP server on n8n: manage workflows via AI agents and chat with Redis access control
This template implements an MCP server using n8n, enabling AI agents (e.g., in Claude Desktop) to securely discover, manage, and execute other workflows via chat. Access is controlled via a dynamic list stored in Redis, ensuring security and flexibility. Designed for engineers and architects building LLM-powered assistants with access to internal automations.
## Who it´s for
- Developers creating AI agents with access to n8n workflows
- Automation engineers integrating workflows with MCP clients
- Teams using Claude Desktop who want to connect internal processes
- System architects building tool servers for LLMs
- Product managers deploying AI assistants with business logic access
## What the automation does
- Handles incoming requests from AI agents via chat or HTTP trigger
- Allows agents to add, remove, list, search, and execute workflows by ID
- Uses Redis to store the list of available workflows
- Automatically indexes workflows tagged with ´mcp´ for discovery
- Executes selected workflows with direct input passthrough via subworkflow triggers
- Returns execution results back to the agent
## What´s included
- Ready-to-use n8n workflow implementing the MCP server
- Trigger logic: chat_message_received, mcp_trigger, execute_workflow_trigger
- Integrations with OpenAI, Redis, n8n API, and external MCP clients
- Basic textual instructions for setup and adaptation
## Requirements for setup
- n8n account with API access
- Redis instance for storing the list of available workflows
- OpenAI API key (for AI agent operation)
- MCP client (e.g., Claude Desktop) or test HTTP client
- Access to target n8n workflows tagged with ´mcp´
## Benefits and outcomes
- Simplifies integration of complex automations into AI assistants
- Centralizes access control via Redis-managed workflow list
- Enables dynamic addition/removal of workflows without system restart
- Lowers barrier for AI to interact with internal business logic
- Ensures secure execution context by limiting accessible workflows
- Accelerates development of AI agents requiring business process access
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet