CLI
fabric integrations — list, run, generate, ui.
The fabric CLI ships under @fabricorg/cli. Install globally or use via pnpm dlx fabric.
pnpm add -g @fabricorg/cli
fabric integrations --helpCommands
fabric integrations list # Installed plugins
fabric integrations list-operations # Endpoints across plugins
[--plugin <name>] # Filter to one plugin
fabric integrations auth # Run OAuth flow (Phase 5.2)
--plugin <name>
[--tenant <id>]
fabric integrations setup # Configure credentials (Phase 5.2)
--plugin <name>
[--tenant <id>]
[--backfill]
fabric integrations script # Run JS with `fabric` in scope
--code '<js>'
fabric integrations ui # Open Fabric Studio (port 4317)
fabric integrations mcp # Start the MCP server (stdio)
fabric integrations generate <name> # Scaffold a new plugin
[--out <path>]Generating a plugin
fabric integrations generate cal-comWrites packages/integrations-v2/src/plugins/cal-com/index.ts with a working FabricPlugin factory:
- typed Context with optional
fetcheroverride - one demo endpoint (
demo.get) - exhaustive
endpointMetatyped viaRequiredPluginEndpointMeta - factory export ready to add to the barrel
Replace the demo endpoint, export from src/plugins/index.ts, optionally add to BaseProviders in src/constants/index.ts for type-level discoverability, and you're done.