This repository is a minimal example of using the DataDoe MCP server from Codex 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
- How to start working with it
- Example prompt library starter pack
- Run Codex from Dedicated Launcher
- Fallback: direct key in TOML
- How to get help
- Connect Codex 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.
- Codex CLI + MCP integration guidance for a project-scoped
datadoeserver - Secure secret handling with
.envand.env.example - Repository-specific assistant rules in
AGENTS.md
Before using this setup, install at least one Codex runtime:
- Codex CLI:
npm i -g @openai/codex
- Codex Desktop app:
- Install from Codex App
- 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.
- Clone the repository:
git clone https://github.com/Deltologic/datadoe-mcp-codex cd datadoe-mcp-codex - Copy
.env.exampleto.envand set your real key:DATADOE_MCP_KEY=your_real_key_here
- Configure
.codex/config.tomlto use env-based headers (default, recommended):url = "https://api.datadoe.com/mcp/v1"env_http_headers = { datadoe-mcp-key = "DATADOE_MCP_KEY" }
- Start the interactive launcher (it loads
.envfor you):./scripts/start-codex.sh
- In the launcher menu, choose:
1to open Codex CLI2to open Codex Desktop app
- Optional non-interactive shortcuts:
./scripts/start-codex.sh --cli./scripts/start-codex.sh --desktop./scripts/start-codex.sh --check
- Verify MCP setup in Codex using
codex mcp(or/mcpin TUI) and confirmdatadoeis active. - After successful setup, try an example prompt in the Agent:
Show me all sellers and vendors
To help you start faster with an AI Agent + DataDoe MCP workflow, this repo includes a small prompt library at:
.codex/prompts/EXAMPLES.md
Use it as a starter pack:
- Open
.codex/prompts/EXAMPLES.md. - Copy a prompt block and adjust placeholders (for example
{{seller_name}}) to your account context. - Run the prompt in Codex Desktop app or Codex CLI 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-codex.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-codex.shThe launcher loads .env, exports DATADOE_MCP_KEY into the current process, and then starts Codex CLI or Codex Desktop from the repository root.
Short manual:
# Interactive menu (recommended)
./scripts/start-codex.sh
# Direct launch Codex CLI
./scripts/start-codex.sh --cli
# Direct launch Codex Desktop
./scripts/start-codex.sh --desktop
# Validate env loading + launcher availability only
./scripts/start-codex.sh --check
# Help
./scripts/start-codex.sh --helpIf needed, make it executable once:
chmod +x ./scripts/start-codex.shIf your environment cannot provide DATADOE_MCP_KEY, use direct key fallback in .codex/config.toml:
[mcp_servers.datadoe]
url = "https://api.datadoe.com/mcp/v1"
http_headers = { datadoe-mcp-key = "your_real_key_here" }This fallback is less secure because the real secret is stored in the TOML file.
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
- Codex Docs: openai/codex
- Codex CLI: openai/codex/cli