Monorepo for the bunrpc packages and example app.
packages/core->@bunrpc/core, the Bun-first RPC corepackages/react->@bunrpc/react, TanStack Query integrationpackages/openapi->@bunrpc/openapi, OpenAPI document and Swagger UI pluginpackages/mcp->@bunrpc/mcp, MCP transport/plugin for bunrpc proceduresapps/example-> local playground app that wires all packages together
bun installbun run check
bun run typecheck
bun run testbun --cwd apps/example run serverThe example server starts on http://localhost:3000 and exposes:
GET /health- RPC routes under
/api/* - OpenAPI document at
/openapi.json - Swagger UI at
/docs - MCP endpoint at
/mcp
bun --cwd packages/core publish --access public
bun --cwd packages/react publish --access public
bun --cwd packages/openapi publish --access public
bun --cwd packages/mcp publish --access publicThe apps directory is for local example and demo apps.