whoop_mcp/lib.rs
1//! Read-only WHOOP MCP server.
2//!
3//! A Rust implementation of the [`whoop-ai-mcp`](https://www.npmjs.com/package/whoop-ai-mcp)
4//! Model Context Protocol server. It exposes WHOOP recovery, sleep, strain,
5//! workout, and personal analytics data to AI assistants over stdio or
6//! Streamable HTTP, with identical tools, schemas, resources, and prompts.
7//!
8//! Most users run the `whoop-mcp` binary; the library is exposed for embedding
9//! and testing (for example [`server::McpServer`] with a custom [`api::WhoopApi`]).
10
11pub mod api;
12pub mod app;
13pub mod auth;
14pub mod cache;
15pub mod catalog;
16pub mod cli;
17pub mod crypto;
18pub mod http_util;
19pub mod js;
20pub mod logging;
21pub mod net;
22pub mod prompts;
23pub mod resources;
24pub mod schema;
25pub mod server;
26pub mod telemetry;
27pub mod tools;
28pub mod transport;