{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "bighadj22-codflow--run-store-orders-with-ai-agent",
 "repo": "bighadj22/codflow",
 "repo_url": "https://github.com/bighadj22/codflow",
 "repo_slug": "bighadj22-codflow",
 "title": "Let an AI agent manage store orders through MCP",
 "page_title": "How to let an AI agent manage store orders through MCP with Codflow",
 "summary": "Connect Cursor or another MCP client to your CodFlow store to review and update orders, stock and products.",
 "who": "A merchant who wants an AI assistant to handle daily order and inventory work inside their own store.",
 "problem": "Daily order, stock and product updates take time in the dashboard, and the merchant wants an assistant to do them with permission checks.",
 "outcome": "An MCP-connected assistant that works on store data within the RBAC scopes you grant, with confirmation before sensitive changes.",
 "steps": [
  "Complete the local setup from the codflow-setup runbook so the dashboard and backend are running.",
  "In the dashboard, open MCP agent connection management and create a connection for your agent.",
  "Connect Cursor (or another supported MCP client) and complete the OAuth login relay from the dashboard.",
  "Ask the agent to list recent orders, and confirm any write action it proposes through the elicitation prompt."
 ],
 "agent_prompt": "Using the MCP connection from the CodFlow repo at https://github.com/bighadj22/codflow, list the 10 most recent orders in the store at <store URL>. Expected output: a table of order ID, status and total. Verify that the agent did not change any order status.",
 "agents": [
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "3 hours",
 "basis": "readme",
 "caveat": "The README lists Claude, Cursor, ChatGPT and LibreChat as compatible, but the exact MCP endpoint setup for each client is not described in the README.",
 "category": "Sales and marketing",
 "tags": [
  "Sales and marketing"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 22.12+ and npm",
  "Wrangler CLI (npm install -g wrangler)",
  "A free Cloudflare account",
  "Carrier and Meta credentials if you connect delivery or ads (optional)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The MCP connection uses OAuth login and team API keys, so scope the granted permissions tightly and revoke unused connections."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bighadj22-codflow/run-store-orders-with-ai-agent/",
 "md": "https://dedupedai.com/use-cases/bighadj22-codflow/run-store-orders-with-ai-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bighadj22-codflow--run-store-orders-with-ai-agent.json",
 "api_version": "v1"
}
