-
Notifications
You must be signed in to change notification settings - Fork 2k
Server accepts self-mount without error #3920
Copy link
Copy link
Closed
Labels
bugSomething isn't working. Reports of errors, unexpected behavior, or broken functionality.Something isn't working. Reports of errors, unexpected behavior, or broken functionality.serverRelated to FastMCP server implementation or server-side functionality.Related to FastMCP server implementation or server-side functionality.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working. Reports of errors, unexpected behavior, or broken functionality.Something isn't working. Reports of errors, unexpected behavior, or broken functionality.serverRelated to FastMCP server implementation or server-side functionality.Related to FastMCP server implementation or server-side functionality.
`mcp.mount(mcp)` is accepted silently, causing infinite recursion when listing tools.
The `mount()` method has no guard against mounting a server onto itself. A simple identity check would catch this at mount time instead of producing confusing errors later.