{
  "markdown": "# Supabase MCP Lite\n<img width=\"518\" height=\"141\" alt=\"image\" src=\"https://github.com/user-attachments/assets/04193768-632c-4e32-93d2-291158c804b5\" />\n\nMinimal Supabase MCP server - 70% less context usage than standard implementations.\n\n## Why Lite?\n\n- **4 tools instead of 50+** - Only essential operations  \n- **Minimal descriptions** - No verbose explanations\n- **Simple parameters** - No complex nested schemas\n- **Auto-truncated results** - Max 100 rows per query\n\n## 🔑 Personal Access Token Required\n\nThis MCP uses your **Supabase Personal Access Token** (starts with `sbp_`) to automatically fetch service role keys for any project you own.\n\n### How to get your Personal Access Token:\n1. Go to https://supabase.com/dashboard/account/tokens\n2. Click \"Generate New Token\"\n3. Give it a name (e.g., \"MCP Access\")\n4. Copy the token (starts with `sbp_`)\n5. **Save it securely** - you won't be able to see it again!\n\n## Setup\n\n1. Add to your MCP client configuration:\n\n```json\n{\n  \"supabase-lite\": {\n    \"command\": \"npx\",\n    \"args\": [\"@smithery/cli\", \"connect\", \"@pinion05/supabase-mcp-lite\"],\n    \"config\": {\n      \"accessToken\": \"sbp_xxxxxxxxxxxx\"  // Your Personal Access Token\n    }\n  }\n}\n```\n\n**Note**: Project URL is required for each tool call. The service role key will be fetched automatically using your access token.\n\n## Tools (4)\n\nAll tools require `projectUrl` as the first parameter.\n\n| Tool | Purpose | Parameters |\n|------|---------|------------|\n| `select` | Get data | projectUrl, table, where?, limit? |\n| `mutate` | Change data | projectUrl, action, table, data?, where? |\n| `storage` | Files | projectUrl, action, bucket, path?, data? |\n| `auth` | Users | projectUrl, action, email?, password?, id? |\n\n## Examples\n\n```javascript\n// Select tool  \nselect(\n  projectUrl: \"https://your-project.supabase.co\",\n  table: \"posts\", \n  where: {status: \"published\"}, \n  limit: 10\n)\n\n// Mutate tool\nmutate(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"insert\", \n  table: \"todos\", \n  data: {title: \"New task\"}\n)\nmutate(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"update\", \n  table: \"todos\", \n  data: {done: true}, \n  where: {id: 1}\n)\nmutate(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"delete\", \n  table: \"todos\", \n  where: {id: 1}\n)\n\n// Storage tool\nstorage(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"upload\", \n  bucket: \"images\", \n  path: \"avatar.jpg\", \n  data: \"base64...\"\n)\nstorage(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"list\", \n  bucket: \"images\"\n)\n\n// Auth tool\nauth(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"list\"\n)\nauth(\n  projectUrl: \"https://your-project.supabase.co\",\n  action: \"create\", \n  email: \"user@example.com\", \n  password: \"secure123\"\n)\n```\n\n## How it Works\n\n1. You provide your Personal Access Token (`sbp_xxx`)\n2. When you call a tool with a project URL, the MCP:\n   - Extracts the project ID from the URL\n   - Uses your access token to fetch the service role key via Supabase Management API\n   - Caches the key for future requests to the same project\n   - Creates a client with full admin access\n\n## Security Notes\n\n- Personal Access Token gives access to ALL your Supabase projects\n- Service role keys are fetched automatically and cached in memory\n- Service role key bypasses Row Level Security (RLS)\n- Keep your access token secure - never expose it client-side\n- This tool is intended for server-side/admin use only\n\n## Features\n\n- ✅ Works with any Supabase project you own\n- ✅ Automatic service role key retrieval\n- ✅ Key caching to minimize API calls\n- ✅ Full database access (bypasses RLS)\n- ✅ Support for multiple projects in one session\n\n## License\n\nMIT\n",
  "bytes": 3707,
  "sha": "f16f05fcea7697d9e5e432af2634b0e345c1d19e6a999ddac0537a2533715aa7",
  "repo_slug": "pinion05/supabase-mcp-lite",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_smithery_pinion05_supabase_mcp_lite_f642ea14/readme"
}