Skip to content

Examples

The repository includes runnable examples for local deployment modes. Each example has a README, package manifest, .env.example, source entrypoint, and smoke test.

Run all examples:

bash
pnpm run examples:smoke

PowerShell:

powershell
pnpm run examples:smoke

Deployment Modes

ModeSourceSmoke command
Authenticated serverexamples/authenticated-serverpnpm --dir examples/authenticated-server run smoke
Streamingexamples/streamingpnpm --dir examples/streaming run smoke
Push notificationsexamples/push-notificationspnpm --dir examples/push-notifications run smoke
Registry tenancyexamples/registry-tenancypnpm --dir examples/registry-tenancy run smoke
WebSocketexamples/websocketpnpm --dir examples/websocket run smoke
gRPCexamples/grpcpnpm --dir examples/grpc run smoke
MCP bridgeexamples/mcp-bridgepnpm --dir examples/mcp-bridge run smoke
Adapter templateexamples/adapter-templatepnpm --dir examples/adapter-template run smoke

The root smoke command validates the required example file layout, builds the workspace, and runs each compiled smoke test with Node's test runner.

Released under the Apache-2.0 License.