@scavio/mcp-server 0.26.3 → 0.26.4
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 +5 -1
- package/dist/tools/heb.js +9 -5
- package/dist/tools/heb.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -733,7 +733,11 @@ not something Costco publishes, and only items Costco lists online are covered.
|
|
|
733
733
|
| `get_heb_stores` | Store locator by ZIP or city: address, hours, pharmacy, fulfillment channels, distance |
|
|
734
734
|
|
|
735
735
|
2 credits per call. HEB is a Texas-based grocery chain. Pass `product_url` (from
|
|
736
|
-
`search_heb`) or `slug` + `product_id` for product detail.
|
|
736
|
+
`search_heb`) or `slug` + `product_id` for product detail. Pass `store_id` (the
|
|
737
|
+
`store_number` from `get_heb_stores`, e.g. `"441"`) to `search_heb` or
|
|
738
|
+
`get_heb_product` for that store's prices, stock, aisle location and assortment;
|
|
739
|
+
the store used is echoed in `data.store`, and `product_id` alone is enough with a
|
|
740
|
+
`store_id`. US only.
|
|
737
741
|
|
|
738
742
|
### Kroger
|
|
739
743
|
|
package/dist/tools/heb.js
CHANGED
|
@@ -11,21 +11,25 @@ export function registerHebTools(server, getClient) {
|
|
|
11
11
|
return handleApiError(err);
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
server.tool("search_heb", `Search HEB grocery products by keyword. Returns price (cents), list price, sale status, unit price, size, UPC, stock, EBT/SNAP eligibility, category, aisle location and product URL. 2 credits/call.`, {
|
|
14
|
+
server.tool("search_heb", `Search HEB grocery products by keyword. Returns price (cents), list price, sale status, unit price, size, UPC, stock, EBT/SNAP eligibility, category, aisle location and product URL. Pass store_id (from get_heb_stores) for one store's prices, stock and assortment. 2 credits/call.`, {
|
|
15
15
|
query: z.string().min(1).max(200)
|
|
16
16
|
.describe("Search keywords, e.g. 'organic milk'."),
|
|
17
17
|
page: z.number().int().min(1).max(100).optional()
|
|
18
18
|
.describe("Page, 1-based."),
|
|
19
19
|
page_size: z.number().int().min(1).max(60).optional()
|
|
20
|
-
.describe("Results per page, max 60. Default
|
|
20
|
+
.describe("Results per page, max 60. Default 60."),
|
|
21
|
+
store_id: z.union([z.string().regex(/^\d{1,5}$/), z.number().int().positive()]).optional()
|
|
22
|
+
.describe("HEB store number from get_heb_stores (field store_number), e.g. '441'. Prices, stock, aisle location and assortment come from that store and the store used is echoed in data.store. Omit for HEB's default store."),
|
|
21
23
|
}, post("search"));
|
|
22
|
-
server.tool("get_heb_product", `Full HEB product detail: nutrition facts (serving size, calories, nutrients with daily values), ingredients, description, images, similar products, coupons, EBT/SNAP eligibility, breadcrumbs, aisle location. Pass product_url (from search_heb) or slug + product_id. 2 credits.`, {
|
|
24
|
+
server.tool("get_heb_product", `Full HEB product detail: nutrition facts (serving size, calories, nutrients with daily values), ingredients, description, images, similar products, coupons, EBT/SNAP eligibility, breadcrumbs, aisle location. Pass product_url (from search_heb) or slug + product_id; with store_id, product_id alone works and price, stock and aisle come from that store. 2 credits.`, {
|
|
23
25
|
product_url: z.string().min(1).max(500).optional()
|
|
24
26
|
.describe("Full or relative product URL from heb.com, e.g. '/product-detail/central-market-organics-whole-milk-1-gal/931316'. Preferred."),
|
|
25
27
|
product_id: z.string().min(1).max(20).optional()
|
|
26
|
-
.describe("HEB product id (numeric id at the end of a product URL). Requires slug."),
|
|
28
|
+
.describe("HEB product id (numeric id at the end of a product URL). Requires slug, unless store_id is set."),
|
|
27
29
|
slug: z.string().min(1).max(300).optional()
|
|
28
|
-
.describe("Product slug (readable part of the URL). Required with product_id."),
|
|
30
|
+
.describe("Product slug (readable part of the URL). Required with product_id, unless store_id is set."),
|
|
31
|
+
store_id: z.union([z.string().regex(/^\d{1,5}$/), z.number().int().positive()]).optional()
|
|
32
|
+
.describe("HEB store number from get_heb_stores (field store_number), e.g. '441'. Price, stock and aisle location come from that store and the store used is echoed in data.store. Omit for HEB's default store."),
|
|
29
33
|
}, post("product"));
|
|
30
34
|
server.tool("get_heb_stores", `Find HEB stores near a US ZIP code or city. Returns store number, address, phone, hours, pharmacy availability, fulfillment channels (curbside, delivery, in-store), distance and store URL. 2 credits.`, {
|
|
31
35
|
zip: z.string().regex(/^\d{5}$/).optional()
|
package/dist/tools/heb.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heb.js","sourceRoot":"","sources":["../../src/tools/heb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,UAAU,gBAAgB,CAAC,MAAiB,EAAE,SAA6B;IAC/E,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,EAAE,MAA+B,EAAE,EAAE;QACvE,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,SAAS,EAAE,CAAC,IAAI,CAAC,eAAe,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC;YACnE,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,cAAc,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,CAAC,IAAI,CACT,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"heb.js","sourceRoot":"","sources":["../../src/tools/heb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,UAAU,gBAAgB,CAAC,MAAiB,EAAE,SAA6B;IAC/E,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,EAAE,MAA+B,EAAE,EAA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": "io.github.scavio-ai/scavio-mcp",
|
|
5
5
|
"description": "MCP server connecting AI agents to Scavio: web search, page extraction, and structured e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing data. 274 tools across 41 platforms plus Extract, site map, crawl and batch extraction, one API key.",
|
|
6
6
|
"type": "module",
|