Files
n8n-mcp/docs
czlonkowski 75952f94ca fix: Docker stdio communication for Claude Desktop compatibility
Fixed the initialization timeout issue with minimal changes:

1. Added stdout flush after server connection to combat Docker buffering
2. Fixed docker-entrypoint.sh to not output to stdout in stdio mode
3. Added process.stdin.resume() to keep server alive
4. Added IS_DOCKER environment variable for future use
5. Updated README to prioritize Docker with correct -i flag configuration

The core issue was Docker's block buffering preventing immediate JSON-RPC
responses. The -i flag maintains stdin connection, and explicit flushing
ensures responses reach Claude Desktop immediately.

Also fixed "Shutting down..." message that was breaking JSON-RPC protocol
by redirecting it to stderr in stdio mode.

Docker is now the recommended installation method as originally intended.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 00:30:54 +02:00
..

n8n-MCP Documentation

Welcome to the n8n-MCP documentation. This directory contains comprehensive guides for installation, configuration, and troubleshooting.

📚 Documentation Index

Getting Started

Deployment

Reference

For Users

For Developers

📋 Environment Variables

Key configuration options:

Variable Description Default
MCP_MODE Server mode: stdio or http stdio
USE_FIXED_HTTP Use fixed HTTP implementation (v2.3.2+) true
AUTH_TOKEN Authentication token for HTTP mode Required
PORT HTTP server port 3000
LOG_LEVEL Logging verbosity info

See Installation Guide for complete list.

🆘 Getting Help

  1. Check the Troubleshooting Guide
  2. Review HTTP Server Fix Documentation for v2.3.2 issues
  3. Open an issue on GitHub

📝 License

This project uses the Sustainable Use License. See LICENSE for details.