Sicilian agricultural value-chain terminal with Fabric IQ, Foundry IQ, Work IQ, and a custom MCP server (agrivalue-iq).
Read AGENTS.md and docs/architecture.md before large changes.
- Server:
mcp-server.js— registered in.vscode/mcp.json - Invoke in Copilot Chat:
@agrivalue-iq get_market_intelligence crop="Olive Oil" - Tools:
get_market_intelligence,generate_supply_contract,evaluate_crop_quality
- Business logic lives in
lib/fabric-iq.jsandlib/iq-data.js; expose viaserver.jsand MCP. - Crop enum:
CROP_NAMESinlib/fabric-iq.js— keep MCP JSON schema in sync. - Frontend uses Tailwind CDN +
public/css/app.css; demo teleprompter styles are inline indemo.html.
- Never suggest committing
.envor real credentials. - Use
.env.examplefor documentation only.
Run npm test after changing optimization, contracts, or IQ data. Tests live in tests/.