myhotlunchbox-mcp

v1.3.1
io.github.chrischall/myhotlunchbox-mcp Checked 9 hours ago Published 24 days ago

My Hot Lunchbox school lunch ordering for Claude — calendar, cart, orders, payments

Values you need

VariableWhat it is
MYHOTLUNCHBOX_USERNAMErequired Email address you sign in to ordernow.myhotlunchbox.com with
MYHOTLUNCHBOX_PASSWORDrequired secret Password for that My Hot Lunchbox account
MYHOTLUNCHBOX_BASE_URLoptional Override the app origin (defaults to https://ordernow.myhotlunchbox.com)
MYHOTLUNCHBOX_OUTPUT_DIRoptional Local installs: directory the print tools write PDFs into (default ~/Downloads). Ignored when hosted, where reports come back as download links
MYHOTLUNCHBOX_TOKEN_CACHEoptional Set to false to disable the on-disk token cache and re-authenticate on every process start. Defaults to enabled.
MYHOTLUNCHBOX_TOKEN_FILEoptional Absolute path for the token cache file. Defaults to $MCP_DATA_DIR/.myhotlunchbox-mcp/token.json.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add myhotlunchbox-mcp -e 'MYHOTLUNCHBOX_PASSWORD=<MYHOTLUNCHBOX_PASSWORD>' -e 'MYHOTLUNCHBOX_USERNAME=<MYHOTLUNCHBOX_USERNAME>' -- npx -y myhotlunchbox-mcp@1.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "myhotlunchbox-mcp": {
      "args": [
        "-y",
        "myhotlunchbox-mcp@1.3.1"
      ],
      "command": "npx",
      "env": {
        "MYHOTLUNCHBOX_PASSWORD": "<MYHOTLUNCHBOX_PASSWORD>",
        "MYHOTLUNCHBOX_USERNAME": "<MYHOTLUNCHBOX_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "myhotlunchbox-mcp": {
      "args": [
        "-y",
        "myhotlunchbox-mcp@1.3.1"
      ],
      "command": "npx",
      "env": {
        "MYHOTLUNCHBOX_PASSWORD": "<MYHOTLUNCHBOX_PASSWORD>",
        "MYHOTLUNCHBOX_USERNAME": "<MYHOTLUNCHBOX_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MYHOTLUNCHBOX_PASSWORD",
      "id": "myhotlunchbox-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "MYHOTLUNCHBOX_USERNAME",
      "id": "myhotlunchbox-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "myhotlunchbox-mcp": {
      "args": [
        "-y",
        "myhotlunchbox-mcp@1.3.1"
      ],
      "command": "npx",
      "env": {
        "MYHOTLUNCHBOX_PASSWORD": "${input:myhotlunchbox-password}",
        "MYHOTLUNCHBOX_USERNAME": "${input:myhotlunchbox-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.myhotlunchbox-mcp]
command = "npx"
args = ["-y", "myhotlunchbox-mcp@1.3.1"]
env = { "MYHOTLUNCHBOX_PASSWORD" = "<MYHOTLUNCHBOX_PASSWORD>", "MYHOTLUNCHBOX_USERNAME" = "<MYHOTLUNCHBOX_USERNAME>" }

For AI agents

  1. Ask the user for: MYHOTLUNCHBOX_USERNAME, MYHOTLUNCHBOX_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: mhlb_whoami, mhlb_session_reset, mhlb_list_students, mhlb_get_student_form, mhlb_new_student_form, mhlb_create_student, mhlb_update_student, mhlb_delete_student, ….
  5. 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