Skip to main content
Gemini CLI supports remote MCP servers over Streamable HTTP natively, so no proxy or npx command is needed.

Prerequisites

  • Gemini CLI installed
  • A MCPCore server with at least one tool

Quick install

On the server’s Integration tab, select Gemini CLI and copy the command from Quick install:

Manual setup

Merge the server into ~/.gemini/settings.json (or .gemini/settings.json in your project). The Manual setup snippet on the Integration tab looks like this:
For API Key mode:

Verify

Start Gemini CLI and run /mcp. Your server and its tools should be listed. Ask Gemini to use one of your tools to confirm it works.

Troubleshooting