mcp-backend
Supports S3-compatible storage including MinIO for file upload, download, and bucket management.
Provides direct PostgreSQL access for querying, executing SQL, managing tables, and analyzing schema.
Integrates with Supabase for storage operations (buckets, files) and RLS-aware SQL execution.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-backendshow me all tables"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚠️ Active Development — APIs and tools may change without prior notice. Use tagged releases (
vX.Y.Z) for stability.
Local MCP server compatible with any studio-based AI client. Provides direct PostgreSQL access, storage operations (Supabase or S3), Iceberg catalog queries and SQL seed management.
Stack
Database: PostgreSQL via
pg(direct connection)Storage: Supabase Storage or S3-compatible (MinIO, RustFS, SeaweedFS, AWS)
Data Lake: Apache Iceberg REST Catalog
Protocol: MCP over stdio
Related MCP server: Database MCP Server
Tools (32 Total)
Database (5)
Tool | Description |
| Run SELECT queries on PostgreSQL |
| Execute arbitrary SQL (INSERT/UPDATE/DELETE) with transaction support |
| Execute SQL file content (PL/pgSQL blocks, multi-statement scripts) with transaction support |
| Execute SQL with RLS context (impersonate user role — supabase mode only) |
| List all public tables |
Seeds (4)
Tool | Description |
| List available SQL seed files in |
| Run base seed files (languages, countries, settings, navigation) |
| Run data seed files (users, products, courses, articles) |
| Run base + data seeds in order |
Storage (11)
Tool | Description |
| List all storage buckets |
| List files in a bucket with pagination |
| Generate a signed URL for a file (private buckets) |
| Get the public URL for a file (public buckets) |
| Upload a file to a bucket with MIME type detection |
| Delete a file from a bucket |
| Download files from storage to local buckets/ folder (all buckets, one bucket, specific folder, or single file) |
| Upload multiple files or entire folder with selective file extension filtering (e.g., ignore |
| Create, update, empty or delete a storage bucket |
| Generate signed URL and atomically update DB table with URL + expiration timestamp |
Iceberg (3)
Tool | Description |
| List foreign tables in the |
| SELECT from an Iceberg foreign table via Postgres FDW with filters |
| List tables from the Iceberg REST Catalog directly |
RPC (1)
Tool | Description |
| Call a PostgreSQL RPC function with named arguments |
Bootstrap (1)
Tool | Description |
| Bootstrap Iceberg schema and foreign data wrapper |
Schema & Query Analysis (4)
Tool | Description |
| Describe table schema (columns, types, constraints, indexes) |
| Get column statistics (cardinality, NULL%, data distribution) |
| Parse SQL without executing to catch syntax errors |
| Run query with EXPLAIN ANALYZE for performance debugging |
Observability (3)
Tool | Description |
| List long-running queries with duration and state |
| Table sizes, row counts, and growth metrics |
| List indexes with size, scan count, and usage stats |
Setup
See INSTALL.md for full setup instructions.
cp .env.example .env # fill in your credentials
pnpm install
pnpm start # start MCP serverSeed structure
Seeds are organized in two directories (not committed — client-specific):
base/ ← company info, languages, countries, currencies, navigation, SEO
data/ ← users, products, courses, articles, pagesRun order: base/ always before data/.
Environment variables
Variable | Description |
|
|
| PostgreSQL connection string |
| Supabase project URL (required in supabase mode) |
| Supabase anon/publishable key (supabase mode) |
| Supabase service role key (supabase mode) |
| S3-compatible endpoint (required in postgres mode) |
| S3 access key (postgres mode) |
| S3 secret key (postgres mode) |
| Default S3 bucket name (postgres mode) |
| S3 region (default: |
| Iceberg REST Catalog URI |
| Bearer token for Iceberg catalog |
| Iceberg warehouse name |
| Iceberg namespace (default: |
| S3-compatible access key |
| S3-compatible secret key |
| S3-compatible endpoint URL |
Community
Contributions are subject to natuleadan review policies and terms.
Thanks to all contributors:
Star History
License
MIT © Leonardo Jara
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/natuleadan/mcp-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server