Gateway
onprest-gateway is the public side of Onprest. It authenticates API keys, checks which capabilities each key may call, serves REST, MCP, OpenAPI, and /healthz, and accepts the agent’s outbound connection. It is configured entirely through environment variables and keeps no state on disk, so restarting it is safe.
- Configuration: required settings, public URLs, request limits, CORS
- API Keys: creating keys and limiting them to capabilities
- Reverse Proxy: routes and client IP detection behind a proxy or load balancer
- Logs: the request and control events written to stdout