Jspreadsheet Server Documentation
ULTIMATE
Jspreadsheet Server is included in the Ultimate plan. See pricing.
Jspreadsheet Server is the collaborative backend for Jspreadsheet. It keeps one live spreadsheet per document, applies every change as an ordered operation, resolves conflicts at cell level, and persists everything through your own storage, while a complete REST API exposes the same documents to your backend systems.
Guide
- Why Jspreadsheet Server: what a collaborative spreadsheet backend takes, and what the server covers
- Use cases: reference architectures for common products
- Getting started: install, run a minimal server and connect a client
- Architecture: how documents, operations and revisions fit together
- Sync & conflicts: real-time synchronization and conflict resolution
- Scaling: partition documents across nodes
- Deployment: run the server in production
- Express integration: mount the server in an existing Express app
- Nginx: reverse proxy and WebSocket configuration
- Authentication: the three hooks that guard access
- Login & security: JWTs, sessions and security practices
- Sharing & privacy: invitations and document permissions
- Extensions: extend the server with your own features
- Server API extension: expose custom endpoints
- Images & media: uploads rewritten to bucket URLs
- Snapshots: point-in-time backups to S3
- Comments: threaded cell comments
- Formify: forms backed by spreadsheets
- Excel-like application: the intrasheets library and a reference application
- Troubleshooting: common problems and fixes
- FAQ: frequently asked questions
AI
The server owns the live document, so AI works on the same spreadsheet your users are editing, under the same permissions, and its changes reach everyone in real time.
- AI overview: the AI capabilities and how they compare
- AI agent: a streamed chat that edits documents with spreadsheet tools, with quotas and usage hooks
- Usage & billing: track tokens, enforce budgets, report to billing and monitoring
- MCP server: Claude Code, Claude Desktop and other AI clients on your documents
- PROMPT formula: ask a model from a cell, evaluated on the server
Adapters & Persistence
The server persists per-operation, not per-document. Use a ready-made adapter or implement five async handlers to plug in any storage you already run.
Technical Reference
The exact contracts behind the implementation.
REST API
Every spreadsheet is an HTTP resource. Read values, write cells, insert rows and manage worksheets from any language.