The open-source CRM
your AI agents can work in.
Sales, email, invoicing and projects in one app. Ships with an MCP server,
runs on your own server, MIT licensed.

Everything a small sales team runs on
One app instead of a CRM, a mail tool, an invoicing tool and a task board that never talk to each other.
CRM
Accounts, contacts, leads, opportunities and contracts, with products and line items.
Activities
Notes, calls, emails, meetings and tasks, linked to any record and shown in one feed.
Audit log
Field-level history on every record, soft delete, and a global audit log for admins.
Invoicing
Invoices, credit notes and proformas. Tax rates, series, multi-currency, payments, PDF and email.
Email client
IMAP/SMTP mailboxes per user. Mail is synced and linked to the right contacts and accounts.
Calendar
Google Calendar and Calendly. Meetings with known contacts become activities.
Campaigns
Email campaigns with steps, templates, react.email layouts, scheduling and stats.
Targets
Prospect lists for outbound, with CSV and Excel export and AI enrichment.
Projects
Boards, sections, tasks, comments and watchers for the work after the deal.
Documents
Files on S3-compatible storage, linked to accounts, contacts, deals and tasks.
Unified search
Keyword and semantic search across every module, plus Find Similar on each record.
Four languages
English, Czech, German and Ukrainian out of the box.
Built for people and agents
Connect Claude, Cursor or your own agent with one token. It reads and updates the same records your team sees.
MCP server, built in
100+ tools across CRM, campaigns, projects, documents and reports. Agents get the same role-scoped access as the user whose token they hold.
AI enrichment
An agent in an E2B sandbox opens a real browser, researches the company, fills in empty fields and finds C-level contacts.
Semantic search
Records are embedded into pgvector in the background, so search also finds records that use different words.
Plugin SDK
Typed plugins add tabs, panels, pages, rules and scheduled jobs. Enable them per instance in the admin panel.
{
"mcpServers": {
"nextcrm": {
"type": "http",
"url": "https://your-nextcrm.com/api/mcp/mcp",
"headers": {
"Authorization": "Bearer nxtc__your_token"
}
}
}
}Run it on your own server
One Docker Compose file starts the app with PostgreSQL, MinIO storage and the Inngest job runner. Migrations and the admin user are set up on first start. A Coolify compose file is included too.
Self-hosting guide→git clone https://github.com/pdovhomilja/nextcrm-app.git
cd nextcrm-app
cp .env.docker .env # set ADMIN_EMAIL
docker compose up -dThen open http://localhost:3000- Next.js 16
- React 19
- TypeScript
- PostgreSQL 17 + pgvector
- Prisma 7
- Better Auth
- Inngest
- shadcn/ui
- Tailwind CSS
- Resend + React Email
- Vercel AI SDK



Try the demo
Sign in to the demo with Google or an email address. MIT licensed, free to self-host.