MCP Hub
Back to servers

whale-mcp

SwagManager MCP Server — manage inventory, orders, analytics from Claude Code/Desktop

glama
Updated
Feb 8, 2026

@swagmanager/mcp

MCP (Model Context Protocol) server for SwagManager — manage inventory, orders, analytics, customers, and more from Claude Code or Claude Desktop.

Setup

npm install -g @swagmanager/mcp

Environment Variables

Create a .env file or set these environment variables:

SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
DEFAULT_STORE_ID=your-store-uuid

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "swagmanager": {
      "command": "swagmanager-mcp",
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_ROLE_KEY": "your-key",
        "DEFAULT_STORE_ID": "your-store-uuid"
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop MCP config:

{
  "mcpServers": {
    "swagmanager": {
      "command": "npx",
      "args": ["@swagmanager/mcp"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_ROLE_KEY": "your-key",
        "DEFAULT_STORE_ID": "your-store-uuid"
      }
    }
  }
}

Tools

Tools are loaded dynamically from the ai_tool_registry database table. The default set includes:

ToolDescription
analyticsSales analytics with flexible date ranges
inventoryAdjust quantities, set stock, transfer between locations
inventory_queryQuery inventory summary, velocity, by location
inventory_auditStart, count, complete inventory audits
ordersFind orders, get details, purchase orders
purchase_ordersCreate, approve, receive, cancel purchase orders
transfersTransfer inventory between locations
productsFind, create, update products and pricing
customersFind, create, update customers
collectionsManage product collections
suppliersFind and list suppliers
locationsFind store locations
emailSend emails, manage inbox
alertsLow stock and pending order alerts
documentsGenerate COAs and documents
audit_trailView audit logs

Development

git clone https://github.com/floradistro/whale-mcp.git
cd whale-mcp
npm install
cp .env.example .env  # fill in your credentials
npm run dev

License

MIT

Reviews

No reviews yet

Sign in to write a review