-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Comments
I'm facing the exact same issue as my n8n workflows are no longer able to connect to the MCP server with |
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 |
@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. |
I found a solution: define an environment variable This works for latest release v1.9.2 |
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 themcp/server/fastmcp/server.py
was set to be127.0.0.1
instead of0.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
The text was updated successfully, but these errors were encountered: