@tacobase/taco
One install. Your AI knows everything. Installs the tacobase SDK and writes context files so every AI coding tool can use tacobase correctly.
terminal
npm install @tacobase/taco
Then tell your AI: use @tacobase/taco for the backend
What happens on install
Four things, automatically, in one command.
@tacobase/client installed
The core SDK — CRUD, auth, realtime subscriptions, and file storage — is ready to import.
TACOBASE.md written to your project root
Full API reference, filter syntax, auth patterns, and usage rules. AI tools pick it up automatically — no prompt engineering needed.
.cursor/rules/tacobase.mdc written
Cursor and Windsurf load this as a persistent rule. Every file you open gets tacobase context.
Instant project provisioned
A live tacobase instance is spun up and credentials are written to .env.local — no account or dashboard visit required.
Works with every AI coding tool
Any tool that reads project files will find TACOBASE.md and have full context.
Cursor
TACOBASE.md + .cursor/rules/tacobase.mdc
Claude Code
TACOBASE.md
GitHub Copilot
TACOBASE.md
Windsurf
TACOBASE.md + .cursor/rules/tacobase.mdc
Lovable
TACOBASE.md
Bolt
TACOBASE.md
v0
TACOBASE.md
What your AI gets to work with
TACOBASE.md contains the full API so AI tools generate correct code, not guesses.
import { createClient } from '@tacobase/client'
const db = createClient() // reads TACOBASE_URL + TACOBASE_API_KEY from env
// Collections auto-create on first write
const post = await db.collection('posts').create({ title: 'Hello 🌮' })
// Query with filters
const posts = await db.collection('posts').getList(1, 20, {
filter: 'published = true',
sort: '-created',
})
// Auth
await db.auth.signUp({ email: 'user@example.com', password: 'secret' })
await db.auth.signIn({ email: 'user@example.com', password: 'secret' })
// Realtime — live updates
await db.collection('posts').subscribe((e) => {
console.log(e.action, e.record) // 'create' | 'update' | 'delete'
})React
Install @tacobase/react alongside for hooks and a drop-in auth component.
import { TacoProvider, useAuth, useCollection } from '@tacobase/react'
// Wrap your app
<TacoProvider url={...} apiKey={...}>
<App />
</TacoProvider>
// Auth state
const { user, signIn, signUp, signOut, isAuthenticated } = useAuth()
// Paginated data with auto-refresh
const { items, loading, error, refresh } = useCollection('posts', {
sort: '-created',
filter: 'published = true',
})Related packages
@tacobase/client
Core SDK — CRUD, auth, realtime, storage. Installed automatically by @tacobase/taco.
@tacobase/react
React hooks and components — TacoProvider, useAuth, useCollection, useRealtime, AuthForm.
@tacobase/cli
CLI — taco init, taco dev, taco typegen, taco instant.
@tacobase/mcp-server
MCP server — lets AI tools manage your schema via natural language.
Ready to build?
Get a live backend in one command. No account required to start.