What is your goal?
I want to be able to use Make MCP through Gemini CLI.
What is the problem & what have you tried?
When I use Auth, the JWT keeps dying after a while, and the CLI does not refresh it.
I followed this: Usage with Gemini CLI | MCP Server | Make Developer Hub
I followed all the steps, managed to connect to MCP just fine, can list the tools, used it to get some commands across scenarios. It works:)
However, after about 5 mins the MCP connection died and not even a new āauthā request helped.
It only works the very first time in a CLI session.
Then I tried generating an API key in Make, and using that one in the config files.
The same story, it only works in the first CLI session, once the JWT token dies, itās the end.
What should I do to keep the JWT active? And should not the MCP server handle this?:)))
Alternatively, what setting should I check, or any ideas on what to try?
I am on Mac.
Error messages or input/output bundles
ā MCP tool āscenarios_listā reported tool error for function call: {ānameā:āscenarios_listā,āargsā:{āteamIdā:[myTeamID]}} with response: [{āfunctionResponseā:{ānameā:āscenarios_listā,āresponseā:{āerrorā:{āmessageā:āStreamable ā
ā HTTP error: Error POSTing to endpoint: {"code":"SC401","name":"Access denied","message":"Invalid JWT (reason 0x0007).","details":}ā,āisErrorā:true}}}}]