SSpark ERP

Developers

Build on the Spark ERP platform.

Build applications, plugins, integrations, AI agents and workflows against a deployed Spark ERP tenant — with the same CLI, MCP server and offline schema/example bundle used to build every module shipped on this platform.

5-minute quick start

This is the real, current quick start from the @erp/plugin-sdk package README — not a placeholder command set.

Install
npm install -g @erp/plugin-sdk

@erp/plugin-sdk has not yet been published to a public npm registry (no registry has been chosen or targeted yet). Today, build it from source inside the platform repo: `cd packages/erp-plugin-sdk && npm pack && npm install -g erp-plugin-sdk-0.1.0.tgz`. The command above is the package's own documented install step for once a registry is live.

Quickstart
erp --version
erp schema pull page            # offline — reads the bundled snapshot
erp login                       # OAuth 2.0 device authorization grant (RFC 8628)
erp env sync                    # pulls the latest schemas/docs/blocks/live entity+theme
                                 # names from your logged-in env's GET /api/v1/dev/bundle
erp mcp install                 # wires .mcp.json in the current dir to this install's
                                 # erp-mcp-server (Claude Code / any MCP client)
erp docs serve                  # local offline dev-preview of the full doc set

For CI, set `ERP_TOKEN=<access token>` instead of `erp login` — every networked command honors it.

What you can build

Ready to build?

Install the CLI, log in to a tenant, and pull the first schema — everything else in the docs builds on this same quick start.