Fairshop SKU Margins

v0.1.0
io.github.fpavia111-creator/fairshop-sku-margins Checked 4 hours ago Published 3 days ago

Works out contribution margin per SKU and channel from sales, fees, shipping labels and unit costs

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add fairshop-sku-margins -- npx -y fairshop-sku-margins@0.1.0 mcp --root '<exports_folder>'
Add to claude_desktop_config.json
{
  "mcpServers": {
    "fairshop-sku-margins": {
      "args": [
        "-y",
        "fairshop-sku-margins@0.1.0",
        "mcp",
        "--root",
        "<exports_folder>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "fairshop-sku-margins": {
      "args": [
        "-y",
        "fairshop-sku-margins@0.1.0",
        "mcp",
        "--root",
        "<exports_folder>"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "fairshop-sku-margins": {
      "args": [
        "-y",
        "fairshop-sku-margins@0.1.0",
        "mcp",
        "--root",
        "<exports_folder>"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.fairshop-sku-margins]
command = "npx"
args = ["-y", "fairshop-sku-margins@0.1.0", "mcp", "--root", "<exports_folder>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: fairshop_info, fairshop_inspect_input, margins_margins, margins_explain, margins_write_report, margins_draft_pricing_review, margins_request_approve, price_update, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json