Keyprog — E-commerce SaaS image 1
Keyprog — E-commerce SaaS image 2
  • Role:

    Principal AI Engineer

  • Period:

    01/2024 — 10/2025

  • Stack:

    Node.js, TypeScript, Directus, MCP, Tavily, PostgreSQL, Redis, Nginx, Stripe

  • URL:

    keyprog.pt

Keyprog — E-commerce SaaS

Principal AI engineer on Keyprog, an e-commerce platform with dropshipping for electrical devices in the automotive industry. Scalable backend with Directus headless CMS and a React/TypeScript frontend supporting real-time data processing and full CRUD.

Highlights

  • Directus headless Visual Editor: integrated the Directus Visual Editor (@directus/visual-editing v2) into a Next.js 15 / React 19 storefront for in-context, live editing of headless content — editors update production pages directly against the CMS.
  • MCP server (published on npm): designed and shipped @staminna/directus-mcp-server (v12) — 29+ tools, TypeScript, WebSocket and full Directus API coverage — so AI coding agents and product agents can query, mutate and reason over a Directus backend in natural language.
  • Directus Marketplace extension: built and published @staminna/directus-extension-typeform — bidirectional Typeform integration with one-shot form import, Flow operations over the full Typeform API and webhook sync with auto-mapped collections.
  • CI/CD tooling (published on npm): authored cicd-mcp-pipeline — an MCP server for multi-environment CI/CD pipeline management over Docker and SSH.
  • RAG & AI: retrieval pipelines over product and content data with Tavily web search, structured prompting to cut hallucinations on catalog tasks, and MLflow-based evals.
  • Testing & quality: unit, functional and integration suites with coverage gates and a TDD approach on critical flows.
  • Containerised stack: PostgreSQL, Redis caching and Nginx reverse proxy with load balancing; secured with SSL/TLS and two-factor authentication.
  • E-commerce features: Stripe payments with automated transactional emails, order confirmations and invoice generation; real-time product / inventory updates via webhook architecture.
  • Access control: 4-tier RBAC (Admin, Editor, Client, Public) with JWT, OAuth2 and OpenID.
  • DevOps: GitHub Actions pipelines with Husky hooks and Trufflehog secret scanning.