Enables AI agents to execute n8n workflows, access n8n tools and functions, and interact with automation workflows through a standardized interface.
MCP Server for n8n Integration
This project implements a Model Context Protocol (MCP) server designed to work seamlessly with your local n8n server. The MCP server enables AI agents to interact with your n8n workflows and tools through a standardized protocol.
Overview
The Model Context Protocol (MCP) is a specification that allows AI agents to interact with external tools and services. This implementation specifically focuses on integrating with n8n, a powerful workflow automation platform, allowing AI agents to:
- Execute n8n workflows
- Access n8n tools and functions
- Interact with your automation workflows through a standardized interface
The server is now designed with a modular approach, with tools located in a dedicated tools
directory, making it easier to manage and extend.
Features
- MCP server implementation compatible with n8n
- Modular tool design: Tools are organized in a separate
tools
directory, allowing for easy addition and management of new capabilities. - Support for SSE (Server-Sent Events) endpoint
- Authentication support (Bearer and generic header methods)
- Tool selection and filtering capabilities
- Integration with local n8n server
Getting Started
- Clone this repository
- Set up your Python virtual environment
- Install dependencies
- Configure your n8n server connection
- Start the MCP server
Integration with n8n
This MCP server works with the n8n MCP Client Tool node, which allows you to:
- Connect to external MCP servers
- Expose specific tools to AI agents
- Control which tools are available to your AI workflows
- Manage authentication and security
Documentation
For more information about the Model Context Protocol and n8n integration, refer to:
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that enables AI agents to interact with n8n workflows and automation tools through a standardized interface, allowing execution of workflows and access to n8n functions.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.Last updated -3MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, supporting actions like listing, creating, updating, executing and monitoring workflows.Last updated -135225TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, providing access to n8n's complete API functionality including workflow management, user administration, and credential handling.Last updated -95JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows AI assistants to interact with Prefect's workflow automation platform through natural language, enabling users to manage flows, deployments, tasks, and other Prefect resources via conversational commands.Last updated -4Python