n8n MCP Agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| N8N_URL | Yes | Your n8n instance URL (e.g., https://n8n.example.com) | |
| N8N_API_KEY | Yes | Your n8n API key |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| init-n8nA | Initialize connection to n8n instance. Use this tool whenever an n8n URL and API key are shared to establish the connection. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| list-workflowsA | List all workflows from n8n. Use after init-n8n to see available workflows. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| get-workflowA | Retrieve a workflow by ID. Use after list-workflows to get detailed information about a specific workflow. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| create-workflowA | Create a new workflow in n8n. Must provide full workflow structure including nodes and connections arrays, even if empty. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| update-workflowB | Update an existing workflow in n8n. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| delete-workflowA | Delete a workflow by ID. This action cannot be undone. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| activate-workflowB | Activate a workflow by ID. This will enable the workflow to run. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| deactivate-workflowA | Deactivate a workflow by ID. This will prevent the workflow from running. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| execute-webhookA | Execute a workflow via its webhook URL. Workflow must have a Webhook trigger node and be active. Returns the workflow response. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| get-webhook-urlA | Get the webhook URL for a workflow. Extracts webhook path from workflow nodes. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| test-workflowA | Universal workflow testing tool. Automatically detects trigger type and uses appropriate testing method:
Returns structured response with execution results and AI-friendly diagnosis for errors. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| n8n-loginA | Login to n8n using email/password. Returns session cookie for REST API operations (e.g., list-credentials). Required because some endpoints are not available in Public API. |
| list-projectsB | List all projects from n8n. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| create-projectB | Create a new project in n8n. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| update-projectA | Update a project's name. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| delete-projectA | Delete a project by ID. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| list-usersA | Retrieve all users from your instance. Only available for the instance owner. |
| create-usersB | Create one or more users in your instance. |
| get-userA | Get user by ID or email address. |
| delete-userB | Delete a user from your instance. |
| list-variablesB | List all variables from n8n. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| create-variableB | Create a new variable in n8n. Variables can be used across workflows. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| delete-variableB | Delete a variable by ID. NOTE: Requires n8n Enterprise license. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| list-credentialsA | List all credentials via REST API. Requires sessionCookie from n8n-login. Returns full credential list with type, name, and usage info. |
| create-credentialA | Create a credential that can be used by nodes of the specified type. Use get-credential-schema first to see required fields. |
| delete-credentialB | Delete a credential by ID. You must be the owner of the credentials. |
| get-credential-schemaA | Show credential data schema for a specific credential type. |
| list-executionsC | Retrieve all executions from your instance with optional filtering. |
| get-executionB | Retrieve a specific execution by ID. |
| delete-executionB | Delete a specific execution by ID. |
| list-tagsB | Retrieve all tags from your instance. |
| create-tagC | Create a new tag in your instance. |
| get-tagA | Retrieve a specific tag by ID. |
| update-tagB | Update a tag's name. |
| delete-tagC | Delete a tag by ID. |
| get-workflow-tagsB | Get tags associated with a workflow. |
| update-workflow-tagsB | Update tags associated with a workflow. |
| generate-auditC | Generate a security audit for your n8n instance. |
| n8n-patterns-statsA | Get Zie619 workflow database statistics (4343 workflows, 268 integrations, 16 categories). |
| n8n-patterns-searchB | Search workflow templates from Zie619 database. Filter by query, category, integration, complexity, or trigger type. |
| n8n-patterns-getA | Get full workflow JSON template by ID. Use this to fetch a template for deployment. |
| n8n-patterns-categoriesA | List all workflow categories (16 total). |
| n8n-patterns-integrationsA | List top integrations by usage count. |
| n8n-diagnoseC | Run comprehensive n8n diagnostics. Checks container status, analyzes logs for errors, provides actionable fixes. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| n8n-analyze-logsB | Analyze n8n logs for known error patterns. Returns categorized issues with suggested actions. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
| n8n-health-checkB | Quick health check of n8n instance. Returns healthy/unhealthy status with details. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines. |
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/anatolykoptev/n8n-mcp-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server