n8n-ops-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| N8N_API_KEY | Yes | n8n Public API key (X-N8N-API-KEY) | |
| N8N_BASE_URL | Yes | n8n base URL, e.g. http://localhost:5678 | |
| N8N_BACKUP_DIR | No | Where n8n_save_workflow writes pre-save snapshots | ~/.n8n-backups |
| N8N_ENABLE_EDIT | No | Expose write tools | false |
| N8N_REQUEST_TIMEOUT_MS | No | HTTP timeout for n8n API calls | 15000 |
| N8N_MAX_EXECUTION_LOG_BYTES | No | Cap on inline execution log bytes | 65536 |
| N8N_ENABLE_CREDENTIALS_WRITE | No | Second gate (on top of N8N_ENABLE_EDIT) for n8n_create_credential and n8n_delete_credential | false |
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 n8n workflows with optional filters. Returns id, name, active state, tags, updatedAt. Use n8n_get_workflow to pull the full definition. |
| n8n_get_workflowA | Fetch a single n8n workflow by id. Returns metadata and optionally the full node graph. Resolves against the live workflow, not the workflow_entity row directly. |
| n8n_list_executionsA | List recent n8n executions with optional filters. Returns id, workflowId, workflowName, status, mode, startedAt, stoppedAt. Use n8n_get_execution for the full run log. |
| n8n_get_executionA | Fetch a single n8n execution by id. Returns status, mode, timing, and per-node run data. Large run logs are truncated with a tail hint. Error executions include the raw error verbatim. |
| n8n_search_executionsA | Text-search recent n8n executions without paging through them one by one. Fetches each candidate with includeData=true, then greps the error payload (scope='error', default) or the full per-node run log (scope='all'). Returns matched executions with workflow context and a snippet around each hit. Snippets are raw run data with the API key redacted — with scope='all' they may still contain credentials or payload data from node outputs, so treat as sensitive. |
| n8n_list_webhooksA | Surface webhook and form-trigger paths from n8n workflows so agents can call n8n_trigger with mode='webhook' without opening the n8n UI. Returns workflowId, workflowName, nodeName, method, path, and a fully-formed triggerUrl. |
| n8n_validate_workflowA | Static checks on a workflow: deprecated node types (function → code), old Code-node API usage ($node[], items global, require()), orphan nodes, disabled nodes, and missing trigger. Returns a list of issues with severity. |
| n8n_audit_browser_bridge_usageA | Scan every workflow for nodes that invoke the browser-bridge CLI (Execute Command, Code/Function, or SSH nodes). Returns one finding per (workflowId, nodeName, platform, action) so you can answer 'where am I calling Linktree sync from?' without grepping the n8n DB. Read-only. Heuristic: matches |
| n8n_scaffold_browser_bridge_nodeA | Generate a ready-to-paste n8n node JSON that calls the browser-bridge CLI for a given (platform, action, input). Mirrors the patterns in browser-bridge's docs/n8n-usage.md so n8n workflows don't need to rediscover the spawn/heredoc shape every time. Pure local generator — no n8n API call. Default mode 'code-node' uses spawnSync with stdin JSON; 'execute-command' uses an Execute Command node with a quoted heredoc. |
| n8n_list_schedulesA | Surface every schedule trigger across workflows so you can answer 'what's running at 3am?' without clicking through the n8n UI. Walks scheduleTrigger and legacy cron nodes, decodes their interval rules into human-readable strings (e.g. 'every 2 hours', 'daily at 03:00', 'cron: 0 */6 * * *'), and returns workflow context + the raw rule for further inspection. Read-only. |
| n8n_list_tagsA | List workflow tags via GET /tags. Returns |
| n8n_get_workflow_tagsA | Read the tags currently attached to a workflow via GET /workflows/{id}/tags. Returns the array of |
| n8n_run_auditA | Generate n8n's built-in security audit via POST /audit. Returns one risk report per requested category: credentials (unused/abandoned), database (SQL injection-prone expressions), nodes (community/unofficial nodes), filesystem (host fs access), instance (insecure server settings). Each report has |
| n8n_find_workflows_using_node_typeA | Scan workflows and surface every node matching a given type (e.g. 'n8n-nodes-base.slack'). Returns one finding per matching node + a per-workflow summary so agents can answer 'where am I calling Slack?' or 'which workflows still use the legacy HTTP Request node?' without grepping the n8n DB. Read-only. Bounded-concurrency fan-out; per-workflow fetch errors land in |
| n8n_execution_statsA | Aggregate execution stats over a recent window. Computes per-workflow counts (total/success/error/canceled/running/waiting), failure rate, avg + p95 runtime, last failure + last success timestamps. Composed read-only — paginates /executions and stops on the window boundary or |
| n8n_list_credentialsA | List credentials via GET /credentials. Returns metadata only — n8n's API explicitly excludes the |
| n8n_get_credential_schemaA | Fetch the JSON schema for a credential type via GET /credentials/schema/{credentialTypeName}. Returns the raw JSON Schema document describing the required |
| n8n_find_workflows_using_credentialA | Scan workflows and surface every node that references a given credential. Pass either |
| n8n_check_disabled_nodesA | Scan workflows and surface every node with |
| n8n_diff_workflowA | Compare a workflow's current state against a snapshot (file path or inline object). Returns a structured semantic diff: nodes added/removed/modified (with per-node field paths), plus name/connections/settings change flags. Snapshot accepts both n8n_save_workflow backup shape (flat) and n8n_get_workflow(includeDefinition=true) shape (nested). Read-only. |
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/lidless-labs/n8n-ops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server