Skip to content

Commit 6de5d15

Browse files
committed
fix(main): clarify setup mode condition for Claude config
1 parent 9d0d913 commit 6de5d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def main() -> None:
9696
if config.server.setup:
9797
transport = choose_transport_interactive()
9898

99-
# Print configuration for Claude if in setup mode
100-
if config.server.setup:
99+
# Print configuration for Claude if in setup mode and using stdio transport
100+
if config.server.setup and transport == "stdio":
101101
print_claude_config()
102102

103103
# Create and run the MCP server

0 commit comments

Comments
 (0)