-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
329 lines (289 loc) Β· 9.31 KB
/
Copy pathindex.html
File metadata and controls
329 lines (289 loc) Β· 9.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MCPizza - AI-Powered Pizza Ordering</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.hero {
text-align: center;
padding: 60px 0;
color: white;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero .tagline {
font-size: 1.3rem;
margin-bottom: 40px;
opacity: 0.9;
}
.pizza-emoji {
font-size: 4rem;
margin-bottom: 20px;
display: block;
}
.cta-button {
display: inline-block;
background: #ff6b35;
color: white;
padding: 15px 30px;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
.cta-button:hover {
background: #e55a2e;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}
.features {
background: white;
padding: 80px 0;
}
.features h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 60px;
color: #333;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.feature-card {
text-align: center;
padding: 30px 20px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 20px;
display: block;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: #333;
}
.feature-card p {
color: #666;
line-height: 1.6;
}
.tech-section {
background: #f8f9fa;
padding: 80px 0;
}
.tech-section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 40px;
color: #333;
}
.tech-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
max-width: 800px;
margin: 0 auto;
}
.tech-item {
background: white;
padding: 25px;
border-radius: 10px;
text-align: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.tech-item h3 {
color: #667eea;
margin-bottom: 10px;
}
.getting-started {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 80px 0;
text-align: center;
}
.getting-started h2 {
font-size: 2.5rem;
margin-bottom: 30px;
}
.code-block {
background: rgba(0,0,0,0.3);
padding: 25px;
border-radius: 10px;
font-family: 'Monaco', 'Menlo', monospace;
font-size: 0.9rem;
text-align: left;
margin: 30px auto;
max-width: 600px;
overflow-x: auto;
}
.github-link {
display: inline-block;
background: rgba(255,255,255,0.2);
padding: 12px 25px;
border-radius: 25px;
color: white;
text-decoration: none;
margin-top: 20px;
transition: background 0.3s ease;
}
.github-link:hover {
background: rgba(255,255,255,0.3);
}
.footer {
background: #2c3e50;
color: white;
text-align: center;
padding: 40px 0;
}
.disclaimer {
background: #ffc107;
color: #856404;
padding: 15px 0;
text-align: center;
font-weight: 500;
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero .tagline {
font-size: 1.1rem;
}
.features h2,
.tech-section h2,
.getting-started h2 {
font-size: 2rem;
}
}
</style>
</head>
<body>
<section class="hero">
<div class="container">
<span class="pizza-emoji">π</span>
<h1>MCPizza</h1>
<p class="tagline">AI-Powered Pizza Ordering with Model Context Protocol</p>
<a href="#getting-started" class="cta-button">Get Started</a>
</div>
</section>
<div class="disclaimer">
β οΈ For educational purposes only. Real order placement is disabled by default for safety.
</div>
<section class="features">
<div class="container">
<h2>Features</h2>
<div class="features-grid">
<div class="feature-card">
<span class="feature-icon">π</span>
<h3>Store Locator</h3>
<p>Find the nearest Domino's stores by address or zip code with precise location matching.</p>
</div>
<div class="feature-card">
<span class="feature-icon">π</span>
<h3>Menu Browsing</h3>
<p>Search and browse complete menu categories including pizzas, wings, sides, and desserts.</p>
</div>
<div class="feature-card">
<span class="feature-icon">π</span>
<h3>Order Management</h3>
<p>Add items to cart, customize options, and calculate totals with tax and delivery fees.</p>
</div>
<div class="feature-card">
<span class="feature-icon">π€</span>
<h3>Customer Info</h3>
<p>Handle delivery addresses and contact information securely for order preparation.</p>
</div>
<div class="feature-card">
<span class="feature-icon">π</span>
<h3>Safe Preview</h3>
<p>Prepare and review orders without placing them - safety first approach built-in.</p>
</div>
<div class="feature-card">
<span class="feature-icon">π€</span>
<h3>MCP Integration</h3>
<p>Full Model Context Protocol support for seamless AI assistant integration.</p>
</div>
</div>
</div>
</section>
<section class="tech-section">
<div class="container">
<h2>Built With</h2>
<div class="tech-grid">
<div class="tech-item">
<h3>Python 3.9+</h3>
<p>Modern Python with full async support</p>
</div>
<div class="tech-item">
<h3>Model Context Protocol</h3>
<p>Standardized AI assistant integration</p>
</div>
<div class="tech-item">
<h3>Domino's API</h3>
<p>Unofficial API for pizza ordering</p>
</div>
<div class="tech-item">
<h3>Pydantic</h3>
<p>Data validation and serialization</p>
</div>
</div>
</div>
</section>
<section class="getting-started" id="getting-started">
<div class="container">
<h2>Quick Start</h2>
<p>Get MCPizza running in minutes:</p>
<div class="code-block">
# 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
</div>
<a href="https://github.com/GrahamMcBain/mcpizza" class="github-link" target="_blank">
π View on GitHub
</a>
</div>
</section>
<footer class="footer">
<div class="container">
<p>© 2025 MCPizza - Built with β€οΈ for the MCP ecosystem</p>
<p>Use responsibly and in accordance with Domino's terms of service</p>
</div>
</footer>
</body>
</html>