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.

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.

2 participants