Expand description
§embacle-server
Unified OpenAI-compatible REST API + MCP server for embacle LLM runners.
§Endpoints
POST /v1/chat/completions— chat completion (streaming and non-streaming)GET /v1/models— list available providers and modelsGET /health— per-provider readiness checkPOST /mcp— MCP Streamable HTTP (JSON-RPC 2.0, via embacle-mcp)
§Modules
completions— chat completion handler with multiplex fan-outmodels— model listing endpointhealth— provider health checksauth— optional bearer token authenticationstreaming— SSE streaming for OpenAI-format responsesprovider_resolver—provider:modelstring routingrouter— Axum router wiring all endpoints (OpenAI+ MCP)state— re-export of unified state from embacle-mcprunner— runner factory bridging to embacle core