Side project / 03

Dux MCP

An integration with boundaries.

Overview

Authenticated analytics, resumable data synchronization, and local purchase proposals.

Key capabilities

  • Expose analytics tools through authenticated, scoped MCP access.
  • Synchronize upstream data with bounded workers and durable checkpoints.
  • Prepare purchase drafts locally for review without submitting upstream orders.

Under the hood

Technical decisions

Separate reading from proposing

An allowlisted upstream read surface feeds PostgreSQL. Purchase proposals remain local records rather than upstream transactions.

Make incomplete data visible

Resumable synchronization and freshness checks keep partial history and stale stock from silently becoming complete answers.

Current limitations

Connection validation is ongoing. Historical coverage can remain incomplete while imports run; purchase analysis depends on fresh, sufficiently complete data.

Stack

  • Deno
  • TypeScript
  • PostgreSQL
  • MCP
  • Auth0