Following advances in robotic rehabilitation, there have been many efforts to investigate the recovery process and effectiveness of robotic rehabilitation procedures through monitoring the activation status of the brain. This work presents the development of a two degree-of-freedom (DoF) magnetic resonance (MR)-compatible hand device that can perform robotic rehabilitation procedures inside an fMRI scanner. The device is capable of providing real-time monitoring of the joint angle, angular velocity, and joint force produced by the metacarpophalangeal (MCP) and proximal interphalangeal (PIP) joints of four fingers. For force measurement, a custom reflective optical force sensor was developed and characterized in terms of accuracy error, hysteresis, and repeatability in the MR environment. The proposed device consists of two non-magnetic ultrasonic motors to provide assistive and resistive forces to the MCP and PIP joints. With actuation and sensing capabilities, both non-voluntary–passive movements and active–voluntary movements can be implemented. The MR compatibility of the device was verified via the analysis of the signal-to-noise ratio (SNR) of MR images of phantoms. SNR drops of 0.25, 2.94, and 11.82% were observed when the device was present but not activated, when only the custom force sensor was activated, and when both the custom force sensor and actuators were activated, respectively.