We propose an implementation of a quantum router for microwave photons in a superconducting qubit architecture consisting of a transmon qubit, SQUIDs and a nonlinear capacitor. We model and analyze the dynamics of operation of the quantum switch using quantum Langevin equations in a scattering approach and compute the photon reflection and transmission probabilities. For parameters corresponding to up-to-date experimental devices we predict successful operation of the router with probabilities above 94%.