MCP ExplorerExplorer

Supabase Mcp Server

@tolakon 9 months ago
1 MIT
FreeCommunity
AI Systems
Remote Supabase MCP server on Phala Cloud

Overview

What is Supabase Mcp Server

The supabase-mcp-server is a remote server implementation of Supabase MCP hosted on Phala Cloud, designed to provide backend services with enhanced security through Trusted Execution Environment (TEE).

Use cases

Use cases include building secure web applications, real-time data synchronization, and providing backend services for mobile applications.

How to use

To use supabase-mcp-server, you can deploy it on Phala Cloud by copying the docker-compose.yml file to the Phala Cloud deployment dashboard and setting the necessary environment variables. Alternatively, you can build and run it locally using Docker.

Key features

Key features include remote hosting capabilities, Docker support for easy deployment, and SSE (Server-Sent Events) support for real-time data streaming.

Where to use

supabase-mcp-server can be used in various fields such as web application development, data management, and any scenario requiring secure backend services.

Content

Supabase MCP Server on Phala Cloud

The Supabase MCP Server hosting in TEE on Phala Cloud.

Note the implementation code is fork from supabase, we add docker support make it can be deployed on Phala Cloud. And add transport sse support in ./src/sse.ts to make the server can be hosted remotely.

Deploy on Phala Cloud

To deploy on Phala Cloud, only thing you need to do is copy the ./docker-compose.yml to Phala Cloud deployment dashboard and set environment when deploy it. Head to Phala Cloud doc for more details.

Build locally

  • Build the docker image
docker build --platform linux/amd64 -t <your image name> .
  • Run with docker compose

set environment variable SUPABASE_ACCESS_TOKEN=your_token_here. Then issue command to launch it.

docker compose up
  • Verify your server

Run npx @modelcontextprotocol/inspector (a MCP debug tool) and open its URL in browser. Then connect your server with sse URL “http://localhost:3000/sse”.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers