Skip to main content

Using Gemini CLI

Using Gemini CLI with DataDoe MCP

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

Prerequisites

  • You have access to DataDoe and a working MCP-capable agent or client.
  • You know where that agent stores its MCP server configuration.

Step 1: Add the DataDoe MCP server

Add the DataDoe MCP server to the Gemini CLI configuration or environment used by your local session.

Run this command from your project:

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

Step 2: Reload the agent

Restart the agent so it picks up the new MCP server definition.

Step 3: Test it

Run your first prompt, for example: Show me all sellers and vendors from DataDoe.

Starter Project

If you want a starting point, use our Gemini CLI template repository.

Fallback with mcp-remote

If you have problems setting up MCP with gemini mcp add, use the fallback proxy setup below:

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:

Powered by

DataDoe