Skip to content

crypto is not defined #53

@daoluc

Description

@daoluc

Bug report

Describe the bug

Unable to create a new Supabase project. list_organizations and get_cost work fine. confirm_cost and create_project get the same error:
{"error":{"name":"ReferenceError","message":"crypto is not defined"}}

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Setup mcp in cursor:

{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"xxxx"
]
}
}
}

In agent mode, request "create a new supabase project name helloworld"

Expected behavior

A new project should be created.

Screenshots

Image

System information

  • OS: macOS
  • IDE: cursor
  • Version of supabase-js: 1.215.0
  • Version of Node.js: 18.17.1

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions