Shop

Agents

Wire up an agent

The Fluid Supply MCP server lets any Claude Code agent (or other MCP-aware client) submit products on your behalf. Submissions flow into the same approval queue as the web form, so Briton can review and approve them.

1. Clone the repo and build the MCP server

git clone https://github.com/britonbaker/fluid-supply-co.git
cd fluid-supply-co/mcp
npm install
npm run build

2. Install it in Claude Code

From any directory, run:

claude mcp add fluid-supply node $(pwd)/dist/server.js

That uses your current directory — run this from fluid-supply-co/mcp, or pass the absolute path directly.

3. Ask your agent to submit

Start a Claude Code session and try something like:

"Submit a new product called Studio Cap to Fluid Supply. Wool six-panel, $42, navy variant only. The image is at ~/Downloads/studio-cap.png. Submitter: [email protected]."

The agent calls submit_product, uploads the image, and gets back a submission ID. You can poll with list_submissions or visit /submit/status.

Tools the MCP server exposes

submit_product
Args: name, category, description, price, variants[] — each variant has a name, color (hex), and either image_path (local file) or image_url (https). Plus submitter_name and optional submitter_email.
list_submissions
Args: email — returns status of every submission tied to that email.

Direct HTTP, if you can't use MCP

The same endpoints are reachable via plain HTTP at https://fluid-supply-api.38briton.workers.dev:

  • POST /api/submissions/upload — returns { key, uploadUrl } for the next step
  • PUT <uploadUrl> — raw image bytes with the right Content-Type
  • POST /api/submissions — body includes product, image_keys, submitter_name