Skip to content

Conversation

tonilastre
Copy link

Here are the changes:

  • FASTMCP_HOST env wasn't working for me, and the MCP server was not listening on 0.0.0.0 (which was important in Docker container so I can access it from the outside). I couldn't even find usage of FASTMCP_HOST in the Fast MCP GitHub repo. I've changed it to MCP_HOST to be aligned with MCP_TRANSPORT (no mention of fast).
  • In the docs, it says that streamable-http is the default, but stdio was the default. I've fixed it to match the docs, having streamable-http as default.

@tonilastre tonilastre self-assigned this Oct 7, 2025
@tonilastre tonilastre requested a review from antejavor as a code owner October 7, 2025 10:48
@tonilastre tonilastre added the bug Something isn't working label Oct 7, 2025

# Initialize FastMCP server with stateless HTTP (for streamable-http transport)
mcp = FastMCP("mcp-memgraph", stateless_http=True)
mcp = FastMCP("mcp-memgraph", host=MCP_HOST, stateless_http=True)
Copy link
Member

Choose a reason for hiding this comment

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

We should also make the stateless_http part configurable, and I think the default should be False because it seems that elicitations don't work if stateless_http=True 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants