Get site config values

Using ERP Next server script, is there anyway I can access the value of a key stored in site-config. My site is hosted in frappe cloud.

try:

frappe.conf.developer_mode

It works in Python files, but I don’t know about server scripts.