I would agree with the master cylinder, there is a big spring inside the master cylinder that is supposed to push the rod back.
The spring could be bad, or the piston in the master cylinder could be rusted..