Commit dbd06fe
authored
feat(mcp)!: drop lookup_order tool from MCP surface (#42)
`GET /orders/lookup` is StatusPro's customer-verification path — requires `number` + `email` because email is the auth factor for unauthenticated customer self-service. With a Bearer-token MCP caller, the email requirement adds friction without security benefit.
Removes the `lookup_order` MCP tool. `list_orders(search="…")` matches partial order number, name, or customer fields, which covers the operational lookup-by-number flow without needing customer email. The `Orders.lookup()` Python client helper is retained.
Closes #35.
BREAKING CHANGE: the `lookup_order` MCP tool no longer exists. Use `list_orders(search=…)` or `get_order(id=…)`.1 parent f4c46b0 commit dbd06fe
3 files changed
Lines changed: 8 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | 226 | | |
228 | 227 | | |
229 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
| |||
273 | 278 | | |
274 | 279 | | |
275 | 280 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 281 | | |
292 | 282 | | |
293 | 283 | | |
| |||
0 commit comments