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
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ enum Commands {

#[tokio::main]
async fn main() -> Result<()> {
// Initialize tracing
tracing_subscriber::fmt::init();
// Initialize tracing. Write to stderr: stdout is reserved for the MCP JSON-RPC
// stream, and log lines on stdout corrupt the protocol.
tracing_subscriber::fmt().with_writer(std::io::stderr).init();

// Parse CLI arguments
let cli = Cli::parse();
Expand Down