@llm-workbench/mcp
v0.3.3
Published
Model Context Protocol (MCP) server factory and HTTP handler that exposes an LLM Workbench runtime over MCP.
Maintainers
Readme
@llm-workbench/mcp
MIT-licensed — transport-agnostic Model Context Protocol (MCP) glue for the LLM Workbench runtime.
Use this package when you want assistants or tools speaking MCP to start runs, resolve gates, or inspect traces against any RunRepository implementation.
npm install @llm-workbench/mcp @llm-workbench/runtimeAPI surface
| Export | Role |
| --- | --- |
| createWorkbenchMcpServer | Builds an MCP McpServer from runtime wiring options. |
| createWorkbenchMcpHttpHandler | Wraps that server as (req: Request) => Promise<Response> for Next.js Route Handlers, Hono, etc. |
Authentication and tenancy are host-defined: supply a repository already scoped to the caller (see apps/web/app/api/mcp/route.ts for a reference binding).
