UseDocumentation 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.
new Redop({...}) to configure the server itself before you register tools, resources, prompts, hooks, middleware, or plugins.
This page explains what belongs in constructor configuration and how to think about it. For the exact constructor and method surface, use Redop API Reference.
Typical constructor shape
What constructor configuration controls
The Redop constructor configures two things:- MCP-facing server metadata
- advertised MCP capability groups
.tool(...), .resource(...), and .listen(...).
serverInfo
serverInfo is the MCP-facing identity your server returns during initialize.
Treat it as product metadata, not implementation trivia.
Use it to answer:
- what this server is called
- what it helps clients do
- where its canonical docs live
- what guidance a client should know up front
Identity fields
Use these fields to make the server recognizable and stable:namefor the machine-readable implementation identifiertitlefor a friendlier display labelversionfor the deployed server version clients should see
name stable over time. Change version when the deployed server changes in ways clients may care about.
Description and instructions
Usedescription for a short summary of the server’s purpose.
Use instructions for short usage guidance returned during initialize.
This is a good place for:
- preferred tool order
- important constraints
- safety expectations
Website and icons
UsewebsiteUrl for the canonical site or docs URL.
Use icons when you want the server to expose a visual identifier to clients that support one.
capabilities
capabilities controls which capability groups Redop advertises to clients.
Deprecated top-level metadata fields
Redop still accepts top-level fields likename, title, version, description, icons, websiteUrl, and instructions.
Prefer serverInfo for all new code.
What does not belong in constructor config
Keep these out ofnew Redop({...}):
- tools
- resources
- prompts
- tool or resource handlers
- per-feature middleware logic
- handler logic
- transport startup options