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 aname,color(hex), and eitherimage_path(local file) orimage_url(https). Plussubmitter_nameand optionalsubmitter_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 rightContent-Type -
POST /api/submissions— body includesproduct,image_keys,submitter_name