Skip to main content

Crate solo_api

Crate solo_api 

Source
Expand description

Solo transports: MCP server (rmcp) and HTTP/JSON (axum).

Re-exports§

pub use auth::AuthConfig;
pub use auth::AuthError;
pub use auth::AuthenticatedPrincipal;
pub use http::SoloHttpState;
pub use http::openapi_spec;
pub use http::serve_http;
pub use llm::SamplingClient;
pub use llm::SamplingError;
pub use llm::SamplingLlmClient;
pub use llm::build_sampling_steward;
pub use mcp::ENV_MCP_PRINCIPAL_TOKEN;
pub use mcp::SoloMcpServer;
pub use mcp::resolve_mcp_principal;
pub use mcp::serve_stdio;
pub use mcp::tool_names;
pub use mcp_dispatch::JsonRpcErrorBody;
pub use mcp_dispatch::JsonRpcErrorResponse;
pub use mcp_dispatch::JsonRpcRequest;
pub use mcp_dispatch::JsonRpcResponse;
pub use mcp_dispatch::JsonRpcSuccess;
pub use mcp_dispatch::McpDispatcher;

Modules§

auth
Pluggable auth for Solo’s HTTP transport (v0.8.0 P3).
http
HTTP/JSON transport for Solo. Local-only by default — binds to 127.0.0.1:<port> and serves the same operations the MCP server exposes:
llm
solo-api LLM clients that depend on the MCP transport.
mcp
MCP (Model Context Protocol) server for Solo.
mcp_dispatch
v0.10.2 — transport-agnostic MCP JSON-RPC dispatcher.