n8n MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| N8N_URL | No | Base URL of your n8n instance | http://localhost:5678 |
| N8N_API_KEY | Yes | Your n8n API key |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| n8n_list_workflows | List all workflows in the n8n instance with optional filtering. Args:
Returns: List of workflows with id, name, active status, created/updated timestamps, and tags. Includes nextCursor for pagination if more results exist. |
| n8n_get_workflow | Get full details of a specific workflow including all nodes and connections. Args:
Returns: Complete workflow object with:
|
| n8n_create_workflow | Create a new workflow in n8n. Args:
Returns: The created workflow with its assigned ID. Example node types:
|
| n8n_update_workflow | Update an existing workflow. Can update name, nodes, connections, settings, or tags. ⚠️ IMPORTANT: When updating nodes or connections, you must provide the COMPLETE arrays. Partial updates are not supported - the provided values will replace existing ones. Args:
Returns: The updated workflow object. |
| n8n_delete_workflow | Permanently delete a workflow. ⚠️ WARNING: This action cannot be undone! Args:
Returns: Confirmation of deletion. |
| n8n_activate_workflow | Activate a workflow so it can run automatically based on its triggers. Args:
Returns: The activated workflow. |
| n8n_deactivate_workflow | Deactivate a workflow to stop it from running automatically. Args:
Returns: The deactivated workflow. |
| n8n_run_workflow | Execute a workflow manually with optional input data. Args:
Returns: Execution result with:
|
| n8n_update_workflow_tags | Update the tags associated with a workflow. Args:
Returns: The updated workflow with new tags. |
| n8n_list_executions | List workflow executions with optional filtering. Args:
Returns: List of executions with id, workflowId, status, mode, timestamps. |
| n8n_get_execution | Get detailed information about a specific execution. Args:
Returns: Complete execution details including:
|
| n8n_delete_execution | Delete a specific execution by ID. ⚠️ WARNING: This action cannot be undone! Args:
Returns: Confirmation of deletion. |
| n8n_delete_executions | Delete multiple executions based on filters. ⚠️ WARNING: This action cannot be undone! Use with caution. Args:
Returns: Count of deleted executions. |
| n8n_stop_execution | Stop a running execution. Args:
Returns: The stopped execution details. |
| n8n_retry_execution | Retry a failed execution. Args:
Returns: The new execution created from the retry. |
| n8n_list_credentials | List all credentials (without sensitive data). Args:
Returns: List of credentials with id, name, type, and timestamps. ⚠️ Credential data/secrets are NOT included for security. |
| n8n_get_credential | Get details of a specific credential (without sensitive data). Args:
Returns: Credential metadata (id, name, type, timestamps). ⚠️ Credential data/secrets are NOT returned for security. |
| n8n_create_credential | Create a new credential. Args:
Common credential types:
Use n8n_get_credential_schema to get the exact fields required for a type. Returns: The created credential (without sensitive data). |
| n8n_update_credential | Update an existing credential. Args:
Returns: The updated credential (without sensitive data). |
| n8n_delete_credential | Delete a credential. ⚠️ WARNING: This will break any workflows using this credential! Args:
Returns: Confirmation of deletion. |
| n8n_get_credential_schema | Get the schema/fields required for a credential type. Args:
Returns: JSON schema showing required and optional fields for the credential type. Use this before creating credentials to know what data fields are needed. |
| n8n_transfer_credential | Transfer a credential to a different project. Args:
Returns: Confirmation of transfer. |
| n8n_list_tags | List all tags available for organizing workflows. Args:
Returns: List of tags with id and name. |
| n8n_get_tag | Get details of a specific tag. Args:
Returns: Tag details with id and name. |
| n8n_create_tag | Create a new tag for organizing workflows. Args:
Returns: The created tag. |
| n8n_update_tag | Rename an existing tag. Args:
Returns: The updated tag. |
| n8n_delete_tag | Delete a tag. Args:
Returns: Confirmation of deletion. |
| n8n_list_variables | List all environment variables. Variables are accessible in workflows using $vars.variableName syntax. Args:
Returns: List of variables with id, key, and value. |
| n8n_get_variable | Get a specific variable by ID. Args:
Returns: Variable details with id, key, and value. |
| n8n_create_variable | Create a new environment variable. Variables can be used in workflows with $vars.variableName syntax. Args:
Returns: The created variable. |
| n8n_update_variable | Update an existing variable. Args:
Returns: The updated variable. |
| n8n_delete_variable | Delete a variable. ⚠️ WARNING: Workflows using this variable will break! Args:
Returns: Confirmation of deletion. |
| n8n_list_projects | List all projects. Projects help organize workflows and credentials into separate workspaces. Args:
Returns: List of projects with id, name, and type (personal/team). |
| n8n_get_project | Get details of a specific project. Args:
Returns: Project details with id, name, and type. |
| n8n_create_project | Create a new project for organizing workflows and credentials. Args:
Returns: The created project. |
| n8n_update_project | Rename a project. Args:
Returns: The updated project. |
| n8n_delete_project | Delete a project. ⚠️ WARNING: All workflows and credentials in this project will be affected! Args:
Returns: Confirmation of deletion. |
| n8n_transfer_workflow | Transfer a workflow to a different project. Args:
Returns: Confirmation of transfer. |
| n8n_list_users | List all users in the n8n instance. Args:
Returns: List of users with id, email, name, and role. |
| n8n_get_user | Get details of a specific user. Args:
Returns: User details with id, email, name, and role. |
| n8n_get_current_user | Get details of the currently authenticated user (owner of the API key). Returns: Current user details with id, email, name, and role. |
| n8n_source_control_status | Get the current source control (Git) status. Returns:
|
| n8n_source_control_pull | Pull changes from the remote Git repository. Args:
Returns: Pull result with affected files. |
| n8n_source_control_push | Push changes to the remote Git repository. Args:
Returns: Push result with affected files. |
| n8n_source_control_disconnect | Disconnect from the remote Git repository. ⚠️ WARNING: This will remove the Git integration! Returns: Confirmation of disconnection. |
| n8n_generate_audit | Generate a security audit report for the n8n instance. Args:
Returns: Audit report with risk levels and issues by category. |
| n8n_check_connection | Test the connection to the n8n instance. Verifies that the API key is valid and the n8n instance is reachable. Returns:
|
| n8n_get_node_types | Get a list of all available node types in the n8n instance. Returns: List of node types with their descriptions and categories. Useful for understanding what nodes are available when creating workflows. |
| n8n_get_active_webhooks | Get a list of all active webhooks in the n8n instance. Returns: List of active webhooks with their paths and associated workflows. |
| n8n_export_workflow | Export a workflow as JSON for backup or import elsewhere. Args:
Returns: Complete workflow JSON that can be imported into another n8n instance. |
| n8n_import_workflow | Import a workflow from JSON. Args:
Returns: The imported workflow with its new ID. |
| n8n_duplicate_workflow | Create a copy of an existing workflow. Args:
Returns: The duplicated workflow with its new ID. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DrBalls/n8n-mcp-server-v2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server