Repository navigation
Otoroshi LLM Extension 0.0.92
Highlights
-
MCP Studio (#257, experimental): a new console at
/extensions/cloud-apim/mcp-studioto build, secure, test, monitor and publish MCP servers for Claude, ChatGPT, Cursor, VS Code, Le Chat and any other MCP client.- Build: proxy the MCP servers you already run, combine several of them into one, or turn an OpenAPI spec or a gateway route into tools. You can also write tools as HTTP calls, JavaScript or Otoroshi workflows.
- Enrich: add prompts, resources and MCP Apps (cards, tables, charts and forms shown in the conversation).
- Secure: protect each server with API keys, OAuth2 through your own identity provider, public or hybrid access, quotas and the Threat Studio.
- Test: try each tool in a playground, or in a chat with a real model. Test profiles save a model, a system prompt, an API key and a tool-approval mode for the whole workspace.
- Monitor: activity dashboards (tools, clients and end users, upstreams, gateway, security), raw events, uptime probes, alerts to Slack, Teams or Discord, and a printable report.
- Publish in ChatGPT: the app directory checks run against the live server, the submission sheet is ready to import, and you can prepare a new version while the published one keeps serving, then switch to it once it is reviewed.
Like AI Studio, MCP Studio stores nothing of its own: a workspace is made of regular Otoroshi entities, visible and editable in the backoffice.
-
A sealed, verifiable MCP audit trail: MCP calls (and, optionally, their arguments and results) can be sealed in SHA-512 Merkle chains signed with an Otoroshi key pair.
- The signatures can also be post-quantum, with ML-DSA-87 and SLH-DSA-SHA2-256s.
- Seals can be anchored with RFC 3161 timestamp authorities and copied to an S3 bucket with object lock.
- Verify the period reveals any call that was changed, removed or added later.
- Proof downloads everything an auditor needs to check the trail offline, with node and openssl only.
-
Targets for every type of model: embedding, decision, moderation, image, audio, video and OCR models can now spread their calls over several copies of their server. They get the same weights, strategies, retries, circuit breakers and pushed states as text providers, and their targets are edited in their admin page.
-
Self-hosted inference servers: new provider kinds for vLLM, SGLang, llama.cpp, LM Studio, Docker Model Runner and LocalAI, each preset with its default address, and for ZML LLMD (#258), which serves text, embeddings and decisions from a single server. None of them need an API key: the gateway is their front door, with your keys, budgets, guardrails and audit trail.
-
Hetzner (#256) is now supported as a provider of text and embeddings, with its prices converted from euros.
MCP
- Security: in prompts written in an MCP virtual server, the arguments a client sends to
prompts/getare no longer evaluated as Otoroshi expressions. The prompt text is evaluated first, then the arguments are filled in. - An MCP server can keep the HTTP request of each call in its audit event (
audit_http_request, on by default for servers created by MCP Studio). Credential values are masked, and the audit trail shows the request. - An MCP virtual server now lists each of its resources only once.
Providers and models
- Streamed Gemini calls now count their tokens once, instead of adding up the running usage of every chunk (#254). This fixes inflated costs, budgets and audits.
- Moderation responses now return the
idgiven by the provider (#255). - The credit health check also probes embedding, moderation and decision models. Each probe costs almost nothing: one word to embed or moderate, or one yes/no question.
- The models.dev catalog has been refreshed. The coding index used by the code router now comes from version 2 of the Artificial Analysis API.
AI Studio
- With the WAF extension, Cover this workspace puts a workspace's endpoint under the Threat Studio (WAF, bot detection, IP reputation, attack detection and incident response) without touching its route.
- Self-hosted servers (Ollama, ZML LLMD, vLLM, SGLang, llama.cpp, LM Studio, Docker Model Runner, LocalAI, and any OpenAI- or System One-compatible server) can be connected without an API key.
Other improvements
- Built on Otoroshi 18.2.0.
- For contributors: the project's tools and tasks are now declared in
mise.toml(mise install, thenmise run compile,mise run test:offline,mise run assembly…). The studio build and the documentation website are no longer committed: they are built by the tasks and the workflows.
Contributors
Thanks to @mohamed-amir-ben-khadda-maif for reporting #255!
Full changelog: 0.0.91...0.0.92