Skip to content

Supabase MCP: create_project schema mismatch with confirm_cost_id in Codex #466

Closed

Description

@AxelLex007

Bug report

  • I confirm this is a bug involving the Supabase MCP integration, not my application.
  • I have checked for existing reports of this specific error.

Describe the bug

The Supabase connector in OpenAI Codex cannot create new projects because the connector-side schema and the MCP server expect incompatible parameters.

The connector requires confirm_cost_id, but the MCP server rejects it as an unrecognized field.

Additionally, the confirm_cost tool is unavailable through tools/list.

This makes project creation impossible through the connected Supabase plugin.

To Reproduce

Step 1: Call create_project without confirm_cost_id

Result:

Parameters failed connector schema validation: confirm_cost_id [required]: Missing required property; confirm_cost_id [required]: Missing required property

Step 2: Call create_project with confirm_cost_id: ""

Result:

Error code: INVALID_ARGUMENT

[
  {
    "code": "unrecognized_keys",
    "keys": ["confirm_cost_id"],
    "path": [],
    "message": "Unrecognized key: \"confirm_cost_id\""
  }
]

Step 3: Call confirm_cost

Parameters:

{
  "amount": 0,
  "recurrence": "monthly",
  "type": "project"
}

Result:

Error code: UNAVAILABLE

McpServerError: MCP tool confirm_cost was not returned by tools/list

Expected behavior

The connector and MCP server should use a consistent cost-confirmation mechanism.

Either:

  1. The legacy flow should work:
    get_cost → confirm_cost → create_project

  2. Or the newer MCP elicitation mechanism should be used without requiring confirm_cost_id.

Actual behavior

The connector requires confirm_cost_id, while the server rejects that parameter and does not expose confirm_cost.

Consequently, Codex cannot create projects through the Supabase plugin.

Additional information

The same Supabase account successfully created a new project through the Supabase plugin in ChatGPT using:

get_cost → confirm_cost → create_project

This suggests that the account has sufficient permissions and that the problem may involve connector schema synchronization or MCP capability negotiation.

Environment

  • Client: OpenAI Codex Desktop
  • Operating system: Windows
  • Integration: Supabase Plugin
  • Error codes: INVALID_ARGUMENT, UNAVAILABLE
  • Exact Codex version: Not captured
  • MCP server version: Unknown

Possible cause

The connector may be using a legacy schema that requires confirm_cost_id, while the Supabase MCP server expects a newer cost-confirmation mechanism.

Please investigate:

  1. Tool schema synchronization.
  2. MCP tools/list responses.
  3. Cost-confirmation compatibility.
  4. MCP elicitation support.
  5. Connector-side schema caching.

Please advise if additional diagnostic information is required.

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions