Add Melso to Gemini CLI
Run
gemini mcp add --transport http melso https://mcp.melso.ai/mcp, then /mcp auth melso.Before you start
- Gemini CLI installed and signed in.
- A Melso account in the company you want Gemini CLI to use.
Connect
1
Add the server
--scope user to use it everywhere. Do not add --trust: it skips the confirmation prompt on every tool call.2
Start Gemini CLI
Run
gemini in the same project.3
Sign in with Melso
4
Make the first read
Ask: “Read my Melso company without changing anything.”
Manual configuration
Add Melso to themcpServers object in settings.json (.gemini/settings.json in a project, or ~/.gemini/settings.json). Use httpUrl for Streamable HTTP; url selects the older SSE transport:
First request
Gemini CLI callscompany, as in Try a first read. Then ask for your expenses or the tax calendar. Run /mcp list to see the Melso tools you were given; what you see depends on the plan, your role and setup (Permissions and approvals and the tool catalog). Gemini CLI can draft invoices. It issues one only when the owner asks, through the owner’s own connection, and the prerequisites are met; otherwise the owner issues it in the Melso app. No tool approves, files or pays a tax return.
Disconnect
- In Gemini CLI:
gemini mcp remove melso. - In Melso: Configuración, tab MCP, then Desconectar next to the connection.
If something fails
- Tokens expired. Run
/mcp auth melsoagain. - The server does not connect. Check that the configuration uses
httpUrl, noturl. - Other causes are in Troubleshooting.