# n8n-Management

MCP server for n8n workflow automation — manage workflows, executions, credentials, tags, and users.                                                                                                   …

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add node2flow/n8n-management

# Browse available tools
npx -y @smithery/cli@latest tool list node2flow/n8n-management

# Get full schema for a tool
npx -y @smithery/cli@latest tool get node2flow/n8n-management n8n_list_workflows

# Call a tool
npx -y @smithery/cli@latest tool call node2flow/n8n-management n8n_list_workflows '{}'
```

## Direct MCP Connection

Endpoint: `https://n8n-management--node2flow.run.tools`

**Required config:**
- `N8N_URL` (query) — he base URL of your n8n instance
- `N8N_API_KEY` (query) — Generate from n8n Settings → API

## Tools (27)

- `n8n_list_workflows` — Retrieve all workflows with their status, tags, and metadata. Returns workflow ID, name, active status, creation date, …
- `n8n_get_workflow` — Get complete workflow definition including all nodes, connections, and settings. Returns full workflow JSON with node c…
- `n8n_create_workflow` — Create a new automation workflow with nodes and connections. Provide workflow name, node array, and connection object. …
- `n8n_update_workflow` — Modify existing workflow structure or settings. Update workflow name, add/remove nodes, or change connections. Workflow…
- `n8n_delete_workflow` — Permanently delete a workflow and all associated execution history. This action cannot be undone. Workflow must be deac…
- `n8n_activate_workflow` — Start a workflow to listen for triggers (webhooks, schedules, etc). Activating enables automatic execution when trigger…
- `n8n_deactivate_workflow` — Stop a workflow from listening to triggers. Deactivating prevents automatic execution but preserves workflow configurat…
- `n8n_execute_workflow` — Manually trigger workflow execution with optional input data. Useful for testing or API-driven workflows without webhoo…
- `n8n_get_workflow_tags` — Retrieve tags assigned to a workflow for categorization. Returns array of tag names. Use this to understand workflow or…
- `n8n_update_workflow_tags` — Assign tags to a workflow for organization and filtering. Replaces existing tags completely. Use tags like "production"…
- `n8n_list_executions` — Retrieve execution history with status, timestamps, and workflow info. Filter by workflow ID or get all executions. Ret…
- `n8n_get_execution` — Get detailed execution data including node outputs, error messages, and timing. Returns full execution log with data pa…
- `n8n_delete_execution` — Remove execution record from history to save storage or clean up test runs. Permanently deletes execution data. Use aft…
- `n8n_retry_execution` — Rerun a failed execution with the same input data. Useful for transient errors like network timeouts. Creates new execu…
- `n8n_create_credential` — Store new API credentials for services like GitHub, Slack, or databases. Provide credential type, descriptive name, and…
- `n8n_update_credential` — Update credential name or authentication data. Use this when rotating API keys or changing OAuth tokens. Workflows usin…
- `n8n_delete_credential` — Remove stored credential. Cannot delete credentials currently used in active workflows. Deactivate dependent workflows …
- `n8n_get_credential_schema` — Get required fields and format for a credential type before creating it. Returns field names, types, and whether fields…
- `n8n_list_tags` — Retrieve all available tags for workflow organization. Returns tag ID and name. Use this before assigning tags to workf…
- `n8n_get_tag` — Get tag details including ID and name. Rarely needed - use list_tags for most cases. Useful for validating tag existenc…
- `n8n_create_tag` — Create new tag for workflow categorization. Use meaningful names like "production", "staging", "team-marketing", or "ur…
- `n8n_update_tag` — Rename an existing tag. All workflows using this tag will automatically reflect the new name. Use this to standardize t…
- `n8n_delete_tag` — Remove tag from system. Automatically removes this tag from all workflows using it. Tag removal does not affect workflo…
- `n8n_list_users` — Retrieve all n8n users with their roles and status. Only available to instance owner. Returns user ID, email, role (own…
- `n8n_get_user` — Get detailed user information by ID or email. Only available to instance owner. Returns user profile including role and…
- `n8n_delete_user` — Remove user from n8n instance. Only available to instance owner. Cannot delete the owner account. Deleted users lose ac…
- `n8n_update_user_role` — Change user permission level. Only available to instance owner. Admin can manage workflows and credentials. Member has …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get node2flow/n8n-management <tool-name>
```

## Resources

- `n8n://server-info` — Connection status and available tools for this n8n MCP server

## Prompts (2)

- `manage-workflows` — Guide for managing n8n workflows — list, create, activate, execute, and organize with tags
- `debug-execution` — Step-by-step guide to diagnose and fix failed n8n workflow executions

---

License: MIT
