You should look into the support that KeePass offers for configuration file management. KeePassRPC depends upon that for it’s configuration so if you can’t get the behaviour you need from the standard configuration options described in KeePassRPC port you can look at how others have managed KeePass configurations across terminal servers.