@henkas/orderfood 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # @henkas/orderfood
2
+
3
+ [![CI](https://github.com/henkas/orderfood/actions/workflows/ci.yml/badge.svg)](https://github.com/henkas/orderfood/actions/workflows/ci.yml)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/henkas/orderfood/blob/main/LICENSE)
5
+
6
+ MCP server that lets AI agents search restaurants and place food delivery orders on **Uber Eats** and **Thuisbezorgd** via 11 MCP tools.
7
+
8
+ > **Legal:** Reverse engineering for interoperability is explicitly permitted under EU Directive 2009/24/EC Article 6. Personal use and open-source research — not commercial, not affiliated with Uber Eats or Just Eat Takeaway.
9
+
10
+ ## Setup
11
+
12
+ ```bash
13
+ npx @henkas/orderfood setup --platform ubereats
14
+ npx @henkas/orderfood setup --platform thuisbezorgd
15
+ ```
16
+
17
+ Credentials are stored encrypted at `~/.orderfood/` (AES-256-GCM).
18
+
19
+ ## Usage with Claude Code
20
+
21
+ ```bash
22
+ claude mcp add orderfood -- npx @henkas/orderfood
23
+ ```
24
+
25
+ ## Usage with Codex
26
+
27
+ ```bash
28
+ codex mcp add orderfood -- npx @henkas/orderfood
29
+ ```
30
+
31
+ Then talk to your agent:
32
+
33
+ ```
34
+ Find Italian restaurants near Amsterdam Centraal on Thuisbezorgd
35
+ Add a Margherita pizza from [restaurant] to my Uber Eats cart
36
+ What's in my Thuisbezorgd cart?
37
+ Show my Uber Eats payment methods
38
+ ```
39
+
40
+ ## Tools
41
+
42
+ | Tool | Description |
43
+ |------|-------------|
44
+ | `search_restaurants` | Find restaurants by location, cuisine, or query |
45
+ | `get_restaurant` | Get full restaurant details and menu |
46
+ | `get_cart` | View current cart |
47
+ | `add_to_cart` | Add an item with options |
48
+ | `clear_cart` | Empty the cart |
49
+ | `get_saved_addresses` | List saved delivery addresses |
50
+ | `get_payment_methods` | List payment methods |
51
+ | `place_order` | Place the current cart as an order |
52
+ | `track_order` | Get live order status |
53
+ | `get_order_history` | List past orders |
54
+ | `cancel_order` | Cancel an active order |
55
+
56
+ All tools accept `platform: "ubereats" | "thuisbezorgd"`.
57
+
58
+ ## Platform support
59
+
60
+ | Capability | Uber Eats | Thuisbezorgd |
61
+ |---|---|---|
62
+ | Search restaurants | ✅ | ✅ |
63
+ | Get restaurant + menu | ✅ | ✅ |
64
+ | Cart management | ✅ | ✅ |
65
+ | Saved addresses | — | ✅ |
66
+ | Payment methods | ✅ | ✅ |
67
+ | Place order | ⚠️ | ⚠️ |
68
+ | Track order | ✅ | 🚧 |
69
+ | Order history | 🚧 | 🚧 |
70
+ | Cancel order | 🚧 | 🚧 |
71
+
72
+ ⚠️ = blocked by browser-based payment flow   🚧 = stub, coming soon
73
+
74
+ ## Requirements
75
+
76
+ Node.js 20+
77
+
78
+ ## Full docs
79
+
80
+ [github.com/henkas/orderfood](https://github.com/henkas/orderfood)