The IScriptingContext::get_Server method retrieves a pointer to the IServer interface of the Server object.
HRESULT get_Server( Iserver ** ppServer //pointer to an IServer interface pointer );
You can use the IServer interface to access the methods exposed by the Server object.