Skip to main content

Using Gemini CLI with DataDoe MCP

Use Gemini CLI when you want a terminal-first agent that can access 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_DATADOE_MCP_KEY" datadoe "https://mcp.datadoe.com/mcp/v1"

Replace YOUR_DATADOE_MCP_KEY with your DataDoe MCP key.

Step 2: Reload Gemini CLI

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

Server shows as Disabled. When Gemini CLI's folder-trust feature is active, project-level MCP servers will not load until you trust the folder. Open Gemini CLI in the project directory and accept the trust prompt. You can change the decision later with /permissions. Then check again with gemini mcp list.

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 are connected.

Fallback using mcp-remote

If you have 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: