CTX in koa stands for Context. It is used for encapsulating node’s request and response object into a single object that writes web app methods.