# Connect Gemini CLI

Configure Gemini CLI to use MARqentic’s remote marketing research tools.

## Set up the connection

Use this deployment’s remote MCP endpoint. Cloud-hosted clients need a publicly reachable HTTPS address; a localhost preview is only reachable by clients running on your machine.

1. Register the remote HTTP server with the command below.
2. In Gemini CLI, use /mcp to inspect the server and /mcp auth marqentic to begin sign-in when supported by your installed version.
3. Approve the workspace in the browser and refresh the tool list.
4. Check your CLI’s MCP help if its authentication commands differ.

```
gemini mcp add --transport http marqentic https://devshine-seo-mcp.vercel.app/mcp
```

## Check the connection

Ask the assistant to list its MARqentic tools, then estimate a small research request with dry_run: true where supported. The result should include cost metadata. Paid execution needs sufficient credits in the approved workspace.

Missing tools may mean a category is disabled or the client has an older cached tool list. Refresh discovery before reconnecting.

- [Gemini CLI documentation](https://geminicli.com/docs/tools/mcp-server/)
- [Authentication and API keys](/docs/authentication)
