{"name":"mordiem","description":"Model Context Protocol server for the MORDIEM compute marketplace. Exposes Venice/Morpheus inference (chat, images, video) through MORDIEM to any MCP client, authenticated with a single compute key.","version":"0.1.0","apiBase":"https://api.mordiem.com/api/v1","transport":"stdio","auth":{"type":"apiKey","env":"MORDIEM_API_KEY","format":"mr_sk_...","getKey":"https://mordiem.com/keys","note":"Compute key only. Account-admin endpoints are not exposed."},"mcpServers":{"mordiem":{"command":"node","args":["/absolute/path/to/MORDIEM/mcp/dist/index.js"],"env":{"MORDIEM_API_KEY":"mr_sk_..."}}},"tools":[{"name":"list_models","description":"List active models with live MOR pricing."},{"name":"chat_completion","description":"Run an OpenAI-compatible chat completion (non-streaming). Pass a specific model id, or an auto-router alias (see autoRouter) to let MORDIEM pick the model for you."},{"name":"generate_image","description":"Generate an image with a Venice model (flux, sdxl, …)."},{"name":"queue_video","description":"Queue an async video job (Kling, Wan, …)."},{"name":"retrieve_video","description":"Poll a video job; completed jobs return a download_url for the .mp4."},{"name":"venice_request","description":"Generic pass-through to any Venice /api/v1/* endpoint (except /account/*)."}],"autoRouter":{"description":"Instead of a specific model id, pass one of these aliases as the `model` on a chat completion and MORDIEM picks the model per request. The prompt is classified by task, difficulty and style, then matched to the best-fit model in the chosen cost/quality band.","aliases":{"auto":"Balanced best fit for the prompt (cost vs. quality).","auto:cheap":"Cheapest model that can still handle the prompt.","auto:best":"Strongest model regardless of cost."},"usage":{"model":"auto","messages":[{"role":"user","content":"Explain the CAP theorem."}]},"escalation":"If the chosen model fails (outage, rate limit, context too long, refusal), the request is automatically retried on up to 2 stronger models. Failed attempts are not billed — you only pay for the model that ultimately answers.","responseHeaders":["x-mordiem-router-model — the model that actually served the request","x-mordiem-router-reason — why it was selected","x-mordiem-router-escalated — the fallback chain, only set if escalation happened"],"note":"Auto routing applies to text/chat. For images and video, pass a specific model id (use list_models to discover them)."},"source":"https://mordiem.com/mcp"}