n8n MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host to bind | 127.0.0.1 |
| MCP_PORT | No | Port to bind | 8000 |
| MCP_API_KEY | No | Static API key for client authentication | |
| N8N_API_KEY | Yes | n8n API key | |
| N8N_TIMEOUT | No | Timeout in seconds | 30 |
| MCP_BASE_URL | No | Public URL for OAuth redirects (required for Authentik) | |
| MCP_TRANSPORT | No | Transport type: stdio, http, or sse | stdio |
| N8N_API_BASE_URL | Yes | Base URL of n8n API (e.g., http://localhost:5678/api/v1) | |
| AUTHENTIK_APP_SLUG | No | Authentik application slug | |
| AUTHENTIK_BASE_URL | No | Base URL of Authentik instance | |
| AUTHENTIK_CLIENT_ID | No | OAuth client ID in Authentik | |
| AUTHENTIK_CLIENT_SECRET | No | OAuth client secret |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_workflowsA | Ambil daftar semua workflow di n8n. Mendukung filter berdasarkan status aktif, tag, dan nama workflow.
Hasil di-paginate; gunakan |
| get_workflowA | Ambil detail lengkap satu workflow berdasarkan ID. Mengembalikan definisi workflow termasuk nodes, connections, dan pengaturan. |
| create_workflowA | Buat workflow baru di n8n. Workflow dibuat dalam keadaan nonaktif. Gunakan |
| update_workflowA | Perbarui workflow yang sudah ada di n8n. Hanya field yang diisi yang akan diperbarui. Minimal berikan salah satu field. Perbarui nodes dan connections sekaligus bila mengubah struktur workflow. |
| delete_workflowA | Hapus workflow dari n8n secara permanen. Operasi ini tidak dapat dibatalkan. Workflow yang sedang aktif akan dihentikan terlebih dahulu sebelum dihapus. |
| activate_workflowA | Aktifkan workflow di n8n agar mulai memproses trigger. Setelah diaktifkan, workflow akan merespons trigger (webhook, schedule, dll) secara otomatis. Pastikan workflow sudah memiliki trigger node. |
| deactivate_workflowA | Nonaktifkan workflow di n8n sehingga berhenti memproses trigger. Setelah dinonaktifkan, workflow tidak akan merespons trigger baru. Eksekusi yang sedang berjalan tidak akan dihentikan. |
| list_executionsB | Ambil daftar eksekusi workflow di n8n. Mendukung filter berdasarkan workflow, status, dan paginasi. Data eksekusi
(input/output node) hanya disertakan bila |
| get_executionA | Ambil detail lengkap satu eksekusi workflow. Mengembalikan informasi eksekusi termasuk status, waktu mulai/selesai, dan (opsional) data input/output tiap node. |
| delete_executionA | Hapus rekaman eksekusi dari n8n secara permanen. Operasi ini tidak dapat dibatalkan. Eksekusi yang sedang berjalan tidak bisa dihapus. |
| list_credentialsA | Ambil daftar credentials yang tersimpan di n8n. Data sensitif (token, password) tidak dikembalikan oleh API. Hanya metadata credential (id, name, type, createdAt) yang tersedia. |
| get_credentialA | Ambil metadata satu credential berdasarkan ID. Nilai sensitif (token, password, secret key) tidak dikembalikan oleh n8n API demi keamanan. Hanya metadata seperti name, type, dan createdAt yang tersedia. |
| create_credentialA | Buat credential baru di n8n. Tipe credential dan skema data-nya bergantung pada integrasi n8n.
Contoh: tipe |
| delete_credentialA | Hapus credential dari n8n secara permanen. Operasi ini tidak dapat dibatalkan. Workflow yang menggunakan credential ini akan gagal bila dieksekusi setelah credential dihapus. |
| list_tagsB | Ambil daftar semua tag yang tersedia di n8n. Tag digunakan untuk mengkategorikan dan memfilter workflow. |
| create_tagB | Buat tag baru di n8n. Tag dapat digunakan untuk mengkategorikan workflow sehingga mudah difilter. Nama tag harus unik. |
| update_tagB | Perbarui nama tag yang sudah ada di n8n. |
| delete_tagA | Hapus tag dari n8n. Tag yang dihapus akan dilepas dari semua workflow yang menggunakannya. Workflow tidak ikut terhapus. |
| list_variablesA | Ambil daftar semua variable n8n (fitur Enterprise). Variable n8n adalah pasangan key-value yang bisa diakses dari semua workflow. Fitur ini memerlukan lisensi n8n Enterprise atau Self-hosted dengan fitur variable aktif. |
| create_variableA | Buat variable baru di n8n (fitur Enterprise). Variable bisa diakses di workflow via ekspresi |
| delete_variableA | Hapus variable dari n8n secara permanen. Workflow yang mereferensikan variable ini mungkin akan error setelah dihapus. |
| get_audit_logA | Ambil audit log aktivitas di n8n (fitur Enterprise). Mengembalikan rekaman aktivitas pengguna dan sistem seperti pembuatan/penghapusan workflow, login, perubahan credential, dll. Memerlukan lisensi n8n Enterprise. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| version | Versi n8n MCP Server yang sedang berjalan. |
TDQS
Scored across 22 tools
Every tool targets a distinct entity and action, with clear names like activate_workflow, create_credential, list_tags. No two tools have overlapping purposes.
All tool names follow the verb_noun pattern with snake_case, e.g., activate_workflow, delete_credential. The naming is perfectly consistent across all 22 tools.
22 tools cover multiple entity types (workflows, credentials, tags, variables, executions, audit logs) with CRUD and lifecycle operations. The count is well-scoped for a workflow automation server.
The tool set covers most core operations, but lacks update endpoints for credentials and variables (although these may be limited by n8n API design). Minor gap; overall surface is complete.