--- a/src/mediaserver/cdplugins/plgwithslave.hxx
+++ b/src/mediaserver/cdplugins/plgwithslave.hxx
@@ -21,6 +21,8 @@
 
 #include "cdplugin.hxx"
 #include "libupnpp/device/vdir.hxx"
+
+class CmdTalk;
 
 // Interface to a content plugin implemented through a Python subprocess,
 // e.g. the Tidal, Qobuz and Gmusic interfaces.
@@ -48,7 +50,13 @@
 
     // used for plugins which should start initialization asap
     bool startInit();
-    
+
+    // Used by ohcredentials to start a plugin instance
+    static bool startPluginCmd(CmdTalk& cmd, const std::string& appname,
+                               const std::string& host, unsigned int port,
+                               const std::string& pathprefix);
+    static bool maybeStartMHD(CDPluginServices *cdsrv);
+
     class Internal;
 private:
     Internal *m;