Edison
Edison
> It is necessary to enable stateless configuration. The MCP Tool Service converted directly from the FastAPI service usually does not handle the `mcp-session-id`. That is, the FastAPI service is...
Hi, Yes, I've run my app with a SINGLE Gunicorn worker using the latest version (0.4.0) with `mount_http`. Adding the `stateless` flag and passing it down to the underlying HTTP...
@TTHNN-ld Hi, Thanks for reporting the issue. The root cause is most likely on the MCP side rather than in this project or the changes introduced by the PR. Please...
Yeah, thanks. I’ve updated FastApiMCP and added the `ignore_deprecated` parameter, along with the corresponding tests.
I have the same need! The automatic response information in tool descriptions can consume too much context space. I've submitted a PR that adds an `include_response_info` parameter to `FastApiMCP`. When...
Another approach: could we use `outputSchema` for response_info instead? p.s. `Tool` class definition in `mcp` package ``` class Tool(BaseMetadata): """Definition for a tool the client can call.""" description: str |...
It seems that HTTP+SSE has been deprecated. For more information, you can refer to the [Transports - Model Context Protocol](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#backwards-compatibility) specification. You might be interested in an [issue](https://github.com/tadata-org/fastapi_mcp/issues/188) discussing the...
> > Another viable approach is to start the transport directly using `mcp.server.fastmcp`. More details can be found in the [GitHub - modelcontextprotocol/python-sdk](https://github.com/modelcontextprotocol/python-sdk#) repository, which you can get start from...
Hi @frouzbeh You can test the changes in either branch—both are already rebased on the latest main: - [`feature/stateless-flag`](https://github.com/Edison-A-N/fastapi_mcp/tree/feature/stateless-flag) - [`feature-test`](https://github.com/Edison-A-N/fastapi_mcp/tree/feature-test) Both branches contain the feature proposed in this PR.
You're right — as I mentioned in [this comment](https://github.com/tadata-org/fastapi_mcp/issues/208#issuecomment-3134936256), the current implementation breaks under Gunicorn with multi workers.