Claude Code Tools

@revealui/mcp

official

Model Context Protocol framework — MCP server hypervisor, adapter pattern, tool discovery, and adapters for Stripe, Supabase, and Vercel.

Version
0.4.0
Last Updated
2026-05-16
Source
official

RevealUI

Agentic business runtime.

Users. Content. Products. Payments. Intelligence. Five primitives for humans and agents, one deployment, one runtime.

License: MIT React 19 TypeScript Node.js 24

Documentation | Quick Start | Pro | Contributing


RevealUI is an open-source runtime that ships the business logic layer every software product needs: auth, content, products, billing, and AI agents. Pre-wired and development-hardened. You start on day one with a running business. Your agents start on day one with a runtime they can operate on. Same permissions, same API, same data model.

What you get on day one

npx create-revealui my-business
cd my-business
pnpm dev

Open http://localhost:4000/admin.

You have:

  • User accounts: sign up, sign in, password reset, sessions, RBAC, rate limiting, brute force protection
  • Content management: define collections in TypeScript, get a full REST API, admin UI, and MCP tools instantly
  • Billing: Stripe checkout, subscriptions, trials, webhooks, grace periods, and a billing portal
  • Admin dashboard: manage users, content, billing, and settings out of the box
  • 59 UI components: built with Tailwind CSS v4, zero external UI dependencies
  • 13 MCP servers: agents discover and use your business data through the same API humans use
  • Type-safe throughout: Zod schemas shared between client, server, database, and agent tools

No assembly required. Define your data once. Humans manage it through the dashboard, agents operate on it through MCP. Same permissions, same audit trail.

The five primitives

PrimitiveFor youFor your agents
UsersSession auth, RBAC + ABAC, rate limiting, GDPR complianceSame RBAC governs agent access. Every action auditable.
ContentCollections, rich text (Lexical), media, draft/live, REST APICollections auto-exposed as MCP tools. No integration step.
ProductsProduct catalog, pricing tiers, usage trackingFeature gates control which agent capabilities unlock.
PaymentsStripe checkout, subscriptions, webhooks, billing portalSame Stripe primitives, available to agents.
IntelligenceAI agents, open-model inference, task history (Pro)A2A protocol, CRDT memory, 13 MCP servers.

Design principles

Six principles that give you a tested starting point for every architectural decision. Not the only way, a way that works. Evolve it as you grow:

PrincipleWhat it means
JustifiableEvery default earns its place. No magic, no hidden complexity, no decisions you can’t explain to your team.
OrthogonalClean separation of concerns across 26 packages. Use what you need, replace what you don’t. Zero circular dependencies.
SovereignYour infrastructure, your data, your rules. Deploy anywhere. Fork anything. No vendor holds your business hostage.
HermeticAuth doesn’t leak into billing. Content doesn’t tangle with payments. Sealed boundaries, clean contracts between every layer.
UnifiedOne Zod schema defines the truth. Types, validation, and API flow from database to server to UI with zero drift.
AdaptiveAI agents, MCP servers, and workflows are built into the foundation. Open-model inference, sovereign by design, evolving with your business.

RevFleet

RevealUI is the runtime at the center of RevFleet — the RevealUI Studio product family. Companion products extend specific parts of the lifecycle:

ProductPurposeLicense
RevealUIAgentic business runtime (this repo)MIT + Fair Source
RevVaultAge-encrypted secret vault (Rust CLI + desktop)MIT + Pro
RevDevAI engineering harness — multi-agent coordinationMIT (early)
RevConEditor config sync (Zed, VS Code, Cursor, Antigravity)MIT
RevKitPortable WSL dev environment toolkitPro
RevealCoinSolana Token-2022 (shelved 2026-05-15 — see revealcoin README)Shelved
RevSkillsClaude Code skills libraryMIT
RevealUI FleetWhite-label / enterprise deployment kit for RevealUIEnterprise tier

Each product stands alone. Together, they cover the full lifecycle of building, securing, coordinating, and monetizing software, for you and for your agents.

Define your business data

Add a collection. Get an API, admin UI, MCP tool, and TypeScript types, automatically.

