leonardsellem_n8n-mcp-server
Espejo de https: //github.com/leonardsellem/n8n-mcp-server
0
Github Watches
0
Github Forks
0
Github Stars
n8n MCP Server
A Model Context Protocol (MCP) server that allows AI assistants to interact with n8n workflows through natural language.
Overview
This MCP server provides tools and resources for AI assistants to manage n8n workflows and executions. It allows assistants to:
- List, create, update, and delete workflows
- Activate and deactivate workflows
- Execute workflows and monitor their status
- Access workflow information and execution statistics
Installation
Prerequisites
- Node.js 18 or later
- n8n instance with API access enabled
Install from npm
npm install -g n8n-mcp-server
Install from source
# Clone the repository
git clone https://github.com/leonardsellem/n8n-mcp-server.git
cd n8n-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
# Optional: Install globally
npm install -g .
Configuration
Create a .env file in the directory where you'll run the server, using .env.example as a template:
cp .env.example .env
Configure the following environment variables:
| Variable | Description | Example |
|---|---|---|
N8N_API_URL |
URL of the n8n API | http://localhost:5678/api/v1 |
N8N_API_KEY |
API key for authenticating with n8n | n8n_api_... |
DEBUG |
Enable debug logging (optional) | true or false |
Generating an n8n API Key
- Open your n8n instance in a browser
- Go to Settings > API > API Keys
- Create a new API key with appropriate permissions
- Copy the key to your
.envfile
Usage
Running the Server
From the installation directory:
n8n-mcp-server
Or if installed globally:
n8n-mcp-server
Integrating with AI Assistants
To use this MCP server with AI assistants, you need to register it with your AI assistant platform. The exact method depends on the platform you're using.
For example, with the MCP installer:
npx @anaisbetts/mcp-installer
Then register the server:
install_local_mcp_server path/to/n8n-mcp-server
Available Tools
The server provides the following tools:
Workflow Management
-
workflow_list: List all workflows -
workflow_get: Get details of a specific workflow -
workflow_create: Create a new workflow -
workflow_update: Update an existing workflow -
workflow_delete: Delete a workflow -
workflow_activate: Activate a workflow -
workflow_deactivate: Deactivate a workflow
Execution Management
-
execution_run: Execute a workflow -
execution_get: Get details of a specific execution -
execution_list: List executions for a workflow -
execution_stop: Stop a running execution
Resources
The server provides the following resources:
-
n8n://workflows/list: List of all workflows -
n8n://workflow/{id}: Details of a specific workflow -
n8n://executions/{workflowId}: List of executions for a workflow -
n8n://execution/{id}: Details of a specific execution
Development
Building
npm run build
Running in Development Mode
npm run dev
Testing
npm test
Linting
npm run lint
License
MIT
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Espejo dehttps: //github.com/agentience/practices_mcp_server
Reviews
user_KyOBvRpU
The MCP Server Project by DreamCats is a fantastic solution for any server needs. Its robust features and seamless integration make it a must-have for developers. The easy-to-follow welcome information and straightforward setup process further enhance its appeal. Highly recommended! For more details, visit https://mcp.so/server/mcp-server/DreamCats