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)GET {UHP_BASE_PATH}/v1/uhpand friends — Unified Harness Protocol (default base/uhp)
§Modules
completions— chat completion handler with multiplex fan-outmcp_client— MCP stdio client pool for server-side tool execution (featuremcp-tools)models— 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 coreuhp— Unified Harness Protocol surface, mounted under its own base path
Modules§
- auth
- Authentication for the OpenAI-compatible surface.
- completions
- health
- mcp_
client - MCP Client Pool
- models
- openai_
types - provider_
resolver - router
- runner
- state
- streaming
- uhp
- Unified Harness Protocol (
2026-08-11).