Supabase
MCP server for interacting with the Supabase platform
Descripción del creador (original en inglés)
Read-only MCP server for exposing database schema metadata without row data.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
DATABASE_URL, DATABASE_SCHEMA, ALLOWED_TABLES, SECURE_SCHEMA_ENV, FASTMCP_CHECK_FOR_UPDATES, FASTMCP_SHOW_SERVER_BANNERLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"secure-schema": {
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add secure-schema --env DATABASE_URL=your-value --env DATABASE_SCHEMA=your-value --env ALLOWED_TABLES=your-value --env SECURE_SCHEMA_ENV=your-value --env FASTMCP_CHECK_FOR_UPDATES=your-value --env FASTMCP_SHOW_SERVER_BANNER=your-value -- uvx mcp-secure-schemaCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"secure-schema": {
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"secure-schema": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
DATABASE_SCHEMA envALLOWED_TABLES envSECURE_SCHEMA_ENV envFASTMCP_CHECK_FOR_UPDATES envFASTMCP_SHOW_SERVER_BANNER envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub Siddharth-coder13, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: DATABASE_URL
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (1.0.1) llegó al registro hace 4 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
A read-only MCP server that gives AI coding tools database structure without exposing row data. It returns table and view names, columns, types, keys, and relationships in a compact format designed to reduce LLM token usage.
| Exposed | Not exposed |
|---|---|
| Table and view names | Row values or query results |
| Column names and SQL types | Row counts or samples |
| Primary and unique keys | Database credentials |
| Foreign-key relationships | Write or query tools |
Schema metadata can still be sensitive. A column name such as ssn reveals information even without values, so production deployments should always use the table allowlist and a dedicated database account.
uvxSQLite support uses Python's built-in driver. PostgreSQL and MySQL drivers are included. Other SQLAlchemy dialects are not tested or bundled in v1.
The recommended setup uses uvx to download and run the published Python package in an isolated environment. You do not need to clone this repository or start the server separately. Your IDE launches it over stdio when needed.
Add this server to your Cursor MCP configuration:
{
"mcpServers": { "secure-schema": { "command": "uvx", "args": ["mcp-secure-schema"], "env": { "DATABASE_URL": "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb", "DATABASE_SCHEMA": "public", "ALLOWED_TABLES": "users,orders,products", "SECURE_SCHEMA_ENV": "production", "FASTMCP_CHECK_FOR_UPDATES": "off", "FASTMCP_SHOW_SERVER_BANNER": "false" } } } }
Restart or reload Cursor after changing its MCP configuration.
Add this to ~/.codex/config.toml or a trusted project's .codex/config.toml:
[mcp_servers.secure-schema]
command = "uvx" args = ["mcp-secure-schema"] enabled_tools = ["schema_overview", "list_tables", "inspect_table"] startup_timeout_sec = 30 tool_timeout_sec = 30
[mcp_servers.secure-schema.env] DATABASE_URL = "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb" DATABASE_SCHEMA = "public" ALLOWED_TABLES = "users,orders,products" SECURE_SCHEMA_ENV = "production" FASTMCP_CHECK_FOR_UPDATES = "off" FASTMCP_SHOW_SERVER_BANNER = "false"
If you prefer a persistent installation:
pipx install mcp-secure-schema
Then use "command": "mcp-secure-schema" with an empty args list in the IDE configuration.
Secure Schema MCP accepts SQLAlchemy connection URLs:
# SQLite (absolute path)
sqlite:////Users/me/project/app.db
postgresql+psycopg2://user:password@localhost:5432/appdb
postgresql+psycopg2://user:password@db.example.com:5432/appdb?sslmode=verify-full&sslrootcert=/path/to/ca.pem
mysql+pymysql://user:password@localhost:3306/appdb
Percent-encode special characters in URL usernames and passwords. For example, @ in a password becomes %40.
Local and remote databases use the same MCP configuration. For remote databases, the machine running the IDE must also have working DNS, network access, firewall permission, and valid TLS settings.
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | SQLAlchemy connection URL. Treated as a secret by the registry manifest. |
DATABASE_SCHEMA | No | Default schema or catalog namespace. Recommended for PostgreSQL. Locked against tool overrides in production. |
ALLOWED_TABLES | Production | Comma-separated, case-sensitive table and view allowlist. Production mode refuses to start without it. |
SECURE_SCHEMA_ENV | No | Set to production or prod for strict startup validation. Defaults to development. |
FASTMCP_CHECK_FOR_UPDATES | No | Set to off for predictable stdio startup. |
FASTMCP_SHOW_SERVER_BANNER | No | Set to false to suppress the startup banner. |
DATABASE_SCHEMA selects the default namespace. Resolution works as follows:
DATABASE_SCHEMA is a security boundary and tool arguments cannot override it.schema argument overrides DATABASE_SCHEMA.For strict production access to multiple schemas, run one MCP server entry per schema with its own DATABASE_SCHEMA and ALLOWED_TABLES values. The table allowlist contains unqualified names, not schema.table values.
schema_overview: compact map of permitted tables, views, primary keys, and foreign-key relationshipslist_tables: permitted table and view inventoryinspect_table: columns, SQL types, nullability, primary keys, unique constraints, and foreign keys for one entityEvery tool defaults to format="compact" for lower token usage:
tables:orders,users | pk:orders(order_id);users(user_id) | fk:orders.user_id->users.user_id
Pass format="markdown" when a human-readable table is more useful.
DATABASE_URL from an OS keychain or secret manager.Example PostgreSQL role:
CREATE ROLE schema_reader LOGIN PASSWORD 'use-a-secret-manager';
GRANT CONNECT ON DATABASE appdb TO schema_reader; GRANT USAGE ON SCHEMA public TO schema_reader;
Metadata visibility varies by PostgreSQL provider and database policy. Grant only the additional catalog or object privileges required for inspection; avoid granting row SELECT unless your environment requires it.
The server exits immediately
Check the IDE's MCP logs. DATABASE_URL is mandatory, and production mode also requires a non-empty ALLOWED_TABLES value.
No tables or views are discovered
Confirm DATABASE_SCHEMA, exact table-name casing, database permissions, and whether the allowlist contains the expected names.
The connection URL fails with a valid password
Percent-encode reserved URL characters or use a secret-injection wrapper. Do not paste real credentials into issues or logs.
`uvx` is not found
Install uv using its official instructions, or install the package with pipx and use mcp-secure-schema as the command.
Starting the command appears to hang
That is normal for a stdio MCP server. It waits for an MCP client on standard input and is normally started by the IDE.
Clone the repository only when developing or testing the server:
git clone https://github.com/Siddharth-coder13/secure_schema_mcp.git
cd secure_schema_mcp uv sync --extra dev uv run python tests/demo_database.py DATABASE_URL="sqlite:///$PWD/test_schema.db" uv run mcp-secure-schema
Run the test suite:
uv run pytest
Run the opt-in PostgreSQL integration test against a disposable database. The test creates and removes a randomly named schema:
POSTGRES_TEST_DATABASE_URL='postgresql+psycopg2://user@localhost:5432/testdb' \
uv run pytest tests/test_postgres_smoke.py -v
The tests verify row-data isolation, allowlist behavior, sanitized errors, compact output, relationships, schema selection, and the locked production namespace.
Maintainers should update the matching versions in pyproject.toml and server.json, run the complete SQLite and PostgreSQL suites, build with uv build --no-sources, verify installation from the wheel, publish to PyPI, and only then publish server.json to the MCP Registry.
Licensed under the Apache License 2.0. See LICENSE and NOTICE.