Skip to main content
Glama
bonbrainllc

Pantry Buddy MCP

Official
by bonbrainllc

Pantry Buddy MCP

Remote MCP for Pantry Buddy. Personal pantry, shopping lists, cookbook recipes, and saved receipts.

This repository is the public listing for the remote MCP (docs, Cursor config, MIT license, optional stdio bridge). It is not the Pantry Buddy iOS app or backend. There are no production keys here.

Connect

MCP URL

https://bonbrain-be-production.up.railway.app/mcp

Transport

Streamable HTTP (POST)

Auth

Authorization: Bearer pb_YOUR_KEY

Create the key in the Pantry Buddy iOS app: Settings → AI connection. The plaintext is shown once. Revoke or rotate from the same screen (rotate is POST /api/auth/mcp-tokens/:id/rotate). Pantry Buddy stores only a SHA-256 hash.

pb_YOUR_KEY is a placeholder. Paste the full key, including the pb_ prefix, over the entire placeholder. Do not commit a real key.

Related MCP server: Recipe Manager MCP Server

Cursor

Copy mcp.json into ~/.cursor/mcp.json or the project .cursor/mcp.json:

{
  "mcpServers": {
    "pantry-buddy": {
      "url": "https://bonbrain-be-production.up.railway.app/mcp",
      "headers": {
        "Authorization": "Bearer pb_YOUR_KEY"
      }
    }
  }
}

Cursor Marketplace listing needs this public repo. The publish form still requires a Cursor sign-in; this repo is the GitHub half of that submit.

Claude

Claude Code (remote HTTP + Bearer works):

claude mcp add --transport http pantry-buddy https://bonbrain-be-production.up.railway.app/mcp \
  --header "Authorization: Bearer pb_YOUR_KEY"

Limitation: Claude.ai / Cowork / Claude Desktop Connectors UI takes a URL plus optional OAuth client credentials and has no Bearer-header field, so v1 keys cannot be pasted there. Use Claude Code, or the stdio bridge below in claude_desktop_config.json.

Grok

Grok supports remote MCP over Streaming HTTP.

  • App: grok.com/connectors → New Connector → Custom → URL https://bonbrain-be-production.up.railway.app/mcp and Bearer pb_YOUR_KEY.

  • CLI: grok mcp add --transport http pantry-buddy https://bonbrain-be-production.up.railway.app/mcp --header "Authorization: Bearer ${PANTRY_BUDDY_TOKEN}"

  • API: Remote MCP tool with server_url and authorization (https://docs.x.ai/developers/tools/remote-mcp).

Stdio bridge

Only if the client cannot send a remote HTTP URL (some local desktop configs). Requires Node 20+:

PANTRY_BUDDY_TOKEN=pb_YOUR_KEY npx -y github:bonbrainllc/pantry-buddy-mcp

Or npm run mcp:stdio after a local clone. This process forwards stdio to the production /mcp URL. It does not embed secrets.

Tools

Same user-scoped actions as the app (optional pantryId for a shared pantry you already belong to):

Tool

What it does

list_pantry_items

List inventory

add_pantry_item

Add / restock an item

update_pantry_item

Update an item (integer productId)

list_shopping_lists

List lists

create_shopping_list

Create a list

add_shopping_list_item

Add a line

update_shopping_list_item

Check off / edit a line

list_my_recipes

Cookbook

search_ingredients

Catalog search for recipe ingredientId

create_my_recipe

Create a cookbook recipe

update_my_recipe

Update a cookbook recipe

list_receipts

Saved receipts (no image upload)

get_receipt

One receipt + line items (no image bytes)

There is no receipt-camera / image-scan tool.

Not in this repo

  • Pantry Buddy iOS source

  • Bonbrain backend source

  • Railway env

  • Real pb_ keys

Related MCP Connectors

  • Household-aware cooking brain: pantry, meal suggestions, dietary safety, recipes, shopping lists.

  • AI-powered kitchen management — pantry, recipes, meal plans, shopping lists

  • Scraps Kitchen gives any AI agent a persistent, household-aware kitchen memory. Unlike generic chatbot recall, Scraps maintains structured cooking data: what's in your fridge (with freshness tracking), who you cook for (with allergens, dietary restrictions, and preferences), your recipe collection (with cook notes and per-diner ratings), your shopping list, and your kitchen equipment. 27 tools across 6 domains let agents read kitchen context, suggest meals that respect dietary safety, update the pantry after cooking, and build a history of what works for your household. Every interaction makes the data richer. Cooking history, preference signals, kitchen awareness = better suggestions next time. All tools work via oAuth and a free scraps.kitchen account.

  • Your Recipes, Beautifully Kept. weReci MCP server lets Claude and other MCP clients work with your personal weReci cookbook, the recipes you've imported from the web, social video and scanned family books. Interactive UI in the chat. weReci supports MCP Apps, so in clients that support it, tools return live views instead of plain text: recipe cards, shopping lists and your recipe graph. Clients without MCP Apps support get the same results as text. Find and read recipes: search your collection in plain language, open any recipe in full, or get an overview of what's in your cookbook. Cook with them: scale a recipe to any serving count, with cooking adjustments as well as amounts. Get substitution suggestions with ratios and caveats. Explore connections: browse your recipe graph (shared ingredients, techniques and cuisines), trace the connection between two recipes, and look up where a dish sits on the cuisine map. Themed collections: list the themed groups weReci curates from your cookbook, or ask it to reshuffle them. Shop: build a shopping list from one or more recipes, add or update items, and read the list back. Share: email a recipe to someone. Longer jobs like conceit reshuffles run in the background, with tools to check their progress. Everything is scoped to your own cookbook, or to a shared one you've joined.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to read current pantry inventory and low-stock shopping needs, export a shopping queue, and perform idempotent inventory adjustments and catalog link management through remote MCP tools.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP-compatible clients like ChatGPT and Claude to manage a household's shared food inventory, meal plans, recipes, and preferences through natural language, with atomic updates and audit logging.
    -