Can I initiate connection to appium server without app launching?

Subj

And I want to open app and close, when it will be needed.

Regards, Monkey.

Yes. Check out Appium’s descriptions of capabilities for more details: http://appium.io/slate/en/master/?ruby#launch