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.
- Sign in at pantrypersona.com
- Go to Settings → API Keys
- Click "Create new key", give it a name like "OpenClaw"
- Copy 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/api/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.
- Open the messaging app you use with OpenClaw (WhatsApp, Telegram, Discord, etc.)
- Ask "What's in my pantry?" or "Plan dinners for the week"
- OpenClaw will route the request through Pantry Persona
Try these prompts to get started
Click any prompt to copy 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