Supabase MCP HTTP Server

Supabase MCP HTTP Server

Provides 43 tools for complete Supabase control including database operations, storage management, authentication, edge functions, and admin tasks through an HTTP API designed for n8n integration.

Category
Visit Server

README

🚀 Supabase MCP HTTP Server

Production-ready HTTP MCP server for Supabase with 43 tools for complete database control.

Features

  • No hardcoded credentials - Pass credentials per request
  • 43 Supabase tools - Complete database, storage, auth, admin control
  • HTTP API - Ready for n8n integration
  • Railway ready - One-click deploy
  • Production ready - Health checks, CORS enabled

📊 All 43 Tools

Database (13)

  • query, list_tables, get_table_schema, create_table, alter_table
  • drop_table, insert_data, query_table, update_data, delete_data
  • list_views, list_triggers, list_indexes

RPC (2)

  • call_rpc, list_functions

Storage (8)

  • list_buckets, create_bucket, delete_bucket, list_files
  • upload_file, download_file, delete_file, get_public_url

Auth (7)

  • list_users, get_user, create_user, update_user
  • delete_user, invite_user, reset_password

Edge Functions (3)

  • list_edge_functions, invoke_edge_function, get_function_logs

Monitoring (3)

  • get_table_stats, get_database_size, get_connection_info

Admin (7)

  • execute_migration, list_policies, create_policy
  • list_extensions, enable_extension

🚂 Deploy to Railway

  1. Push to GitHub
  2. Connect Railway to your repo
  3. Deploy - Railway will auto-detect Node.js app
  4. Your MCP server will be available at https://your-app.railway.app

🔧 n8n Integration

Use in n8n AI Agent as MCP Tool:

  1. Add MCP Tools node
  2. Set endpoint: https://your-app.railway.app
  3. Pass credentials in each request:
{
  "supabase_url": "https://your-project.supabase.co",
  "supabase_key": "your-service-role-key"
}

📡 API Usage

List Tools

curl -X POST https://your-app.railway.app/ \
  -H "Content-Type: application/json" \
  -d '{"method": "tools/list"}'

Call Tool

curl -X POST https://your-app.railway.app/ \
  -H "Content-Type: application/json" \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "supabase:list_tables",
      "arguments": {},
      "supabase_url": "YOUR_URL",
      "supabase_key": "YOUR_KEY"
    }
  }'

Health Check

curl https://your-app.railway.app/health

🏗️ Local Development

# Install
npm install

# Build
npm run build

# Run
npm start

Server runs on http://localhost:3000

🔒 Security

  • No credentials stored in code
  • Each request requires credentials
  • Service role key for full admin access
  • CORS enabled for browser usage

📦 Repository Structure

├── src/
│   └── server.ts    # Main HTTP server
├── dist/            # Compiled JS
├── package.json
├── tsconfig.json
├── railway.json     # Railway config
└── README.md

✨ Ready for Production

This server is production-ready:

  • Health checks at /health
  • Error handling
  • TypeScript types
  • No hardcoded secrets
  • Railway optimized

Built for n8n AI Agents 🤖

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured