Hardware acceleration of probabilistic computing has recently attracted significant attention in the slowing down of Moore's law. A randomly fluctuating bit called as p-bit constitutes a fundamental building block for this type of physics-inspired computing scheme, which can be efficiently built out of emerging devices. Here, we report a probabilistic computing set-up, where random numbers are sampled from stochastic magnetic tunnel junctions with in-plane magnetic anisotropy. Although the sampled data have largely bipolar-like probability distributions compared to the ideally uniform ones, the results show a reasonable performance in a standard simulated annealing process on Boolean satisfiability problems up to 100 variables. The systematic simulations suggest the importance of probability distribution where some additional intermediate states help to increase the performance.