
leonardsellem/n8n-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
n8n API와 상호작용할 수 있는 도구와 자원을 제공하는 MCP 서버입니다
개요
AI 보조자가 자연어를 통해 n8n 워크플로우와 상호작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 프로젝트는 AI 비서가 인기 있는 워크플로우 자동화 도구인 n8n과 원활하게 상호작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버를 제공합니다. 이 서비스는 다리 역할을 하여 AI 비서가 자연어 명령어를 사용해 n8n 워크플로우와 실행을 프로그래밍적으로 관리하고 제어할 수 있도록 합니다. - Node.js 20 이후 - API 접근 권한이 활성화된 n8n 인스턴스 Docker를 사용해 서버를 실행할 수도 있습니다: 서버를 어떻게 업데이트할지는 처음 설치한 방식에 따라 달라집니다. npm으로 서버를 설치했다면 install -g @leonardsellem/n8n-mcp-server: 1. 터미널 또는 명령 프롬프트를 엽니다. 2. 최신 버전을 얻기 위해 다음 명령을 실행하세요: 3. 서버가 현재 실행 중(예: 백그라운드 프로세스나 서비스로) 실행 중이라면, 변경 사항이 적용되기 위해 서버를 재시작해야 합니다. 저장소를 복제하고 소스에서 설치했다면:
개요(AI 번역)
AI 보조자가 자연어를 통해 n8n 워크플로우와 상호작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.
개요
이 프로젝트는 AI 비서가 인기 있는 워크플로우 자동화 도구인 n8n과 원활하게 상호작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버를 제공합니다. 이 서비스는 다리 역할을 하여 AI 비서가 자연어 명령어를 사용해 n8n 워크플로우와 실행을 프로그래밍적으로 관리하고 제어할 수 있도록 합니다.
설치
전제 조건
- Node.js 20세 이상
- API 접근 권한이 활성화된 n8n 인스턴스
npm에서 설치
소스 설치
도커 설치
Docker를 사용해 서버를 실행할 수도 있습니다:
서버 업데이트 중
서버를 어떻게 업데이트할지는 처음 설치한 방식에 따라 달라집니다.
1. npm을 통해 전역적으로 설치됨
서버를 npm install -g @leonardsellem/n8n-mcp-server로 설치했다면:
-
터미널이나 명령 프롬프트를 엽니다.
-
최신 버전을 얻기 위해 다음 명령을 실행하세요:
-
서버가 현재 실행 중(예: 백그라운드 프로세스나 서비스)일 경우, 변경 사항이 적용되려면 서버를 재시작해야 합니다.
2. 소스에서 설치
저장소를 복제하고 소스에서 설치했다면:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
n8n MCP Server
A Model Context Protocol (MCP) server that allows AI assistants to interact with n8n workflows through natural language.
Overview
This project provides a Model Context Protocol (MCP) server that empowers AI assistants to seamlessly interact with n8n, a popular workflow automation tool. It acts as a bridge, enabling AI assistants to programmatically manage and control n8n workflows and executions using natural language commands.
Installation
Prerequisites
- Node.js 20 or later
- n8n instance with API access enabled
Install from npm
npm install -g @leonardsellem/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 .
Docker Installation
You can also run the server using Docker:
# Pull the image
docker pull leonardsellem/n8n-mcp-server
# Run the container with your n8n API configuration
docker run -e N8N_API_URL=http://your-n8n:5678/api/v1 \
-e N8N_API_KEY=your_n8n_api_key \
-e N8N_WEBHOOK_USERNAME=username \
-e N8N_WEBHOOK_PASSWORD=password \
leonardsellem/n8n-mcp-server
Updating the Server
How you update the server depends on how you initially installed it.
1. Installed globally via npm
If you installed the server using npm install -g @leonardsellem/n8n-mcp-server:
- Open your terminal or command prompt.
- Run the following command to get the latest version:
npm install -g @leonardsellem/n8n-mcp-server@latest - If the server is currently running (e.g., as a background process or service), you’ll need to restart it for the changes to take effect.
2. Installed from source
If you cloned the repository and installed from source:
- Open your terminal or command prompt.
- Navigate to the directory where you cloned the project:
cd path/to/n8n-mcp-server - If you’ve made any local changes to the code that you want to keep, consider stashing them (optional):
You can apply them later withgit stashgit stash pop. - Pull the latest changes from the repository (assuming you are on the
mainbranch):
If you are on a different branch, replacegit pull origin mainmainwith your branch name. - Install or update any changed dependencies:
npm install - Rebuild the project to include the latest updates:
npm run build - If you previously installed it globally from this source folder using
npm install -g ., you might want to run this command again to update the global link:npm install -g . - Restart the server.
설치
docker run -e N8N_API_URL=http://your-n8n:5678/api/v1 \설정
{
"mcpServers": {
// Give your server a unique name
"n8n-local": {
// Use 'node' to execute the built JavaScript file
"command": "node",
// Provide the *absolute path* to the built index.js file
"args": [
"/path/to/your/cloned/n8n-mcp-server/build/index.js"
// On Windows, use double backslashes:
// "C:\\path\\to\\your\\cloned\\n8n-mcp-server\\build\\index.js"
],
// Environment variables needed by the server
"env": {
"N8N_API_URL": "http://your-n8n-instance:5678/api/v1", // Replace with your n8n URL
"N8N_API_KEY": "YOUR_N8N_API_KEY", // Replace with your key
// Add webhook credentials only if you plan to use webhook tools
// "N8N_WEBHOOK_USERNAME": "your_webhook_user",
// "N8N_WEBHOOK_PASSWORD": "your_webhook_password"
},
// Ensure the server is enabled
"disabled": false,
// Default autoApprove settings
"autoApprove": []
}
// ... other servers might be configured here
}
}