Mithril exposes three API protocols simultaneously on the same port:
1. Ollama API (for Junie, OpenCode, Open WebUI)
GET /api/tags— list available models (fellowships appear here)POST /api/chat— chat completion with streamingPOST /api/generate— text generation
2. OpenAI API (for LangChain, custom apps)
GET /v1/models— list modelsPOST /v1/chat/completions— chat completion
3. MCP Protocol (for Claude Desktop)
POST /mcp— JSON-RPC 2.0 for tool discovery and execution
How Clients Connect
Point any Ollama-compatible client to http://localhost:16180.
Fellowships appear as selectable "models". The client doesn't know it's talking to
an orchestrated team of models.