Server
Server
createManicServer Bun entry and how plugins attach routes metadata and APIs.
Server API (manicjs/server)
The server package exposes createManicServer — everything else (Hono APIs, Markdown negotiation, MCP hints) hangs off that function.
Primary export
import { createManicServer } from 'manicjs/server';Plugin hooks (configureServer)
Plugins extend the Bun router using ManicServerPluginContext:
Prop
Type
Author plugins with createPlugin (guide).
Related components
Fatal client shells such as ServerError live under manicjs (API).