redop is designed for Bun-first MCP servers.
Scaffold a new app
If you want a ready-to-run starter, usecreate-redop-app:
redopzodtypescriptbun-types- a starter
src/index.ts - transport and deploy presets
Install the package
Runtime expectations
- Bun is the primary runtime
- Zod is optional but recommended for the best DX
- the framework currently supports
httpandstdiotransports
create-redop-app, zod is already installed for you.
What you get after install
Redopfor creating a server- built-in plugins like
logger,analytics,apiKey,bearer,rateLimit, andcache - schema adapter helpers for Zod, Standard Schema, and JSON Schema
- typed event objects for handlers, middleware, and hooks
Common mistake
Do not point npm package consumers at rawsrc/*.ts files long-term if you plan to publish. Keep your app code in TypeScript, but ship built artifacts when you package redop for npm.