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_workflowsA | 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_workflowA | Get full details of a specific workflow including all nodes and connections. Args:
Returns: Complete workflow object with:
|
| n8n_create_workflowB | Create a new workflow in n8n. Args:
Returns: The created workflow with its assigned ID. Example node types:
|
| n8n_update_workflowA | 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_workflowA | Permanently delete a workflow. ⚠️ WARNING: This action cannot be undone! Args:
Returns: Confirmation of deletion. |
| n8n_activate_workflowB | Activate a workflow so it can run automatically based on its triggers. Args:
Returns: The activated workflow. |
| n8n_deactivate_workflowA | Deactivate a workflow to stop it from running automatically. Args:
Returns: The deactivated workflow. |
| n8n_run_workflowB | Execute a workflow manually with optional input data. Args:
Returns: Execution result with:
|
| n8n_update_workflow_tagsB | Update the tags associated with a workflow. Args:
Returns: The updated workflow with new tags. |
| n8n_list_executionsB | List workflow executions with optional filtering. Args:
Returns: List of executions with id, workflowId, status, mode, timestamps. |
| n8n_get_executionA | Get detailed information about a specific execution. Args:
Returns: Complete execution details including:
|
| n8n_delete_executionA | Delete a specific execution by ID. ⚠️ WARNING: This action cannot be undone! Args:
Returns: Confirmation of deletion. |
| n8n_delete_executionsA | Delete multiple executions based on filters. ⚠️ WARNING: This action cannot be undone! Use with caution. Args:
Returns: Count of deleted executions. |
| n8n_stop_executionB | Stop a running execution. Args:
Returns: The stopped execution details. |
| n8n_retry_executionB | Retry a failed execution. Args:
Returns: The new execution created from the retry. |
| n8n_list_credentialsA | 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_credentialA | 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_credentialA | 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_credentialA | Update an existing credential. Args:
Returns: The updated credential (without sensitive data). |
| n8n_delete_credentialA | Delete a credential. ⚠️ WARNING: This will break any workflows using this credential! Args:
Returns: Confirmation of deletion. |
| n8n_get_credential_schemaA | 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_credentialB | Transfer a credential to a different project. Args:
Returns: Confirmation of transfer. |
| n8n_list_tagsA | List all tags available for organizing workflows. Args:
Returns: List of tags with id and name. |
| n8n_get_tagB | Get details of a specific tag. Args:
Returns: Tag details with id and name. |
| n8n_create_tagB | Create a new tag for organizing workflows. Args:
Returns: The created tag. |
| n8n_update_tagB | Rename an existing tag. Args:
Returns: The updated tag. |
| n8n_delete_tagB | Delete a tag. Args:
Returns: Confirmation of deletion. |
| n8n_list_variablesA | 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_variableA | Get a specific variable by ID. Args:
Returns: Variable details with id, key, and value. |
| n8n_create_variableA | Create a new environment variable. Variables can be used in workflows with $vars.variableName syntax. Args:
Returns: The created variable. |
| n8n_update_variableB | Update an existing variable. Args:
Returns: The updated variable. |
| n8n_delete_variableA | Delete a variable. ⚠️ WARNING: Workflows using this variable will break! Args:
Returns: Confirmation of deletion. |
| n8n_list_projectsA | 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_projectB | Get details of a specific project. Args:
Returns: Project details with id, name, and type. |
| n8n_create_projectB | Create a new project for organizing workflows and credentials. Args:
Returns: The created project. |
| n8n_update_projectB | Rename a project. Args:
Returns: The updated project. |
| n8n_delete_projectA | Delete a project. ⚠️ WARNING: All workflows and credentials in this project will be affected! Args:
Returns: Confirmation of deletion. |
| n8n_transfer_workflowB | Transfer a workflow to a different project. Args:
Returns: Confirmation of transfer. |
| n8n_list_usersB | List all users in the n8n instance. Args:
Returns: List of users with id, email, name, and role. |
| n8n_get_userB | Get details of a specific user. Args:
Returns: User details with id, email, name, and role. |
| n8n_get_current_userA | 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_statusA | Get the current source control (Git) status. Returns:
|
| n8n_source_control_pullA | Pull changes from the remote Git repository. Args:
Returns: Pull result with affected files. |
| n8n_source_control_pushB | Push changes to the remote Git repository. Args:
Returns: Push result with affected files. |
| n8n_source_control_disconnectA | Disconnect from the remote Git repository. ⚠️ WARNING: This will remove the Git integration! Returns: Confirmation of disconnection. |
| n8n_generate_auditA | Generate a security audit report for the n8n instance. Args:
Returns: Audit report with risk levels and issues by category. |
| n8n_check_connectionA | Test the connection to the n8n instance. Verifies that the API key is valid and the n8n instance is reachable. Returns:
|
| n8n_get_node_typesA | 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_webhooksA | Get a list of all active webhooks in the n8n instance. Returns: List of active webhooks with their paths and associated workflows. |
| n8n_export_workflowA | 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_workflowB | Import a workflow from JSON. Args:
Returns: The imported workflow with its new ID. |
| n8n_duplicate_workflowA | 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