The Problem
You have a GenroPy site. It works. It runs on werkzeug (WSGI), which
has been the standard for years. But WSGI is a synchronous protocol from 2003.
It cannot handle WebSockets, it blocks on every I/O operation, and adding
modern features means fighting the protocol itself.
You want to add a REST API with auto-generated Swagger docs, or a WebSocket endpoint for real-time updates, or serve an MCP bridge for AI agents. With pure WSGI, each of these requires a separate server or an awkward hack.
genropy-asgi lets you keep your GenroPy site untouched while running it on a modern ASGI server. Your existing pages, RPCs, and workflows work exactly as before. New ASGI-native features (REST APIs, WebSocket, MCP) run alongside them on the same port.
What changes for you
| Aspect | Before (gnrwsgiserve) | After (gnrasgiserve) |
|---|---|---|
| Your GenroPy code | Unchanged | Unchanged |
| Your config files | Unchanged | Unchanged |
| Your workflow | gnrwsgiserve mysite | gnrasgiserve mysite |
| WebSocket support | No | Native |
| REST APIs alongside site | Separate server | Same port |
| Server technology | werkzeug (WSGI) | uvicorn (ASGI) |