Skip to content

Dockerized HTTP Wrapper for n8n Integration #21

@kansoit

Description

@kansoit

Hi everyone! 👋

I wanted to share a project I built that wraps this MCP server in a Docker container, exposing it via HTTP. This makes it possible to integrate Delphix DCT with orchestration tools like n8n, which often don't support native stdio connections.

You can find the repository here: 👉 https://github.com/kansoit/dxi-mcpsrv-docker

How it works:

HTTP Wrapper: Uses FastAPI to bridge HTTP requests to the MCP server's stdio.
Persistent Session: Solves the issue of stateless HTTP requests by maintaining a persistent pipe to the backend process (using mkfifo and Supervisor), so you only need to initialize once.
n8n Compatible: Includes a JSON workflow to easily import and start using it in n8n.
Note: I am relatively new to AI/LLMs and have basic Python knowledge. I developed this solution with the help of an AI assistant through a lot of "live coding" and debugging to solve buffering and connection persistence issues. It's working great for my use case, so I hope it helps others!

Cheers!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions