You can import the Component definition through the REST API
Read Chapter 3 - Importing your Custom Component in the Power User cert guide
To save you time excerpt from manual:
1. Enter http://da-hostname:8581/typecatalog/components as the URL.
2. Select POST on the Method tab.
3. Copy and paste your custom component XML into the Body tab.
4. Click the Go button next to the URL field.
Your custom component is imported. If no errors occur, the Status field in the HTTP Response section displays:
HTTP/1.1 200 OK
Note: Any other return code indicates that an error occurred while updating your custom component. Fix the error and retry updating the component by doing another POST.