Self-Hosting n8n and Letting Claude Build the Workflows
Описание и применение
Разработчик сам развернул n8n в Docker, подключил его к Claude как MCP‑серверу и позволил модели автоматически создавать три рабочие потока, устранив ручное рисование графов и минимизировав ошибки конфигурации.
Задача
Automating workflow creation in n8n via Claude while self-hosting the platform, avoiding manual canvas construction and handling environmental pitfalls.
Результат
Three production‑ready workflows built entirely by Claude, eliminating manual canvas work and reducing configuration errors.
Рабочий процесс
- Register n8n Docker container with MCP server
- Configure .claude.json to point to local n8n instance
- Use Claude to: get_sdk_reference, search_nodes, create_workflow_from_code, update_workflow(operations)
- Iteratively build and test workflows
- Deploy and monitor workflows
Доказательства
I ran n8n in Docker on my own machine, registered it with Claude Code as an MCP server, and then built three real workflows by describing them to the agent, which created and edited the nodes programmatically.
Action nodes silently clobber $json.
n8n in Docker cannot reach your host's Ollama at localhost.
- Дата записи: 2026-09-06T10:21:55.141Z