Pantry Persona Icon
Pantry Persona

Developer Integration

Connect Pantry Persona to any MCP-compatible client.

MCP Server URL

Transport: Streamable HTTP

JSON Configuration

Works with Claude Code and any client that reads MCP config files.

OAuth (ChatGPT, Claude, browser-based clients)

json
{
  "mcpServers": {
    "pantry-persona": {
      "type": "http",
      "url": "https://www.pantrypersona.com/api/mcp"
    }
  }
}

API Key (Cursor, Windsurf, Cline, headless agents)

json
{
  "mcpServers": {
    "pantry-persona": {
      "type": "http",
      "url": "https://www.pantrypersona.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ppna_YOUR_API_KEY"
      }
    }
  }
}

Generate an API key at Settings → API Keys

CLI Commands

Claude Code

Smithery (any client)

Authentication

Pantry Persona supports OAuth 2.0 and API key authentication.

OAuth 2.0

Browser-based clients (ChatGPT, Claude) handle this automatically. Endpoints for manual configuration:

Authorization: https://www.pantrypersona.com/api/oauth/authorize

Token: https://www.pantrypersona.com/api/oauth/token

Method: PKCE (S256)

API Key

For headless clients that don't support browser-based OAuth (OpenClaw, Cursor, Windsurf, Cline, custom agents):

1. Generate an API key at Settings → API Keys

2. Pass it as a Bearer token in your config headers:

code
"Authorization": "Bearer ppna_YOUR_API_KEY"

Available Tools

18 tools for kitchen management:

Pantry: show_pantry, manage_pantry

Recipes: show_recipes, find_recipes, manage_recipes

Pantry Data: show_pantry, get_pantry, manage_pantry

Meal Planning: show_meal_plan, manage_meal_plan

Shopping: show_shopping, manage_shopping, shop_for_meal_plan

Profiles: show_profiles, manage_profiles

Cooking: post_cook, process_receipt

Collections: manage_collections, manage_preferences

Insights: get_insights, get_next_steps

Pantry Persona on Smithery