supabase-mcp icon indicating copy to clipboard operation
supabase-mcp copied to clipboard

`createPostgrestMcpServer` not exported - update mcp-server-postgrest example

Open andresg747 opened this issue 7 months ago • 1 comments

Improve documentation

Link

mcp-server-postgrest README

Describe the problem

I'm trying to set up an MCP for a Chat Bot to connect to a Supabase DB, but I didn't want to use the official Supabase MCP Server because it suggests to use an account level token (PAT) and I only need to connect to a specific project DB. Now I realized that I can provide a --project-ref arg but just before that I wanted to give mcp-server-postgrest a try and I'm getting this error after following the Readme's example:

Image

Describe the improvement

The example located in the Readme of mcp-server-postgrest should work as is. The module is not correctly exporting the createPostgrestMcpServer function as I would expect it to do.

Thanks!

andresg747 avatar Apr 30 '25 03:04 andresg747

I am facing the same issue. Also the npm documentation example exports PostgrestMcpServer which is also not exported by the package.

Sybili avatar Jul 10 '25 09:07 Sybili