@llm-workbench/mcp
v0.3.4
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/runtime @modelcontextprotocol/sdk zodAPI 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).
Docs elsewhere
- Product overview and architecture: repository root
README.md. - Deployed MCP endpoint + discovery:
DEPLOY.mdsmoke-test table and/.well-known/mcp.json. - Getting started: https://www.llmworkbench.io/docs/getting-started
- Architecture deep-dive: https://www.llmworkbench.io/docs/architecture
- Generated API reference: https://www.llmworkbench.io/docs/api
