Skip to main content

solo_api/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2
3//! Solo transports: MCP server (rmcp) and HTTP/JSON (axum).
4//!
5//! - MCP stdio: [`mcp::SoloMcpServer`] + [`mcp::serve_stdio`].
6//! - HTTP/JSON: [`http::SoloHttpState`] + [`http::serve_http`].
7//! - Auth (v0.8.0 P3): [`auth::AuthConfig`] + [`auth::AuthenticatedPrincipal`].
8
9pub mod auth;
10pub mod http;
11pub mod mcp;
12
13pub use auth::{AuthConfig, AuthError, AuthenticatedPrincipal};
14pub use http::{SoloHttpState, openapi_spec, serve_http};
15pub use mcp::{SoloMcpServer, serve_stdio, tool_names};