A Next.js application for clinic management with AI-powered features.
# Install dependencies
npm install
# Set up environment
cp .env.example .env.local
# Edit .env.local with your Supabase credentials
# Run development server
npm run devThe project uses Supabase MCP for database operations in Claude Code. Each team member needs their own access token.
- Go to https://supabase.com/dashboard/account/tokens
- Click "Generate new token"
- Name:
claude-code - Copy the token (starts with
sbp_)
Add to .env.local:
SUPABASE_ACCESS_TOKEN=sbp_your_token_here
Run this in your terminal:
claude mcp add --scope user supabase -- npx -y @supabase/mcp-server-supabase@latest --access-token sbp_your_token_hereThis installs the MCP server globally and works across all projects.
Close and reopen Claude Code for MCP to load.
Run /supabase-setup in Claude Code to verify everything is connected.
The project includes .mcp.json which auto-loads when you open this repo. It uses your SUPABASE_ACCESS_TOKEN from .env.local.
Just add your token to .env.local and restart Claude Code.