Skip to content

MCP servers can not be accessed via Docker and docker-compose anymore. #790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Vildnex opened this issue May 23, 2025 · 4 comments
Open

Comments

@Vildnex
Copy link

Vildnex commented May 23, 2025

Since the last update to version 1.9.1, any of the Docker setups that run any MCP servers are not working anymore.
This bug is because since 1.9.1, the host from line 90 in the mcp/server/fastmcp/server.py was set to be 127.0.0.1 instead of 0.0.0.0, which was in the beginning.

Is there a workaround to fix the Docker setups, or can a rollback be done to use the 0.0.0.0 again?

Currently, the only fix I found is to set all the Docker setups to use the older version 1.9.0

@wkwi2r
Copy link

wkwi2r commented May 26, 2025

I'm facing the exact same issue as my n8n workflows are no longer able to connect to the MCP server with 1.9.1

@liquidhair
Copy link

liquidhair commented May 26, 2025

im sorry but this is getting ridiculous everytime i configure a new setup either with docker or outside of it something else needs a workaround. This is not rocket science just seems that N8N is doing everything to prevent self hosting with making it extremely difficult to have a cohesive setup
. Any advice on how to downgrade my containers in Docker to previous version?

@Vildnex
Copy link
Author

Vildnex commented May 26, 2025

@liquidhair, if you already have the containers and images created, I would suggest just changing that line I am talking about in the issue and restarting the containers afterward. This should do the trick for you. The other option is to rebuild the images with the previous version 1.9.0, this is what I did for my case.

@wkwi2r
Copy link

wkwi2r commented May 30, 2025

I found a solution: define an environment variable FASTMCP_HOST=0.0.0.0

This works for latest release v1.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants