Let me explain the general picture. Let $R,S$ be two rings. The cocontinuous functors $$\mathsf{Mod}(S) \longrightarrow \mathsf{Mod}(R)$$ are given by $P \otimes_R -$ for some $(R,S)$-bimodule $P$ - this the Eilenberg-Watts Theorem. It follows that pairs of pseudoinverse functors
$$\mathsf{Mod}(R) \longleftrightarrow \mathsf{Mod}(S)$$
are given by pairs $(P,Q)$, where $P$ is a $(R,S)$-bimodule and $Q$ is a $(S,R)$-bimodule such that $P \otimes_S Q \cong R$ as $(R,R)$-bimodules and $Q \otimes_R P \cong S$ as $(S,S)$-bimodules. These pairs (together with the isomorphisms actually) are called Morita contexts, since they classify Morita equivalences between $R$ and $S$. If you want to know more details, you can find them for instance in Lam's book Lectures on modules and rings in the chapter on Morita theory. There you can also find some details for the example below.
In the standard example $S=M_n(R)$, a possible choice is the $(R,M_n(R))$-bimodule $R^{1 \times n}=R^n$ (row vectors) and likewise the $(M_n(R),R)$-bimodule $R^{n \times 1}=R^n$ (column vectors). One has to check that $R^{n \times 1} \otimes_R R^{1 \times n} \cong M_n(R)$ as $(M_n(R),M_n(R))$-bimodules and $R^{1 \times n} \otimes_{M_n(R)} R^{n \times 1} \cong R$ as $(R,R)$-bimodules.
The corresponding pseudoinverse functors are
$$\mathsf{Mod}(R) \to \mathsf{Mod}(M_n(R)),~X \mapsto R^{n \times 1} \otimes_R X = X^{n \times 1}$$
and
$$\mathsf{Mod}(M_n(R)) \to \mathsf{Mod}(R),~ X \mapsto R^{1 \times n} \otimes_{M_n(R)} X \cong E_{11} X.$$