Skip to main content

Crate koan_server

Crate koan_server 

Source
Expand description

koan-server — GraphQL, Subsonic REST, and MCP server for koan.

Library crate that exports server entry points. No TUI, no CLI, no clap. Depends only on koan-core.

Re-exports§

pub use auth::AuthUser;
pub use graphql::KoanSchema;
pub use graphql::build_schema;
pub use mcp::KoanMcpServer;

Modules§

auth
Authentication layer for the koan server.
clients
koan clients linked to this server, and the way to reach them.
covers
Album covers for the web UI and share pages: embedded art, resized to one of a few sizes, encoded as JPEG, and kept.
graphql
mcp
MCP (Model Context Protocol) server for koan.
push
Apple’s push service, for reaching a koan iOS app that iOS has suspended.
share
Public share links: /share/{id}, and the audio and cover under it.
subsonic
Subsonic-compatible REST API layer.
ui
The web UI: sign in, browse the library and play it in the browser.