How to configure MySQL master master replication but use only one server for writing?
To use only one server for writing you point your application at only one server. You can do this explicitly in your application's database connection configuration. Or you can have a load balancer only forward connections to one node. 

If you want read-write splitting either you have to code that into your application or you need an advanced load balancer like MaxScale that is fully transaction aware.