Skip to main content

Using Gemini CLI with DataDoe MCP

Use Gemini CLI when you want a terminal-first agent that can still reach DataDoe over MCP.

Prerequisites

Step 1: Add the DataDoe MCP server

Run this command from your project root:

bash
1gemini mcp add --transport http --scope project -H "datadoe-mcp-key: YOUR_API_KEY" datadoe "https://mcp.datadoe.com/mcp/v1"

Replace YOUR_API_KEY with your DataDoe MCP key.

Step 2: Reload Gemini CLI

Restart your Gemini CLI session so it picks up the new MCP server.

Step 3: Test the connection

Run a prompt that uses DataDoe data, for example:

Show me my Amazon Seller Central sales for the last 7 days.

If Gemini CLI returns real data, you're connected.

Starter project

Want a working starting point? Clone our Gemini CLI template repository (opens in a new tab) - it ships preconfigured.

Fallback with mcp-remote

If you run into problems with gemini mcp add, use this fallback proxy config instead:

json
1{
2    "mcpServers": {
3        "datadoe": {
4            "command": "bash",
5            "args": [
6                "-lc",
7                "npx -y mcp-remote@latest https://mcp.datadoe.com/mcp/v1 --transport http-only --header \"datadoe-mcp-key:${DATADOE_MCP_KEY}\""
8            ],
9            "env": {
10                "DATADOE_MCP_KEY": "$DATADOE_MCP_KEY"
11            }
12        }
13    }
14}

DataDoe MCP resources

Check the following resources for more information: