{"record":{"id":"a68f5077737fd58f","repo":"Hmbown/CodeWhale","slug":"mcp-server-name-not-found","errorCode":null,"errorMessage":"MCP server '{name}' not found","messagePattern":"MCP server '(.+?)' not found","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/tui/src/lib.rs","lineNumber":8586,"sourceCode":"                    .await\n                    .is_ok_and(|support| support.is_some())\n            {\n                println!(\n                    \"OAuth is available for '{name}'. Run `codewhale mcp login {name}` to authenticate.\"\n                );\n            }\n            Ok(())\n        }\n        McpCommand::Login { name, scopes } => {\n            let cfg = crate::mcp::load_config_with_workspace_and_plugins(\n                &config_path,\n                workspace,\n                plugins,\n            )?;\n            let server = cfg\n                .servers\n                .get(&name)\n                .ok_or_else(|| anyhow!(\"MCP server '{name}' not found\"))?;\n            let explicit_scopes = (!scopes.is_empty()).then_some(scopes);\n            crate::mcp::oauth::perform_oauth_login_for_server(\n                &name,\n                server,\n                explicit_scopes,\n                config.mcp_oauth_callback_port,\n                config.mcp_oauth_callback_url.as_deref(),\n            )\n            .await?;\n            println!(\"Stored OAuth credentials for MCP server '{name}'.\");\n            Ok(())\n        }\n        McpCommand::Logout { name } => {\n            let cfg = crate::mcp::load_config_with_workspace_and_plugins(\n                &config_path,\n                workspace,\n                plugins,\n            )?;","sourceCodeStart":8568,"sourceCodeEnd":8604,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/8880682c63083a91624de936797efa3ce9e498fd/crates/tui/src/lib.rs#L8568-L8604","documentation":"Error \"MCP server '{name}' not found\" thrown in Hmbown/CodeWhale.","triggerScenarios":"Thrown at crates/tui/src/lib.rs:8586 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8880682c63083a91624de936797efa3ce9e498fd","analyzedAt":"2026-08-16T11:31:27.956Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}