Ports and endpoints
| Service | Container port | Local Compose (127.0.0.1) |
Serves |
|---|---|---|---|
| Gateway, HTTP | 3000 |
3001 |
/mcp, /proxy/{source_id}/..., /health, /ready, /stats |
| Gateway, PostgreSQL | 5432 |
5434 |
the PostgreSQL wire listener |
| Admin | 9090 |
9090 |
the console, /api/..., /auth/..., /health, /ready |
| PostgreSQL (InterLock’s own) | 5432 |
5433 |
the control database |
| Redis | 6379 |
6380 |
cache, sessions, coordination |
The worker listens on nothing.
Health
Section titled “Health”GET /healthanswers200while the process is up.GET /readyanswers200only when every dependency check passes (database, migrations at head, Redis, registry, audit buffer, cache invalidation), with each check in the body; otherwise503. Use it for readiness probes.GET /statson the gateway reports cache and connection statistics. It needs authentication unlessobservability.public_stats_enabledis set.
MCP routes
Section titled “MCP routes”POST /mcp is the V1 endpoint. POST /mcp/tools/list, POST /mcp/tools/call
and GET /mcp/sse are the legacy routes, deprecated with the agentgate_*
tool names.