N8N interact with Docker MCP Toolkit

Hello n8n community,

I’m using the N8N v 1.93.0 self hosted (with docker).
Docker can expose MCP servers via the MCP Toolkit

I was wondering if it was possible to make n8n MCP tool node or the MCP client community node interact with the Docker’s MCP server.
I tried multiple ways without success:
_ Command line stdio
_ HTTP Streamable

Thank you for your help :slight_smile:

Replying because I am trying to do the same thing as well.

Have you had any progress?

I am also trying this. Please reply if anyone figures it out.

I’ve solved this exact problem! The key workaround is an HTTP bridge that translates n8n’s HTTP requests into docker mcp CLI commands.

Do check out this repo GitHub - ajeetraina/n8n-docker-mcptoolkit: Making n8n work with Docker MCP Toolkit

The Solution - HTTP Bridge:

βœ… Complete Architecture:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    HTTP     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    CLI      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    API     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   n8n   β”‚ ──────────▢ β”‚HTTP Bridge  β”‚ ──────────▢ β”‚ Docker Desktop   β”‚ ─────────▢ β”‚ GitHub  β”‚
β”‚Workflow β”‚             β”‚   :3001     β”‚             β”‚                  β”‚            β”‚   API   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                    β”‚ β”‚ GitHub MCP   β”‚ β”‚
                                                    β”‚ β”‚ Server       β”‚ β”‚
                                                    β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                                                    β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
                                                    β”‚ β”‚ MCP Toolkit  β”‚ β”‚
                                                    β”‚ β”‚ CLI          β”‚ β”‚
                                                    β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Do let me know if that works for you.