Skip to content

[Bug]: MongoDB MCP's schema has type: "string" with integer enum values [256, 512...], which Gemini rejects. #715

@Ateeb626

Description

@Ateeb626

Version

1.2.0

App

  • Cursor
  • Windsurf
  • VSCode
  • VSCode Insiders
  • Claude Desktop
  • Other

Affected Models (if applicable)

  • Claude 3.5 Sonnet
  • Claude 3.7 Sonnet
  • GPT-4a
  • o4-mini
  • Other

Bug Description

Hi, so I am trying to integrate the mcp server with gemini. I host the server locally and integrate it with gemini using the google agent development kit.

However, MongoDB MCP's schema has type: "string" with integer enum values [256, 512...], which Gemini rejects.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions