n8n-mcp: Instructions file for Gemini CLI

GEMINI.md

n8n-mcp GEMINI.md is an instructions file for Gemini CLI from AutomateLab-tech/n8n-mcp. It costs 871 tokens per session, scanned A, original, MIT.

A set of instructions for using n8n-mcp with n8n, a tool for building and running connected workflows. It routes requests for creating, checking, debugging, and extending those workflows to the appropriate tools.

In plain words
What is it for?
Use it to generate workflow JSON, scaffold custom TypeScript nodes, lint workflows, explain failed executions, write Code-node JavaScript, and work with a live n8n instance through its REST interface.
Why use it?
It helps an AI agent choose the right operation when a workflow description, failed run, custom node, or existing workflow is involved.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is AutomateLab-tech/n8n-mcp's own configuration. It tells Gemini CLI how to work on n8n-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything n8n-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AutomateLab-tech/n8n-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AutomateLab-tech/n8n-mcp/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/AutomateLab-tech/n8n-mcp

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for n8n-mcp GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/automatelab-tech/n8n-mcp/gemini-md/github.svg)](https://agentmods.dev/instructions/automatelab-tech/n8n-mcp/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/automatelab-tech/n8n-mcp/gemini-md"><img src="https://agentmods.dev/badge/instructions/automatelab-tech/n8n-mcp/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for n8n-mcp GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/automatelab-tech/n8n-mcp/gemini-md"><img src="https://agentmods.dev/badge/instructions/automatelab-tech/n8n-mcp/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 871 This file is loaded in full into every session.
When invoked 871 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00871 $0.00871
Opus 5.5 $0.00348 $0.00348
Sonnet 5.5 $0.00174 $0.00174
Haiku 4.5 $0.00087 $0.00087

Measured 1mo ago against content hash 5511954e7956, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

n8n-mcp GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

GEMINI.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

n8n-mcp

Use when the user wants to build, debug, or extend an n8n workflow - generating workflow JSON from a description, scaffolding a custom TypeScript node, building an AI agent (LangChain cluster), iterating over items, writing Code-node JS, linting an existing workflow, diagnosing a failed execution, or driving a live n8n instance via REST.

Pairs with the @automatelab/n8n-mcp server (loaded automatically by this extension). The server exposes 9 MCP tools; this context tells you when to use which.

Tool routing

Tool names use dot-notation: node.*, workflow.*, execution.* (renamed in v0.4.0 from n8n_*).

Stateless tools (work without any n8n instance):

  • workflow_generate - plain-English description -> workflow JSON. Detects AI-agent intent and emits a LangChain cluster.
  • node_scaffold - description -> single INodeType TypeScript file for a custom n8n package.
  • workflow_lint - workflow JSON -> list of issues (deprecated types, missing typeVersion, broken connections, AI Agent without ai_languageModel, IF v1 schema, etc.).
  • execution_explain - failed/surprising execution JSON -> diagnosis. Catches the #1 n8n pain point: items "silently disappearing" between nodes. Also flags unresolved ={{ ... }} expressions and surfaces LLM token usage.

Live-instance tools (require N8N_API_URL + N8N_API_KEY env vars):

  • workflow_list - paginate workflows; filter by active/tags/name.
  • workflow_get - fetch a workflow by id. Pair with workflow_lint to audit deployed workflows.
  • workflow_create - POST a generated workflow. Strips read-only fields. Workflow is created inactive.
  • workflow_activate - flip active on/off.
  • execution_list - browse executions; pass includeData: true for the full body. Pair with execution_explain.

Default chains:

  • Generate, then ship: workflow_generate -> workflow_lint -> (if env configured) workflow_create -> workflow_activate.
  • Audit a deployed workflow: workflow_list -> workflow_get -> workflow_lint.
  • Diagnose a failure: execution_list {status: "error"} -> pick one -> execution_list {includeData: true, ...} -> execution_explain.

Read the full file on GitHub · 56 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 56 lines · 871 tokens per session scan A 5511954e7956

Subscribe to this mod's changes

n8n-mcp GEMINI.md is an instructions file published in the GitHub repository AutomateLab-tech/n8n-mcp (15 stars, last pushed 6d ago), licensed MIT. It adds 871 tokens to every session, about $0.0035 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories