Skip to content

Update the README to reflect the new default for FASTMCP_HOST #71

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

kacperlukawski
Copy link
Member

FastMCP has changed the default value for FASTMCP_HOST from 0.0.0.0 to 127.0.0.1. That was making the Dockerfile unusable for SSE.

Context: https://github.com/jlowin/fastmcp/blame/159324ea468652ec3a86837b0f9f85ce89a795df/src/fastmcp/settings.py#L192

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the README to reflect the new default value for FASTMCP_HOST from "0.0.0.0" to "127.0.0.1", addressing issues with the Dockerfile for SSE.

  • Updated the configuration table to show the new FASTMCP_HOST default.
  • Added a TIP note regarding Docker container network settings.
Comments suppressed due to low confidence (1)

README.md:124

  • The Docker run example still sets FASTMCP_HOST to "0.0.0.0", which contradicts the updated default of "127.0.0.1" in the configuration table. Update this command to ensure consistency or clarify the intended behavior in the TIP note.
  -e FASTMCP_HOST="0.0.0.0" \

@kacperlukawski kacperlukawski merged commit 598ed6f into master Jun 27, 2025
5 checks passed
@kacperlukawski kacperlukawski deleted the docs/docker-setup branch June 27, 2025 08:58
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

Successfully merging this pull request may close these issues.

2 participants