Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Before your coding assistant touches Supabase over MCP, decide these five things

This article was drafted with AI help and reviewed by the author. Supabase ships a hosted MCP server. Point Claude Code, Cursor, or another MCP client at it, sign in, and your assistant can list tables, read policies, run SQL, and apply migrations for you. For a Next.js web app or a Flutter mobile app backed by Supabase, that is genuinely handy. "Why does the orders screen come back empty for…

Before integrating your coding assistant with Supabase's Superset Control Plane (MCP), consider five crucial aspects. First, determine which project and branch the assistant will access. The hosted server is scoped to a single project via the project reference in its URL. For day-to-day work, use a development project or Supabase branch, keeping production separate.

Second, decide whether to operate in read-only mode. This disables write-enabled tools, such as migrations, and is ideal for tasks like investigating empty table lists or checking row level security policies. Only switch to write mode when necessary, following best practices for migrations. Third, choose the appropriate tool groups.

Supabase's server groups its tools into features like database, debugging, development, Edge Functions, docs, branching, and storage, with most enabled by default. For specific tasks, enable only the necessary groups. Fourth, maintain manual approval for all tool calls. Although it may be tempting to disable this feature after several prompts, Supabase recommends keeping it on for interactive work and reviewing each call before execution.

This acts as a second protective measure against potential misuse. Lastly, identify who will have access to the connection. The MCP server operates with your developer permissions, and it is essential not to share it with customers, end-users, or support chatbots. Instead, create API routes or Edge Functions for in-app assistants that require access, respecting the MCP connection's developer-only nature.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

The JavaScript Event Loop: Call Stack, Task Queue & Microtasks

JavaScript runs on a single thread. That thread has one call stack, one memory heap, and one thing it can execute at any given moment.

  • Call Stack manages function execution sequentially in LIFO order
  • Node.js uses async I/O operations to prevent blocking in single-threaded environment
  • Microtasks processed after each event loop iteration for efficient execution

A vision model as a frame checker: what it caught and what it let through

Image models write fake words on signs, add watermarks and give people too many fingers. A bad frame found after the render costs a re-render; found before, it costs one redraw.

  • Vision model checks images for unwanted elements before publishing
  • Rejects images with text, numbers, watermarks, logos, or distorted figures
  • Test used four Studio-created images, one rejected for "SALE 50% OFF" tag

Designing Construction Takeoff Software for Trade Users: Lessons From a Button Refresh

Most software design writing assumes users who live in software. Construction takeoff tools serve a different crowd: subcontractors and small trade teams who would rather be on site, and who open…

  • ContractorCounter software updates buttons to round design
  • Round buttons improve consistency for trade users
  • Cleaner interface reduces visual clutter for dense content

The Cheapest Robot Trainer Is A Person Wearing A Camera

If humanoids can learn from everyday footage of people instead of costly teleoperation, the advantage moves to whoever can capture and label that footage well.

  • Head-camera video used to train humanoid robots from everyday tasks
  • Method reduces data-collection efficiency by 4.03 times
  • Openly released demonstration corpora lowers training cost barrier

More from Friday 27 November →