What you'll need
- OpenClaw gateway installed and running locally or on a server
- A Pantry Persona API key (OAuth browser flow is not supported by OpenClaw)
Generate a Pantry Persona API key
Create an API key from your Pantry Persona dashboard. The key is shown once, so copy it somewhere safe.
- 1Sign in at pantrypersona.com
- 2Go to Settings → API Keys
- 3Click "Create new key", give it a name like "OpenClaw"
- 4Copy the ppna_... key immediately
Tip: Keys start with ppna_ and are 45 characters long. Treat them like passwords.
Edit your OpenClaw config
Open ~/.openclaw/openclaw.json and add a Pantry Persona entry under mcp.servers.
{
"mcp": {
"servers": {
"pantry-persona": {
"url": "https://www.pantrypersona.com/mcp",
"transport": "streamable-http",
"connectionTimeoutMs": 10000,
"headers": {
"Authorization": "Bearer ppna_YOUR_KEY_HERE"
}
}
}
}
}Tip: Replace ppna_YOUR_KEY_HERE with the key you just created.
Restart the OpenClaw gateway
Reload the config so OpenClaw picks up the new server.
openclaw gateway restartTalk to your kitchen
From any messaging app connected to your OpenClaw, ask about your pantry.
- 1Open the messaging app you use with OpenClaw (WhatsApp, Telegram, Discord, etc.)
- 2Ask "What's in my pantry?" or "Plan dinners for the week"
- 3OpenClaw will route the request through Pantry Persona
You’re connected.
The link went live the moment you authorized inside OpenClaw. There’s nothing else to confirm here, so here’s how to put it to work.
Paste this into OpenClaw to map out your personalized next steps.
More to try in OpenClaw
Click any prompt to copy it
Good to know
- It remembers your pantry, recipes, and meal plans across every conversation.
- Shared with everyone in your household who uses it.
Why an API key?
OpenClaw agents run headlessly, so there's no browser to complete an OAuth flow. API keys let your agent authenticate directly.
MCP Server URL
Once connected, you can
- →Ask your pantry contents from any chat app your agent runs in
- →Plan a week of meals based on what you actually have
- →Build and update shopping lists from anywhere
- →Save recipes from a URL by sending it to your agent
- →Get warnings about food about to expire