redop server: one tool, one handler, one transport.
Copy-paste example
What happens here
new Redop(...)defines the MCP server identitytool("ping", ...)registers a tool with no input schemahandlerreturns plain serializable datalisten(...)starts the HTTP transport
When to use this shape
Use this as your default starting point when:- you want to verify your MCP client can connect
- your first tool does not need input validation yet
- you want to add middleware and hooks incrementally