import { defineCollection, defineField } from "@revealui/core";

const Products = defineCollection({
  slug: "products",
  fields: [
    defineField({ name: "name", type: "text", required: true }),
    defineField({ name: "price", type: "number" }),
    defineField({ name: "description", type: "richText" }),
    defineField({
      name: "status",
      type: "select",
      options: ["draft", "active"],
    }),
    defineField({ name: "owner", type: "relationship", relationTo: "users" }),
  ],
  access: {
    read: ({ req }) => !!req.user,
    create: ({ req }) => req.user?.role === "admin",
  },
});

GET /api/products is live. The admin UI is live. The MCP tool is discoverable. The TypeScript types are generated. Humans manage products through the dashboard. Agents query and create through the same API.

Pro: AI for your business

The Pro tier adds AI agents and automation that work on your behalf:

  • AI agent system (beta — works in staging, production usage is early): build and deploy purpose-built agents for your workflows
  • MCP framework: hypervisor, adapter framework, and tool discovery for connecting agents to external services
  • Open-model inference: Ubuntu Inference Snaps (canonical default — Studio lifecycle pending), Ollama, and open source models via the RevealUI harness. sudo snap install gemma3 for instant local AI (or any of deepseek-r1, qwen-vl, nemotron-3-nano, nemotron-3-nano-omni). No proprietary APIs, no vendor lock-in, zero API bills
  • Task history: every agent action logged, auditable, and visible in the dashboard
  • Editor config sync: generate and sync settings for Zed, VS Code, Cursor, and Antigravity

Pro packages are source-available under the Functional Source License (FSL-1.1-MIT). You can read, modify, and self-host. The license converts to MIT after 2 years. Install with pnpm add @revealui/ai.

Tiers

