www.pagespace.ai • Desktop Apps • Self-Host • Discord
PageSpace turns your projects into intelligent workspaces where AI agents collaborate alongside your team with real tools to create, edit, and organize content.
In most tools, you chat with AI about your work. In PageSpace, AI works directly in your workspace:
- AI with real tools: Your AI can create documents, organize projects, edit content - not just answer questions
- External AI integration: Connect Claude Desktop or Cursor to directly manipulate your workspace via MCP
- Team + AI collaboration: Multiple people and AIs working on the same pages simultaneously
- 100+ AI models: From free (Qwen, DeepSeek) to premium (Claude Opus 4.5, GPT-5, Gemini 3) - you choose
- Zero-trust direction (cloud): Opaque tokens, per-event authorization, and tamper-evident audit trails
- Your workspace understands context: AI intelligence flows through your project hierarchy
You: "Create a complete documentation site for our API"
AI: *Creates 24 nested documents with actual content in your workspace*
Team Member A: "Can you analyze our Q3 metrics?"
AI: *Reads relevant documents, creates analysis page*
Team Member B: *Sees the conversation and analysis in real-time*
# Install MCP server
npm install -g pagespace-mcp@latest
# In Claude Desktop
Claude: "Update all meeting notes in my PageSpace"
*Claude directly edits documents at www.pagespace.ai*The fastest way to get started - no setup required:
- Visit www.pagespace.ai
- Sign up for free
- Start building with AI immediately
Cloud features: Automatic updates, zero maintenance, built-in AI models, team collaboration, and built-in security controls.
Native desktop apps that connect to your PageSpace cloud workspace:
macOS (Signed & Notarized)
- Download DMG - Universal (Intel & Apple Silicon)
- Download ZIP - Universal archive
Windows
- Download EXE - Current Windows release artifact
Linux
- Download AppImage - Universal (no installation)
- Download DEB - Debian/Ubuntu
- Download RPM - Fedora/RHEL
Features:
- Native desktop integration with system tray
- Minimize to tray, deep linking support
- Automatic updates (macOS only - signed builds)
- Works with your cloud PageSpace instance
- Local MCP server support (desktop-only): Run MCP servers on your own machine, using the same local trust-boundary model as Claude Desktop (Context7, Figma, Notion, etc.)
Build from source:
git clone https://github.com/2witstudios/PageSpace.git
cd PageSpace
pnpm install
pnpm build:desktop
pnpm package:desktopSee apps/desktop/README.md for detailed instructions.
For complete data sovereignty and custom deployments:
# Clone and setup
git clone https://github.com/2witstudios/PageSpace.git
cd PageSpace
pnpm install
# Configure environment
cp .env.example .env
cp apps/web/.env.example apps/web/.env
# Add your ENCRYPTION_KEY to .env (use: openssl rand -base64 32)
# Launch database
docker-compose up -d
# Run database migrations
pnpm db:generate
pnpm db:migrate
# Start development server
pnpm dev
# Visit http://localhost:3000When to self-host: Air-gapped environments, compliance requirements, or when you need to run local AI models exclusively.
Cloud-first reality: Local/self-host setup is more advanced than earlier versions because cloud integrations (for example Stripe billing and OAuth provider flows) are now first-class parts of the platform.
PageSpace includes an MCP server that lets Claude Desktop and other AI tools directly manipulate your workspace:
-
Install the MCP server
npm install -g pagespace-mcp@latest
-
Get your token from www.pagespace.ai/dashboard/settings/mcp
-
Configure Claude Desktop (add to MCP settings):
{ "mcpServers": { "pagespace": { "command": "npx", "args": ["-y", "pagespace-mcp@latest"], "env": { "PAGESPACE_API_URL": "https://www.pagespace.ai", "PAGESPACE_AUTH_TOKEN": "your-mcp-token" } } } } -
Claude can now work in your PageSpace!
- "Show me my drives and pages"
- "Create a new project structure"
- "Edit line 42 in the requirements document"
- 33 workspace tools for AI to manipulate content directly
- Three AI personalities: Partner (collaborative), Planner (strategic), Writer (execution-focused)
- Tool permissions: Control what each AI can do in your workspace
- MCP protocol support: Connect external AI tools like Claude Desktop and Cursor
Each item in a drive is a typed page with a specific role:
-
Document: Rich text editor that also supports markdown editing workflows
-
Code: Dedicated Monaco code editor, separate from document editing
-
Sheet: Spreadsheet page with formulas and structured data workflows
-
Canvas: Custom HTML/CSS canvas page for visual layouts
-
Task List: Task management page for statuses, assignees, and planning
-
Channel: Team conversation page for shared messaging in a drive
-
AI Chat: Tool-enabled AI conversation page with persistent context
-
File: Uploaded file page for preview, download, and file-to-page linking
-
Folder: Hierarchical container page for organizing everything else
-
Hierarchical context flows through your workspace
-
Real-time collaboration is built into collaborative page types
- Built-in models via PageSpace (no API key needed)
- Bring your own key: OpenAI, Anthropic, Google, OpenRouter, xAI, and more
- 100+ models including Claude Opus 4.5, GPT-5, Gemini 3, Grok 4, and open-source alternatives
- Local models: Connect Ollama or LM Studio for air-gapped deployments
- Unified inbox: DMs and channels in one view across dashboard and drives
- Channel collaboration: Agent mentions, read status tracking, unread indicators, and attachments
- Conversation controls: Message edit/delete support with richer tool-call rendering
- Task operations: Custom status categories, multiple assignees, and mobile-friendly task views
- Native calendar views: Month, week, day, and agenda layouts for personal or drive contexts
- Google Calendar sync: OAuth connection, two-way sync, push updates, and attendee mapping
- Calendar AI tools: Create, update, RSVP, and manage events from natural-language prompts
- Documents: Built as rich text pages that also support markdown-based authoring
- Separate editing surfaces: Code, Sheet, and Canvas each use dedicated editors
- Upload your own files: Any uploaded file becomes a first-class FILE page in the drive
- Export & formatting: Markdown export/download, improved print output, and editor theme controls
- Voice mode: Speech-to-text + text-to-speech chat workflows
- Desktop-safe media permissions: Secure microphone/media handling in Electron
- Vision input: Image attachments for multimodal AI conversations
PageSpace is actively moving toward a zero-trust architecture for cloud deployment. One explicit exception is desktop-local MCP server hosting, which runs inside the user's local trust boundary (same model as Claude Desktop). Remaining non-zero-trust hardening work is tracked in GitHub issues (for example Zero Trust P1).
- Opaque session tokens: Server-validated tokens with SHA-256 hash-only storage - raw tokens never persisted
- Per-event authorization: Every sensitive operation re-validates permissions against the database
- Instant token revocation: Token versioning enables immediate session invalidation across all devices
- Device fingerprinting: Trust scoring detects token theft via IP/User-Agent anomalies
- Tamper-evident audit trails: Hash-chained security logs for compliance and forensics
- Scoped external access: MCP tokens enforce drive/page scope with strict auth validation
- Defense-in-depth: SameSite cookies + CSRF tokens + origin validation + rate limiting
- Comprehensive security headers: CSP with nonces, HSTS, X-Frame-Options, and more
Security architecture details →
PageSpace is a cloud-native monorepo designed for scalability and security:
apps/
├── web/ # Next.js 15 App Router (main application)
├── realtime/ # Socket.IO server (real-time collaboration)
├── processor/ # File processing service (uploads, optimization)
├── desktop/ # Electron desktop wrapper
├── ios/ # Capacitor iOS app
├── android/ # Capacitor Android app
└── marketing/ # Marketing site
packages/
├── db/ # Drizzle ORM + PostgreSQL schema
└── lib/ # Shared auth, permissions, utilities
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS 4, shadcn/ui
- Backend: Next.js API routes, PostgreSQL, Drizzle ORM, Redis
- AI: Vercel AI SDK, 10+ provider integrations
- Real-time: Socket.IO with Redis pub/sub for horizontal scaling
- Desktop/Mobile: Electron + Capacitor wrappers (macOS, Windows, Linux, iOS, Android)
- Auth: Opaque session tokens, OAuth (Google, Apple), MCP tokens
- Build: pnpm workspaces, Turbo, Docker
- Database: Any PostgreSQL (Neon, Supabase, RDS, or self-hosted)
- Cache: Redis for sessions, rate limiting, and distributed state
- Storage: Content-addressed file storage with optimization pipeline
- Deployment: Docker containers, CI/CD via GitHub Actions
PageSpace provides comprehensive data protection so you never lose work:
- 30-day automatic versioning: Every save creates a recoverable version
- Pin important versions: Pinned versions never expire
- Version comparison: See exactly what changed between versions
- One-click restore: Restore any previous version instantly
- Individual activity rollback: Undo any single change with conflict detection
- Bulk rollback: Revert all changes from a specific point forward
- AI conversation undo: Undo AI messages and optionally all content changes they made
- Atomic transactions: Rollbacks are all-or-nothing for consistency
- Soft delete: Deleted pages and drives go to trash first
- Restore anytime: Recover trashed items with full hierarchy intact
- Recursive restoration: Restoring a page restores its children too
- Full drive snapshots: Backup entire drives including pages, permissions, members, and files
- Manual or scheduled: Create backups on-demand or automatically
- Complete state capture: Restore drives to exact previous states
- Your data stays yours: Export anytime, no lock-in
- Encrypted at rest: All sensitive data encrypted in the database
- API key security: Your provider keys are encrypted and never logged
- Complete audit trail: Every operation logged with who/what/when for compliance
- Retention lifecycle controls: Automated cleanup for sessions, logs, backups, versions, and tokens
- GDPR support: Self-service data export and deletion lifecycle tooling
- Self-host option: Run entirely on your infrastructure for complete sovereignty
- Living Documentation: Docs that update themselves based on project changes
- Team Knowledge Base: Where your team's collective intelligence lives and grows
- Unified Team Comms: DMs + channels + AI in one inbox workflow
- Planning & Scheduling: Tasks and calendars with AI-assisted event operations
- Project Management: AI handles routine updates while your team focuses on decisions
- Creative Workflows: Brainstorm with AI that can actually implement ideas
- Discord: Join our community for support and discussions
- Documentation: Deep dive into architecture and guides
- GitHub Issues: Report bugs and request features
We welcome contributions! See our Contributing Guide for details.
PageSpace is built in public. Our roadmap, documentation, and development all happen in the open.
CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International) - see LICENSE for details.
This means you can use, modify, and share PageSpace for non-commercial purposes.
Built by people who believe AI should work with you, not just talk to you.
