Apply suggestion from @parkedwards

This commit is contained in:
Eddie 2025-10-09 21:33:54 -07:00 committed by GitHub
commit 83cc0e6e33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -790,7 +790,7 @@ class FastMCP(Generic[LifespanResultT]):
# Prompt from mounted server - already filtered, include as-is
mcp_prompts.append(prompt)
else:
# Local prompt or proxy prompt - apply this server's tag filtering
# Local prompt or proxy prompt - apply this server's filtering
if self._should_enable_component(prompt):
mcp_prompts.append(prompt)