Skip to content
Prism

One definition. Every surface.

Define an operation once. Project it to REST + OpenAPI, MCP tools, AI SDK tools, and a CLI — with typed errors, per-caller filtering, and a confirmation gate a model cannot forge.

One operation. Four projections. No duplicated handlers.

REST + OpenAPI

@prism/honotoFetch / toHono. Human surface; remote-safe when you hold the credentials.

MCP tools

@prism/mcptoMCP. Agent surface; remote-safe over Streamable HTTP with verify.

AI SDK tools

@prism/ai-sdktoAiSdkTools. In-process; trusted server runtime only.

CLI

@prism/clitoCli. Operator surface; assumes a trusted human at the keyboard.