MCP server for ordering pizza through Domino's API
Project description
<<<<<<< HEAD
MCPizza - Domino's Pizza Ordering MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to order pizza using the unofficial Domino's API.
🍕 Features
- Store Locator: Find nearest Domino's stores by address/zip code
- Menu Browsing: Search for pizzas, wings, sides, and more
- Order Management: Add items to cart and calculate totals
- Customer Info: Handle delivery addresses and contact information
- Safe Preview: Prepare orders without placing them (safety first!)
🚀 Quick Demo
# See it in action with mock data
python mcpizza/demo_no_real_api.py
📦 Installation
See INSTALLATION.md for detailed setup instructions.
Quick start:
# Install uv package manager
curl -LsSf https://astral.sh/uv/install.sh | sh
# Setup environment
uv venv && source .venv/bin/activate
uv pip install pizzapi requests pydantic
# Run demo
python mcpizza/demo_no_real_api.py
🛠 Available MCP Tools
| Tool | Description |
|---|---|
find_dominos_store |
Find nearest Domino's location |
get_store_menu_categories |
Get menu categories |
search_menu |
Search for specific menu items |
add_to_order |
Add items to your pizza order |
view_order |
View current order contents |
set_customer_info |
Set delivery information |
calculate_order_total |
Get order total with tax/fees |
prepare_order |
Prepare order for placement (safe mode) |
🎯 Usage Examples
# Find store
result = server.call_tool("find_dominos_store", {"address": "10001"})
# Search for pizza
result = server.call_tool("search_menu", {"query": "pepperoni pizza"})
# Add to order
result = server.call_tool("add_to_order", {
"item_code": "M_PEPPERONI",
"quantity": 1
})
⚠️ Safety & Disclaimers
- Real order placement is DISABLED by default for safety
- Uses unofficial Domino's API for educational purposes only
- All order functionality works except final placement step
- Use responsibly and in accordance with Domino's terms of service
🔧 Integration
Ready to integrate with MCP clients! The server provides a complete pizza ordering workflow while maintaining safety through disabled order placement.
📝 Requirements
- Python 3.9+
- pizzapi package for Domino's API access
- Valid address for store lookup
- Internet connection for API calls
Built with ❤️ for the MCP ecosystem
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_grahammcbain_mcpizza-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_grahammcbain_mcpizza-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f88d97a6d1d4cedbb9d5490a5a161bf11eca8579d2c38081fc86f0addaa32901
|
|
| MD5 |
666da1c868beefa5e8206d18347bcbe7
|
|
| BLAKE2b-256 |
193967f849ee2a2330090e56bd04b42a51ee881596e9c17a11dacdb1e82d4a7b
|
File details
Details for the file iflow_mcp_grahammcbain_mcpizza-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_grahammcbain_mcpizza-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3393ddc15bdcd4f3ba89711f52e1d33c43d5abfb20130cd9cea87a36a757f681
|
|
| MD5 |
91fd2be90b96d28a591b90da5800bc14
|
|
| BLAKE2b-256 |
480ef06eee98502144a64de6f36df8031150c8640d2b076ad92c563573f0ae8c
|