Documentation Index
Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
Use this file to discover all available pages before exploring further.
Redop is a Bun-first TypeScript framework for building production MCP servers.

Getting Started
Install Redop, scaffold a server, and run your first MCP endpoint over HTTP or stdio.
Core
Understand tools, resources, prompts, plugins, error handling, and lifecycle
hooks.
Guides
Follow focused guides for transport choice, auth, plugins, resources, prompts,
and debugging.
Reference
Find exact details for the Redop constructor, tool definitions, transports, context, and CLI.
What Is Redop?
Redop is a framework for building production MCP servers without hand-writing the transport, session, schema, and lifecycle plumbing yourself. Use it when you want to:- define MCP tools with typed handler input
- validate input with Zod, Standard Schema libraries, TypeBox, or JSON Schema
- expose resources and prompts from the same server
- add middleware, lifecycle hooks, and reusable plugins
- run the same server over HTTP or stdio
What Is an MCP Server?
An MCP server is a program that exposes capabilities to MCP clients. In practice, that usually means:- tools for actions and workflows
- resources for readable data addressed by URI
- prompts for reusable prompt material
- protocol-level metadata, session handling, and capability discovery
Why Bun?
Redop is Bun-first, which means the default developer experience assumes you are running your server with Bun. Bun fits Redop well because it gives you:- a fast TypeScript-friendly runtime
- a simple local development loop
- a single toolchain for installing, running, and shipping the server
What You Build With Redop
Tools
Define actions with names, descriptions, schemas, annotations, hooks, middleware, and handlers.
Resources
Expose readable data through static or template URIs, with optional
subscriptions.
Prompts
Package reusable prompt material with names, descriptions, arguments, and
messages.
Plugins
Reuse hooks, middleware, tools, resources, and prompts as one composable unit.
.use(...).
Quick Example
http://localhost:3000/mcp.