Error discovering tools from MCP server: can't resolve reference #13114
Unanswered
DinoChiesa
asked this question in
Community Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I install gemini-cli via npm, and query my MCP server, the CLI sees the server but is not able to successfully list the tools. I get an error:
Error discovering tools from air-quality: can't resolve reference #/$defs/GeocodePlacenameResponse from id #the gemini-cli installed via npm: not working
One might think that the MCP Server itself is broken. but I cloned and built the source via
npm run buildandnpm run bundle, and when I run gemini-cli from that build, I do not see that error. This uses the same settings.json, the same MCP server.the gemini-cli built from source: working
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version 0.17.0-nightly.20251114.0fcbff506 │
│ Git Commit ab6b2293e │
│ Model auto │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method OAuth │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Agent powering down. Goodbye! │
│ │
│ Interaction Summary │
│ Session ID: 52e4b95b-6f5b-45fd-ad01-4e3ecf403f1e │
│ Tool Calls: 0 ( ✓ 0 x 0 ) │
│ Success Rate: 0.0% │
│ │
│ Performance │
│ Wall Time: 18.4s │
│ Agent Active: 0s │
│ » API Time: 0s (0.0%) │
│ » Tool Time: 0s (0.0%) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Does anyone have any hints as to what's going on?
If I use older versions (0.15.1, etc) I get the same behavior - the MCP Server is shown but it cannot load the tools.
#13053 seems similar, but not sure.
Beta Was this translation helpful? Give feedback.
All reactions