mcpizza

GrahamMcBain/mcpizza

3.3

If you are the rightful owner of mcpizza and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCPizza is an MCP server designed to facilitate AI assistants in ordering pizza through the unofficial Domino's API.

MCPizza is a Model Context Protocol server that provides a seamless interface for AI assistants to interact with Domino's Pizza services. It allows users to locate stores, browse menus, manage orders, and handle customer information efficiently. The server is built with safety in mind, ensuring that real order placements are disabled by default to prevent unintended transactions. This server is ideal for educational purposes and showcases the potential of integrating AI with real-world services. By leveraging the unofficial Domino's API, MCPizza offers a comprehensive pizza ordering workflow while adhering to safety protocols. It is a valuable tool for developers looking to explore AI-driven service interactions.

Features

  • Store Locator: Easily find the nearest Domino's stores using an address or zip code.
  • Menu Browsing: Search and explore a variety of menu items including pizzas, wings, and sides.
  • Order Management: Add items to the cart, view order contents, and calculate totals with taxes and fees.
  • Customer Info Handling: Manage delivery addresses and contact information for seamless order processing.
  • Safe Preview: Prepare orders without placing them, ensuring safety and preventing accidental purchases.

Usages

local integration stdio

python
mcp.run(transport='stdio')  # Tools defined via @mcp.tool() decorator

local integration ide plugin

{
  "mcpServers": {
    "mcpizza": {
      "command": "python",
      "args": ["mcpizza.py"]
    }
  }
}

remote integration sse

python
mcp.run(transport='sse', host="0.0.0.0", port=8000)  # Specify SSE endpoint

remote integration streamable http

yaml
paths:
  /mcp:
    post:
      x-ms-agentic-protocol: mcp-streamable-1.0  # Copilot Studio integration

platform integration github

{"command": "docker", "args": ["run", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"]}

development framework fastmcp

python
from mcp.server import FastMCP
app = FastMCP('demo')
@app.tool()
async def query(): ...

Tools

  1. find_dominos_store

    Find nearest Domino's location

  2. get_store_menu_categories

    Get menu categories

  3. search_menu

    Search for specific menu items

  4. add_to_order

    Add items to your pizza order

  5. view_order

    View current order contents

  6. set_customer_info

    Set delivery information

  7. calculate_order_total

    Get order total with tax/fees

  8. prepare_order

    Prepare order for placement (safe mode)