@wervt/nuxt

Nuxt module for apps hosted on wervt: database, live data, MCP and runtime setup.
2,021
Install
npm install @wervt/nuxt
Latest Version:0.3.2
Vue:3
License:MIT
Last Updated:Oct 15, 2026
Links: npm
Maintainer: niki2k1

@wervt/nuxt

Nuxt module for apps hosted on wervt: each app runs in its own isolate with its own Postgres schema, Drizzle, and live data through Electric shapes.

npm create wervt@latest my-app

or add it to an existing Nuxt app:

export default defineNuxtConfig({
  modules: ['@wervt/nuxt'],
})
  • useDb() (server): Drizzle on the app's own schema, with migrations from drizzle/.
  • proxyShape() (server) and useShape() (app): live rows from Postgres via Electric.
  • useWervtUser(): the signed-in wervt user, on the server and in the app.
  • useWervtAccess(event): invites on invite-only apps (wervt access <app> --invite), as the signed-in user.
  • useValidatedBody() / useValidatedQuery() / useValidatedParams(): valibot validation.
  • useWervtTrack(): custom events for wervt's cookieless analytics (page views are counted automatically).
  • wervt: { feedback: { key } } and useWervtFeedback(): the kontor feedback widget, reports go into a kontor project's triage.
  • defineTool() (server): tools in server/tools/ that browser agents call through WebMCP, and MCP clients (Claude Code, Cursor, …) at /mcp, signed in through wervt's OAuth login.
  • nuxt dev starts against the local wervt stack (Postgres, Electric) and a dev user, and runs the db:seed task (seedTable() inserts into empty tables) once on a new database.

Deploy with @wervt/cli: wervt deploy.

Docs: https://wervt.app

Related Packages

@nuxvel/nuxt

Nuxt module that gives a Nuxt app a production-ready backend: Postgres with Driz...

515 0
nuxt-postgrest

First-class PostgREST for Nuxt: typed clients, SSR-aware composables and auth-aw...

697 0
@xleddyl/nuxt-cms

Lightweight CMS that ships with your Nuxt app: runs on the Nitro server, content...

7,473 19
nuxt-mcp-dev

MCP server from your Nuxt dev server helping models to understand your Nuxt app...

97,799 911
@privyid/nuxt-csrf

Module CSRF for NUXT

26,088 9

Version History

Version Released License
0.3.2 MIT
0.3.1 MIT
0.3.0 MIT
0.2.16 MIT
0.2.15 MIT
Pre-releases (1)
Version Released License
0.0.0-stage