TierPriceWhat you get
Free$0Full OSS core: users, content, products, payments, admin
Pro$49/moAI agents, MCP framework, open-model inference, advanced sync, RevVault desktop + rotation engine
Max$149/moFull AI memory, audit log, higher limits, RevKit environment provisioning
Enterprise$299/moRevealUI Fleet (branded white-label, managed setup via revforge), SSO (planned — #449), domain-locked

Apps

AppFrameworkPurpose
serverHonoREST API with OpenAPI + Swagger
adminNext.js 16Admin dashboard + content management
docsVite + ReactDocumentation site
marketingVite + ReactMarketing site (revealui.com)

The RevealUI Studio agency site (revealuistudio.com) lives in RevealUIStudio/agency — separate repo, consumes @revealui/{router,presentation,core,contracts} via npm.

Packages

OSS (MIT)

PackagePurpose
@revealui/coreRuntime engine, REST API, auth, rich text, plugins
@revealui/contractsZod schemas + TypeScript types (single source)
@revealui/dbDrizzle ORM schema (86 tables), dual-DB client
@revealui/authSession auth, password reset, rate limiting
@revealui/presentation59 UI components (Tailwind v4, zero ext deps)
@revealui/openapiOpenAPI route helpers and Swagger generation
@revealui/routerLightweight file-based router with SSR
@revealui/configType-safe environment configuration
@revealui/utilsLogger, DB helpers, validation
@revealui/clicreate-revealui scaffolding tool
@revealui/setupEnvironment setup utilities
@revealui/syncElectricSQL real-time sync (experimental)
@revealui/cacheCDN config, edge cache, ISR presets
@revealui/resilienceCircuit breaker, retry, bulkhead patterns
@revealui/securityHeaders, CORS, RBAC/ABAC, encryption, audit
@revealui/devShared configs (Biome, TypeScript, Tailwind)
@revealui/mcpMCP hypervisor, adapter framework, tool discovery
@revealui/servicesStripe + Supabase integrations
@revealui/testE2E specs, integration tests, fixtures, mocks
create-revealuinpm create revealui initializer

Pro (Commercial)

PackagePurpose
@revealui/aiAI agents, CRDT memory, LLM providers
@revealui/harnessesAI harness adapters and workboard coordination

Tech stack

LayerTechnology
FrontendReact 19, Tailwind CSS v4
BackendNode.js 24, Hono, REST + OpenAPI
DatabaseNeonDB (Postgres), Drizzle ORM
AuthSession-based, bcrypt, RBAC + ABAC
Rich TextLexical editor
SyncElectricSQL (experimental)
BillingStripe (checkout, subscriptions, webhooks)
DesktopTauri 2
TUIGo, Bubble Tea
TestingVitest, Playwright
Toolingpnpm, Turborepo, Biome, TypeScript 6
Dev envNix flakes + direnv

Prerequisites

  • Node.js 24+
  • pnpm 10+
  • PostgreSQL database (NeonDB free tier works)
  • Stripe account (for billing features)

Quick start

git clone https://github.com/RevealUIStudio/revealui.git
cd revealui
pnpm install

# Set up environment
cp apps/admin/.env.example apps/admin/.env.local
# Edit .env.local: set POSTGRES_URL, REVEALUI_SECRET (min 32 chars),
# REVEALUI_PUBLIC_SERVER_URL=http://localhost:4000

# Initialize database
pnpm db:migrate
pnpm db:seed

# Start admin dashboard + API
pnpm dev:app    # Admin (port 4000) + API (port 3004)

Three dev modes:

  • pnpm dev:app: Admin + API (recommended for most work)
  • pnpm dev:admin: Admin only (if API already running)
  • pnpm dev: All apps in parallel (heavy)

Option B: Docker Compose

cp .env.production.example .env
# Edit .env with your values
docker compose up -d

Services: PostgreSQL (5432), API (3004), Admin (4000), Marketing (3000).

Option C: Dev Containers

Open in VS Code or GitHub Codespaces. The .devcontainer/ config handles everything.

PlatformRecommended setup
Linux / WSLNix flakes + direnv (flake.nix)
macOSNix flakes + direnv (flake.nix)
WindowsWSL 2 (recommended) or Dev Containers (.devcontainer/)

Project structure

revealui/
├── apps/
│   ├── server/     # Hono REST API (port 3004)
│   ├── admin/      # Admin dashboard + content management (port 4000)
│   ├── docs/       # Documentation site (port 3002)
│   └── marketing/  # revealui.com marketing site (port 3000)
├── packages/       # 21 OSS + 5 Pro packages
├── docs/           # guides + reference
└── scripts/        # CI gates, release tooling, dev tools

Documentation

  • Build Your Business: End-to-end tutorial: scaffold, collections, pricing, billing, deploy
  • Quick Start: From zero to running app
  • Design Principles: Six engineering principles - Justifiable, Orthogonal, Sovereign, Hermetic, Unified, Adaptive - and the evidence behind each
  • Architecture: How the pieces fit together
  • Harness Protocol: Agent-tool coordination layer shipped in @revealui/harnesses
  • Pro: AI features, MCP, marketplace, and trust controls
  • Database Guide: Schema, migrations, queries
  • Auth Guide: Authentication, sessions, RBAC
  • Admin Guide: Collections, fields, access control
  • Testing: Vitest, Playwright, coverage
  • Deployment: Vercel, Railway, or self-host
  • All docs: Full index (25 guides)

Contributing

Read CONTRIBUTING.md first. Then:

pnpm test       # run tests
pnpm lint       # lint and format
pnpm typecheck  # type check
pnpm gate       # full CI gate (runs before push)

Community

Sponsors

RevealUI is MIT-licensed and free to use. Sponsorship funds development, documentation, and community support.

Sponsor on GitHub

License

This repository is dual-licensed:

  • OSS packages (most of the repo, including every @revealui/* package without its own in-package LICENSE file): MIT — see LICENSE.
  • Pro packages (@revealui/ai, @revealui/harnesses): Functional Source License v1.1 with MIT Future License (FSL-1.1-MIT) — source-available for non-competing use, automatically converts to MIT on each package’s Change Date (~2 years from first FSL publish). See LICENSE.commercial for the dual-license explainer and each Pro package’s LICENSE file for canonical terms.

For commercial licensing alternatives or licensing questions: founder@revealui.com.


Built by RevealUI Studio — the agency. Operated by REVEALUI STUDIO L.L.C. (Tennessee).