MCP's pasta port mapping maps host:randomport to container:routeport.
The app must listen on the route's port (443) inside the container,
configured via HTTP_PORT in kls.conf.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The MCP agent assigns its own host port and sets $PORT. The app must
listen on $PORT for mc-proxy to reach it. Explicit Podman port mappings
in the service definition are ignored by the agent.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The MCP agent sets $PORT from the route, but the Podman port mapping
expects the container to listen on the config-defined port (3030).
Remove $PORT override to avoid the mismatch. Also restore ports,
network, and user fields in the service definition.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch from PostgreSQL to SQLite (modernc.org/sqlite, pure Go) for
simpler deployment on the MCP platform. Fix URL normalization to
preserve query parameters so sites like YouTube deduplicate correctly.
Add Dockerfile, Makefile, and MCP service definition. Add pg2sqlite
migration tool. Support $PORT env var for MCP port assignment.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>