[package] name = "nutrition-mcp" version = "0.1.0" edition = "2024" description = "MCP server for personal calorie/nutrient tracking with OpenFood Facts integration" license = "MIT" [dependencies] # MCP protocol rmcp = { version = "0.7", features = [ "server", "macros", "schemars", "transport-streamable-http-server", ] } # Async runtime tokio = { version = "1", features = ["full"] } tokio-util = { version = "0.7", features = ["rt"] } # HTTP client (for OFF API) reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false } # Database sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "macros"] } # Serialization serde = { version = "1", features = ["derive"] } serde_json = "1" schemars = "1" # Web framework (for HTTP transport + auth middleware) axum = "0.8" # Error handling anyhow = "1" thiserror = "2" # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Misc chrono = { version = "0.4", features = ["serde"] } uuid = { version = "1", features = ["v4"] } [profile.release] opt-level = 2 strip = true