MediaCleaner Pro’s REST API ships with no authentication layer. It is intentionally designed as a localhost-only interface: the binary, the embedded frontend, and the API all run on the same machine, so no credentials are required to use any endpoint. Every feature — starting jobs, streaming progress, browsing directories — is available to any process that can reach the server.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xcoder-es/media-cleaner-pro/llms.txt
Use this file to discover all available pages before exploring further.
The default binding address is
SERVER_HOST=127.0.0.1. A 127.0.0.1 listener is only reachable from the local machine itself. Other devices on your network — even on the same Wi-Fi — cannot connect to it. This is the safest and recommended configuration for personal use.Accessing the API from Another Machine
If you want to reach MediaCleaner Pro from a different device (for example, a tablet used as a remote control, or another workstation on your LAN), you can bind on all network interfaces by changingSERVER_HOST in the .env file:
http://192.168.1.50:8080).
Reverse Proxy with Basic Authentication (nginx)
A lightweight way to add password protection when exposing the API on a network is to front it with nginx and HTTP Basic Auth. The following configuration listens on HTTPS and requires a valid username/password before forwarding the request to MediaCleaner Pro:127.0.0.1:8080 (not reachable from the network directly), and all external access goes through nginx, which enforces the password check.
CORS Policy
The API enables CORS via the tower-http CORS layer. This is required so that the embedded frontend — which is served from the same origin as the API — can make requests in the browser without being blocked. The CORS policy is permissive by default. If you build a custom frontend running on a different origin or port (for example, a development server onhttp://localhost:5173), cross-origin requests to http://127.0.0.1:8080 will be allowed. No additional configuration is needed on the server side for local development workflows.
Supabase and Future Cloud Features
Themc-core domain model includes fields for UserId, TeamId, and SyncStatus, and the binary reads optional SUPABASE_URL / SUPABASE_KEY environment variables for future cloud and team-sync features. When those variables are configured, interactions with Supabase (remote job records, team collaboration) will use Supabase’s standard JWT-based authentication.
However, the local REST API itself remains unauthenticated regardless of whether Supabase is configured. The Supabase credentials control only the optional cloud sync layer; they do not add any authentication requirement to the http://127.0.0.1:8080 endpoints described in this documentation.