Skip to main content
Glama

Supabase MCP Server

Apache 2.0
783
  • Apple
  • Linux

get_table_schema

Retrieve comprehensive schema details for a specific table in Supabase, including column definitions, keys, relationships, indexes, constraints, and triggers, using a low-risk read operation.

Instructions

Get detailed table structure including columns, keys, and relationships.

Returns comprehensive information about a specific table's structure:

  • Column definitions (names, types, constraints)

  • Primary key information

  • Foreign key relationships

  • Indexes

  • Constraints

  • Triggers

Parameters:

  • schema_name: Name of the schema (e.g., 'public', 'auth')

  • table: Name of the table to inspect

SAFETY: This is a low-risk read operation that can be executed in SAFE mode.

Input Schema

NameRequiredDescriptionDefault
schema_nameYes
tableYes

Input Schema (JSON Schema)

{ "properties": { "schema_name": { "title": "Schema Name", "type": "string" }, "table": { "title": "Table", "type": "string" } }, "required": [ "schema_name", "table" ], "title": "get_table_schemaArguments", "type": "object" }

Other Tools from Supabase MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexander-zuev/supabase-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server