@embody/gateway
v0.1.0
Published
Gateway, app registry, authorization, and dispatch control plane for Embody.
Readme
@embody/gateway
Registry, authentication, authorization, dispatch, health, audit, limits, MCP endpoints, and optional durable relay for the Embody control plane.
npm install @embody/gatewayRequires Node.js 22 or 24 and uses ESM.
createGateway(options) creates a Fastify application. Its required collaborators are explicit: registry, authentication providers, signing credentials, audit sink, and network policy. Registered application hosts then become available through:
/api/catalogfor CLI discovery./api/executeand/api/execute/streamfor dispatch./mcpand/mcp/:appIdfor Model Context Protocol clients.- Registration and heartbeat routes for application hosts.
For a deployable environment-driven entrypoint, use the reference implementation in apps/gateway. Production deployments must use TLS, rotated secrets, explicit endpoint allowlists, durable audit storage, and appropriate rate limits.
See the gateway guide.
Licensed under the Elastic License 2.0.
