`createPostgrestMcpServer` not exported - update mcp-server-postgrest example
Improve documentation
Link
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:
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!
I am facing the same issue. Also the npm documentation example exports PostgrestMcpServer which is also not exported by the package.