Projects / AI & agents
Revanta
AI-native CRM with a 58-tool MCP server
- Live site
- Revanta.io
- Built with
- AI lead scoring, MCP, Automation workflows
Revanta is an AI-native CRM that Osama Al Asasfeh designed, built and runs end to end. Its core is a 58-tool Model Context Protocol (MCP) server, so AI assistants such as Claude, or custom agents, can work the CRM directly under the user's own permissions. It scores leads with a transparent rubric, drafts outreach, and runs automation workflows.
- MCP tools an AI assistant can call
- 58
- real contacts managed in production
- 1,280
- to AI-score all 1,280 leads in one job
- ~2.5 min
- from commit to production
- ~30 s
The problem
Most CRMs bolt an AI chat box onto a database built for humans clicking forms. The goal was the reverse: a CRM an AI agent can operate safely, where every action an assistant takes goes through the same permission rules as the person it acts for.
My role. Sole designer, engineer and operator: product, frontend, backend, AI features, infrastructure and the marketing site.
What I built
- A full sales CRM: contacts, a kanban pipeline, multi-channel outreach and automation workflows.
- A 58-tool MCP server that exposes the CRM to any MCP-capable assistant (Claude Desktop, the Anthropic API, custom agents) under the signed-in user's auth context.
- AI lead scoring with a transparent four-bucket rubric based on real signals, so every score can be explained.
- AI-drafted outreach and long-running AI jobs that stream their progress to the browser in real time.
- A marketing site with complete SEO and GEO: Organization, SoftwareApplication and FAQ schema, llms.txt, sitemap and an AI-crawler allow-list.
How it works
- 01Claude / custom agent
- 02MCP server · 58 tools
- 03User auth + Postgres RLS
- 04CRM data · jobs · workflows
- Frontend: React 18, Vite, TypeScript, Tailwind and shadcn/ui.
- Backend: a self-hosted Supabase stack on a private server (Postgres 15, auth, REST, storage, realtime and an edge-function runtime), every port bound to localhost behind NGINX.
- Row-level security on every table, so tenant isolation is enforced by the database, not the app.
- 9 edge functions on Deno, including the MCP server, webhooks with retries, and an automation runner on a 5-minute schedule.
- OpenAI gpt-4o-mini for scoring and drafting, with self-resuming batch jobs.
- Nightly database backups and a deploy pipeline that ships to production in about 30 seconds.
- ›score my new leads and draft follow-ups
- →mcp.tools/list
- 58 tools · auth: signed-in user · RLS on
- →crm.contacts.search { status: "new" }
- 1,280 contacts
- →ai.score_leads { rubric: "4-bucket" }
- streaming ▸ 12% … 48% … 91% … 100%
- ✓1,280 leads scored in ~2.5 min
- →outreach.draft { segment: "hot" }
- ✓drafts queued for human review
- ›