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.
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.
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 setFor CI, set `ERP_TOKEN=<access token>` instead of `erp login` — every networked command honors it.
What you can build
Plugins
The unit applications ship as — an entity model, pages, workflows and rules packaged with `erp plugin create` / `erp plugin build` / `erp plugin publish`.
Applications
A tenant-facing application is one or more plugins plus the menus, pages and permissions that tie them together — built and iterated the same way.
Integrations
Connector definitions against the real ExternalProviderDefinitionController — validate, create and test a connector row from the CLI.
AI Agents
The MCP server (`erp-mcp-server`) exposes schema, example and platform-catalog lookups to any MCP client, including Claude Code, for AI-assisted authoring.
Workflows
Author and validate workflow definitions locally (`erp workflow validate`), then inspect live instances, tasks and history against a real tenant.
UI
Compose pages from the real block catalog (`erp blocks list`), or drop into React with the 7 Code Plugin SDK packages for a custom component.
Where to go next
Documentation
The real Diátaxis doc set — Getting Started, Concepts, Guides, Recipes, Reference, Tutorial.
API Reference
REST API shape, authentication and real example endpoints.
SDKs
The CLI/MCP server plus the 7 Code Plugin SDK packages.
CLI
Every real `erp` subcommand, grouped by task.
ERP Studio
The no-code authoring environment behind the same pages and workflows the CLI builds.
Marketplace
Where built applications, plugins and packs get published and installed.
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.