Skip to content

Conversation

@gmethvin
Copy link
Member

Remove the type parameter in our generated MCP configs. Most LLMs either do not recognize it or don't require it (Even though Cursor documents it the examples omit it).

While most clients will just ignore it, gemini will now crash if you provide it:

Invalid configuration in /Users/greg.methvin/.gemini/settings.json:

Error in: mcpServers.iterable
    Unrecognized key(s) in object: 'type'

Please fix the configuration and try again.
See: https://github.com/google-gemini/gemini-cli/blob/main/docs/get-started/configuration.md

So the simplest approach is to remove the type parameter altogether.

Copy link
Contributor

@andrewboni andrewboni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gmethvin gmethvin merged commit 5920f7b into main Jan 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants