supabase-mcp-server
This project allows Supabase to be deployed as an MCP server on Phala Cloud, utilizing secure environments. It enhances deployment capabilities by integrating Docker and SSE support for remote hosting.
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 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 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".