Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mcp/server/fastmcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ def __init__( # noqa: PLR0913
transport_security=transport_security,
)

# Configure logging
configure_logging(self.settings.log_level)

self._mcp_server = MCPServer(
name=name or "FastMCP",
instructions=instructions,
Expand Down Expand Up @@ -204,9 +207,6 @@ def __init__( # noqa: PLR0913
# Set up MCP protocol handlers
self._setup_handlers()

# Configure logging
configure_logging(self.settings.log_level)

@property
def name(self) -> str:
return self._mcp_server.name
Expand Down
Loading