mcp_stdio_proxy/server/handlers/
health.rs

1use crate::AppError;
2use axum::response::IntoResponse;
3
4///健康检查:health
5pub async fn get_health() -> Result<impl IntoResponse, AppError> {
6    Ok("health".to_string())
7}
8
9pub async fn get_ready() -> Result<impl IntoResponse, AppError> {
10    Ok("ready".to_string())
11}