ArduSim provides API level simulation of an Arduino. Arduino sketches can be run and debugged on PC with no modification.
ArduGate is a sub-project of ArduSim. The agent sketch is shared.
It'd be awesome if you came out with a GNU/Linux server version. Update: Thanks for releasing the GNU/Linux version. I'll definitely give it a try.