feat(core): add server write support