mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-01-30 06:22:04 +00:00
Root cause: Same issue as docker-entrypoint.test.ts - test was starting container in detached mode without setting MCP_MODE. The node application defaulted to stdio mode, which expects JSON-RPC input on stdin. In detached Docker mode, stdin is /dev/null, causing the process to receive EOF and exit immediately. When the test tried to check /proc/1/environ after 2 seconds to verify NODE_DB_PATH from config file, PID 1 no longer existed, causing the test to fail with "container is not running". Solution: Add MCP_MODE=http and AUTH_TOKEN=test to the docker run command so the HTTP server starts and keeps the container running, allowing the test to verify that NODE_DB_PATH is correctly set from the config file. This fixes the last failing CI test: - Before: 678 passed | 1 failed | 27 skipped - After: 679 passed | 0 failed | 27 skipped ✅ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>