This repository is a minimal example of using the DataDoe MCP server from Gemini CLI for Amazon-focused workflows.
- What you can do with this repo
- What This Repo Includes
- Prerequisites
- How to get a DataDoe subscription and get MCP Key
- Configure DataDoe MCP in Gemini CLI
- Example prompt library starter pack
- Run Gemini CLI from Dedicated Launcher
- Gemini Settings (Official Model)
- DataDoe MCP Configuration Options
- How to get help
- Connect Gemini CLI to DataDoe MCP in a secure way.
- Ask Amazon seller questions using DataDoe-backed data.
- Reuse this setup as a template for new Amazon-focused assistant projects.
- Gemini CLI MCP setup guidance for a project-scoped
datadoeserver - secure secret handling with
.envand.env.example - repository-specific assistant rules in
GEMINI.md
- Gemini CLI installed and working (
gemini --version) - A valid DataDoe subscription
- A generated DataDoe MCP key
If gemini --version shows nothing or gemini is not found, install and verify Gemini CLI:
npm install -g @google/gemini-cli
hash -r
gemini --versionIf the command is still not found, add npm global binaries to your shell PATH (for zsh):
echo 'export PATH="$(npm config get prefix)/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
which gemini
gemini --versionIf your organization uses Google Workspace subscription access for Gemini CLI, authenticate with your Workspace account:
- Run
gemini - Choose Sign in with Google
- Complete browser sign-in with your Workspace account
- If needed later, run
/authinside Gemini CLI to switch authentication method
- Go to app.datadoe.com.
- Create an account.
- Purchase a subscription.
- Accept the Terms and Conditions and Privacy Policy.
- Go to the
Integrationsmodule. - Click the
MCPtile (this navigates to/integrations/mcp). - Click
MCP Key, then add a name and expiration date, and clickCreate. - Copy the key and store it in a secure secret manager or another safe location.
Add DataDoe as a project-scoped MCP server:
gemini mcp add --transport http --scope project --header "datadoe-mcp-key: YOUR_API_KEY" datadoe "https://mcp.datadoe.com/mcp/v1"Requires Gemini CLI 0.24.0 or newer (released 2026-01-14); verified on 0.55.1. On older versions, use the mcp-remote proxy described below.
Server shows as Disabled? When Gemini CLI's folder-trust feature is active, project-scoped MCP servers do not load until you trust the folder. Open Gemini CLI in the project directory, accept the trust prompt, then check again with
gemini mcp list.
What this does:
- adds a project-scoped MCP server named
datadoe - creates/updates
.gemini/settings.jsonfor shared project configuration - keeps setup consistent for all collaborators
Reference: Gemini CLI MCP docs
and mcp-remote usage docs
To help you start faster with an AI Agent + DataDoe MCP workflow, this repo includes a small prompt library at:
.gemini/prompts/EXAMPLES.md
Use it as a starter pack:
- Open
.gemini/prompts/EXAMPLES.md. - Copy a prompt block and adjust placeholders (for example
{{seller_name}}) to your account context. - Run the prompt in Gemini CLI shell chat with DataDoe MCP enabled.
- Save your own high-performing prompts in the same file to build a reusable internal playbook.
This repository includes a dedicated launcher script:
Warning
scripts/start-gemini.sh is the protected launcher for this repository.
Do not edit, replace, or "quick fix" it unless you are intentionally changing launcher behavior.
./scripts/start-gemini.shThe launcher loads .env, exports DATADOE_MCP_KEY into the current process, syncs .gemini/settings.json to the repository mcp-remote configuration, and then starts Gemini CLI from the repository root.
Short manual:
# Interactive menu (recommended)
./scripts/start-gemini.sh
# Direct launch Gemini CLI
./scripts/start-gemini.sh --cli
# Validate env loading + Gemini CLI availability only
./scripts/start-gemini.sh --check
# Help
./scripts/start-gemini.sh --helpIf needed, make it executable once:
chmod +x ./scripts/start-gemini.shGemini CLI supports user and project settings scopes:
- User scope:
~/.gemini/settings.json(personal defaults across repositories) - Project scope:
.gemini/settings.json(shared with this repository team) - Project memory/instructions:
GEMINI.md(team-shared assistant guidance)
Recommended workflow:
- Use
/settingsinside Gemini CLI to create or edit settings safely. - Keep team-wide MCP setup in
.gemini/settings.json. - Use
/modelto inspect or set the active model for your session. - Use
/mcpto verify MCP server status and discovered tools.
You can configure DataDoe MCP in either of these ways.
Option A: mcp-remote proxy config, used by the launcher script in this repository (needed on Gemini CLI older than 0.24.0):
{
"mcpServers": {
"datadoe": {
"command": "bash",
"args": [
"-lc",
"npx -y mcp-remote@latest https://mcp.datadoe.com/mcp/v1 --transport http-only --header \"datadoe-mcp-key:${DATADOE_MCP_KEY}\""
],
"env": {
"DATADOE_MCP_KEY": "$DATADOE_MCP_KEY"
}
}
}
}Option B: direct Gemini MCP HTTP setup (recommended on Gemini CLI 0.24.0 and newer):
gemini mcp add --transport http --scope project --header "datadoe-mcp-key: YOUR_API_KEY" datadoe "https://mcp.datadoe.com/mcp/v1"./scripts/start-gemini.sh loads .env and writes the mcp-remote configuration before launching.
Heads-up: the launcher rewrites
.gemini/settings.jsonon every run. If you configured the server withgemini mcp add, usegeminidirectly instead of the launcher, or your configuration will be replaced.
Caution
Treat DATADOE_MCP_KEY like a password. Do not publish repositories, screenshots, or logs that contain this key.
Never commit real keys to git.
If a key is exposed, rotate it immediately.
- Email: contact@datadoe.com
- Gemini CLI docs: geminicli.com/docs
- Gemini CLI commands: geminicli.com/docs/reference/commands