@scavio/mcp-server 0.15.6 → 0.16.0
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 +46 -11
- package/dist/tools/costco.d.ts +3 -0
- package/dist/tools/costco.js +166 -0
- package/dist/tools/costco.js.map +1 -0
- package/dist/tools/index.d.ts +5 -5
- package/dist/tools/index.js +8 -6
- package/dist/tools/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|

|
|
4
4
|

|
|
5
5
|
|
|
6
|
-
[Scavio](https://scavio.dev) is a unified [Web Search API](https://scavio.dev/docs/search-api) and MCP server that gives AI agents web search, page extraction, and structured data from e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing sources.
|
|
6
|
+
[Scavio](https://scavio.dev) is a unified [Web Search API](https://scavio.dev/docs/search-api) and MCP server that gives AI agents web search, page extraction, and structured data from e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing sources. 205 tools across 32 platforms plus Extract, one API key.
|
|
7
7
|
|
|
8
|
-
**The 22 platforms added in 0.13.0 are opt-in.** Registering all
|
|
8
|
+
**The 22 platforms added in 0.13.0 are opt-in.** Registering all 205 tools puts 183KB of tool definitions — roughly 45k tokens — into every session before you type anything. So the default is the surface 0.12.x already had, plus Extract: 107 tools, 82KB. Upgrading never removes a tool you were using. Everything else is one env var away: see [Choosing which tools load](#choosing-which-tools-load).
|
|
9
9
|
|
|
10
10
|
## Remote MCP Server
|
|
11
11
|
|
|
@@ -207,8 +207,8 @@ Add to settings (`Cmd+,`):
|
|
|
207
207
|
|
|
208
208
|
## Choosing which tools load
|
|
209
209
|
|
|
210
|
-
Scavio exposes
|
|
211
|
-
roughly
|
|
210
|
+
Scavio exposes 205 tools. Loading all of them costs 183KB of `tools/list` —
|
|
211
|
+
roughly 45k tokens of context in every session before the user has said anything,
|
|
212
212
|
and more tools than some clients will accept at all. So the server registers a
|
|
213
213
|
curated subset by default and lets you pick the rest. The sizes below are
|
|
214
214
|
measured, not estimated: `npm run toolslist` reproduces them.
|
|
@@ -217,10 +217,10 @@ measured, not estimated: `npm run toolslist` reproduces them.
|
|
|
217
217
|
|
|
218
218
|
| Value | Registers |
|
|
219
219
|
|-------|-----------|
|
|
220
|
-
| *(unset)* or `default` | Everything 0.12.x had, plus `extract` — **107 tools,
|
|
221
|
-
| `all` | every platform — **
|
|
222
|
-
| `extract,sec,g2` | just those platforms — 11 tools,
|
|
223
|
-
| `default,zillow,metaads` | the default set plus two more — 113 tools,
|
|
220
|
+
| *(unset)* or `default` | Everything 0.12.x had, plus `extract` — **107 tools, 82KB** |
|
|
221
|
+
| `all` | every platform — **205 tools, 183KB** |
|
|
222
|
+
| `extract,sec,g2` | just those platforms — 11 tools, 12KB |
|
|
223
|
+
| `default,zillow,metaads` | the default set plus two more — 113 tools, 89KB |
|
|
224
224
|
| `none` | no platform tools, only `get_usage` |
|
|
225
225
|
|
|
226
226
|
Keys are matched case- and punctuation-insensitively, so `meta-ads`, `metaads`
|
|
@@ -232,8 +232,8 @@ tells you to call to check the server works.
|
|
|
232
232
|
|
|
233
233
|
**Platform keys:** `extract`, `google`, `youtube`, `tiktok`, `instagram`,
|
|
234
234
|
`reddit`, `x`, `linkedin`, `threads`, `kuaishou`, `amazon`, `walmart`, `ebay`,
|
|
235
|
-
`target`, `homedepot`, `tiktok-shop`, `booking`, `airbnb`,
|
|
236
|
-
`yelp`, `zillow`, `redfin`, `indeed`, `glassdoor`, `appstore`, `googleplay`,
|
|
235
|
+
`target`, `homedepot`, `costco`, `tiktok-shop`, `booking`, `airbnb`,
|
|
236
|
+
`tripadvisor`, `yelp`, `zillow`, `redfin`, `indeed`, `glassdoor`, `appstore`, `googleplay`,
|
|
237
237
|
`g2`, `capterra`, `googleads`, `metaads`, `sec`, `companieshouse`
|
|
238
238
|
|
|
239
239
|
### Local (stdio)
|
|
@@ -595,6 +595,41 @@ Kuaishou is priced per endpoint, not at a flat rate: `get_kuaishou_profile` and
|
|
|
595
595
|
|
|
596
596
|
2 credits per call. Search page size is fixed at 12 and cannot be changed. Reviews return 30 per page; `total_pages` is the last page that exists and asking past it is a 404.
|
|
597
597
|
|
|
598
|
+
### Costco
|
|
599
|
+
|
|
600
|
+
| Tool | Description |
|
|
601
|
+
|------|-------------|
|
|
602
|
+
| `search_costco` | Search by keyword or item number: online and original price, rating, member-only and stock flags, promotions, facets |
|
|
603
|
+
| `get_costco_category` | Products in a category, same filters and shape as search |
|
|
604
|
+
| `get_costco_categories` | Department list, or the full subcategory tree under one department |
|
|
605
|
+
| `get_costco_product` | Full detail for up to 20 items: description, features, specs, variants, purchase limits, delivery fee, promotion dates |
|
|
606
|
+
| `get_costco_prices` | Online vs in-warehouse price at up to 10 warehouses: discount, final price, promotion dates, per-member limits, price code |
|
|
607
|
+
| `get_costco_availability` | In-warehouse stock status for one item at up to 10 warehouses, plus pickup and same-day delivery |
|
|
608
|
+
| `get_costco_reviews` | Reviews with rating distribution and recommend count; sort, star filter, up to 100 per page |
|
|
609
|
+
| `get_costco_warehouses` | Warehouses near a US zip or coordinates: `warehouse_id`, address, hours, departments, services, gas prices |
|
|
610
|
+
| `get_costco_gas_prices` | Regular, premium and diesel prices at Costco gas stations near a location or at given warehouses |
|
|
611
|
+
| `get_costco_coupons` | The current member coupon book: item number, amount off, final price, scope, limits, valid dates |
|
|
612
|
+
| `get_costco_deals` | Deal feeds: new, while supplies last, treasure hunt, member favorites, online only, on sale |
|
|
613
|
+
| `get_costco_clearance` | Clearance and manager-markdown items at one warehouse, decoded from the shelf price ending |
|
|
614
|
+
| `get_costco_search_suggestions` | Search suggestions for a partial query, plus matching warehouses |
|
|
615
|
+
|
|
616
|
+
1 credit per call, except the multi-warehouse tools: `get_costco_prices` makes one
|
|
617
|
+
lookup per two locations (online counts as one) and `get_costco_availability` one per
|
|
618
|
+
warehouse, billed 1 credit per 5 lookups, so 10 warehouses cost 2 credits.
|
|
619
|
+
`get_costco_warehouses` and `get_costco_gas_prices` cost 2 for `country: "ca"`; gas by
|
|
620
|
+
`warehouse_ids` is 1 credit per 5 warehouses (2 per warehouse on ca).
|
|
621
|
+
|
|
622
|
+
`search_costco`, `get_costco_category` and `get_costco_deals` take `warehouse_id` to add
|
|
623
|
+
that warehouse's in-store price, stock and price code to every result. Get the id from
|
|
624
|
+
`get_costco_warehouses`. `country` is `us` (default) or `ca` everywhere except
|
|
625
|
+
`get_costco_coupons` (US only); `search_costco`, `get_costco_product` and
|
|
626
|
+
`get_costco_warehouses` also accept `uk`, `au`, `mx`, `jp`, `kr` and `tw` for keyword,
|
|
627
|
+
sort and paging only. Price codes in `get_costco_clearance` are the member-community
|
|
628
|
+
decode (.97 clearance, .00/.88 manager markdown; .49/.79/.89 special buy on request),
|
|
629
|
+
not something Costco publishes, and only items Costco lists online are covered.
|
|
630
|
+
`get_costco_coupons` returns the first 50 offers of a ~200-offer book by default; pass
|
|
631
|
+
`limit` for more.
|
|
632
|
+
|
|
598
633
|
### [Booking.com](https://scavio.dev/docs/booking-search)
|
|
599
634
|
|
|
600
635
|
| Tool | Description |
|
|
@@ -776,7 +811,7 @@ Kuaishou is priced per endpoint, not at a flat rate: `get_kuaishou_profile` and
|
|
|
776
811
|
|
|
777
812
|
- [Google Search API](https://scavio.dev/google-search-api) — SERP results, news, images, maps, and knowledge graph
|
|
778
813
|
- [Extract](https://scavio.dev/docs/extract) — read any URL as Markdown, plain text or raw HTML
|
|
779
|
-
- [Amazon Product API](https://scavio.dev/amazon-product-api) and [Walmart Product API](https://scavio.dev/walmart-product-api) — product search and details, alongside [eBay](https://scavio.dev/docs/ebay-search), [Target](https://scavio.dev/docs/target-search)
|
|
814
|
+
- [Amazon Product API](https://scavio.dev/amazon-product-api) and [Walmart Product API](https://scavio.dev/walmart-product-api) — product search and details, alongside [eBay](https://scavio.dev/docs/ebay-search), [Target](https://scavio.dev/docs/target-search), [Home Depot](https://scavio.dev/docs/home-depot-search) and Costco (per-warehouse prices, stock, gas prices, coupon book)
|
|
780
815
|
- [TikTok API](https://scavio.dev/tiktok-api), [Instagram API](https://scavio.dev/instagram-api), [Reddit API](https://scavio.dev/reddit-api), [X API](https://scavio.dev/x-api), [LinkedIn API](https://scavio.dev/linkedin-api), and [YouTube API](https://scavio.dev/youtube-transcript-api) — social and video data
|
|
781
816
|
- Travel and local — [Booking.com](https://scavio.dev/docs/booking-search), [Airbnb](https://scavio.dev/docs/airbnb-search), [Tripadvisor](https://scavio.dev/docs/tripadvisor-locations), [Yelp](https://scavio.dev/docs/yelp-search)
|
|
782
817
|
- Real estate — [Zillow](https://scavio.dev/docs/zillow-search), [Redfin](https://scavio.dev/docs/redfin-search)
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { handleApiError } from "../lib/tool-error.js";
|
|
3
|
+
import { trimResponse } from "../lib/trim-response.js";
|
|
4
|
+
// Shapes mirror backend/src/routes/costco.ts field for field (names, enums,
|
|
5
|
+
// min/max). Cross-field rules the backend enforces and zod here does not:
|
|
6
|
+
// item_id OR item_ids on product/prices, query OR category on clearance,
|
|
7
|
+
// zip OR latitude+longitude (or warehouse_ids on gas), in_warehouse needs
|
|
8
|
+
// warehouse_id. A violation comes back as a 400 with the reason.
|
|
9
|
+
//
|
|
10
|
+
// No zod `.default()` anywhere in this file. The MCP SDK applies a zod default
|
|
11
|
+
// BEFORE the handler runs, so a defaulted field is posted on every call whether
|
|
12
|
+
// the model set it or not. Defaults are documented in the describe text and
|
|
13
|
+
// left for the backend to apply.
|
|
14
|
+
const NA_COUNTRIES = ["us", "ca"];
|
|
15
|
+
const ALL_COUNTRIES = ["us", "ca", "uk", "au", "mx", "jp", "kr", "tw"];
|
|
16
|
+
const naCountry = () => z.enum(NA_COUNTRIES).optional()
|
|
17
|
+
.describe("costco.com 'us' (default) or costco.ca 'ca'.");
|
|
18
|
+
const anyCountry = () => z.enum(ALL_COUNTRIES).optional()
|
|
19
|
+
.describe("Costco site. Default 'us'. us/ca support every filter; uk, au, mx, jp, kr, tw support keyword, sort and paging only.");
|
|
20
|
+
const warehouseId = () => z.string().min(1).max(10)
|
|
21
|
+
.describe("Costco warehouse number, e.g. '1062' (from get_costco_warehouses).");
|
|
22
|
+
const itemId = () => z.string().min(1).max(300)
|
|
23
|
+
.describe("Costco item number or product id, e.g. '100334960', or a costco.com product URL.");
|
|
24
|
+
/** Filters shared by search, category and deals (us/ca). */
|
|
25
|
+
const listingFilters = () => ({
|
|
26
|
+
warehouse_id: warehouseId().optional()
|
|
27
|
+
.describe("Adds that warehouse's in-store price, stock status and price code to every result. Omit for online prices only."),
|
|
28
|
+
sort_by: z.enum(["best_match", "price_low", "price_high", "top_rated", "newest"]).optional()
|
|
29
|
+
.describe("Default 'best_match'."),
|
|
30
|
+
brands: z.array(z.string().min(1).max(100)).max(20).optional()
|
|
31
|
+
.describe("Brand filter, e.g. ['Kirkland Signature']."),
|
|
32
|
+
min_price: z.number().min(0).optional()
|
|
33
|
+
.describe("Min online price, inclusive."),
|
|
34
|
+
max_price: z.number().min(0).optional()
|
|
35
|
+
.describe("Max online price, inclusive."),
|
|
36
|
+
min_rating: z.number().min(1).max(5).optional()
|
|
37
|
+
.describe("Min average star rating."),
|
|
38
|
+
on_sale: z.boolean().optional()
|
|
39
|
+
.describe("Only items with an active discount."),
|
|
40
|
+
in_stock: z.boolean().optional()
|
|
41
|
+
.describe("Hide out-of-stock items."),
|
|
42
|
+
in_warehouse: z.boolean().optional()
|
|
43
|
+
.describe("Only items sold and in stock at warehouse_id (requires warehouse_id)."),
|
|
44
|
+
page: z.number().int().min(1).max(500).optional()
|
|
45
|
+
.describe("Page, 1-based."),
|
|
46
|
+
page_size: z.number().int().min(1).max(120).optional()
|
|
47
|
+
.describe("Results/page, max 120. Default 24."),
|
|
48
|
+
});
|
|
49
|
+
const locationFields = () => ({
|
|
50
|
+
zip: z.string().min(5).max(10).optional()
|
|
51
|
+
.describe("US zip code, e.g. '10025'."),
|
|
52
|
+
latitude: z.number().min(-90).max(90).optional()
|
|
53
|
+
.describe("Latitude, with longitude, instead of zip (required outside the US)."),
|
|
54
|
+
longitude: z.number().min(-180).max(180).optional()
|
|
55
|
+
.describe("Longitude, with latitude."),
|
|
56
|
+
});
|
|
57
|
+
export function registerCostcoTools(server, getClient) {
|
|
58
|
+
const post = (path) => async (params) => {
|
|
59
|
+
try {
|
|
60
|
+
const data = await getClient().post(`/api/v1/costco/${path}`, params);
|
|
61
|
+
return trimResponse(data);
|
|
62
|
+
}
|
|
63
|
+
catch (err) {
|
|
64
|
+
return handleApiError(err);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
server.tool("search_costco", `Search Costco products by keyword or item number: online price, original price, rating, member-only and stock flags, promotions, facets. Pass warehouse_id to add one warehouse's in-store price and stock per result. 1 credit/page.`, {
|
|
68
|
+
query: z.string().min(1).max(200)
|
|
69
|
+
.describe("Keywords or a Costco item number, e.g. 'olive oil'."),
|
|
70
|
+
country: anyCountry(),
|
|
71
|
+
...listingFilters(),
|
|
72
|
+
}, post("search"));
|
|
73
|
+
server.tool("get_costco_category", `List products in a Costco category, same shape, filters and per-warehouse pricing as search_costco. Get slugs from get_costco_categories. 1 credit/page.`, {
|
|
74
|
+
category: z.string().min(1).max(200)
|
|
75
|
+
.describe("Category slug, e.g. 'televisions', or a costco.com category URL."),
|
|
76
|
+
country: naCountry(),
|
|
77
|
+
...listingFilters(),
|
|
78
|
+
}, post("category"));
|
|
79
|
+
server.tool("get_costco_categories", `Get Costco departments, or the full subcategory tree under one department. Use to find slugs for get_costco_category. 1 credit.`, {
|
|
80
|
+
category_id: z.string().min(1).max(20).optional()
|
|
81
|
+
.describe("Omit for top-level departments; pass an id, e.g. '30001', for its subcategory tree."),
|
|
82
|
+
country: naCountry(),
|
|
83
|
+
}, post("categories"));
|
|
84
|
+
server.tool("get_costco_product", `Get full Costco product detail for up to 20 items: description, features, specs, variants, member-only flag, purchase limits, delivery fee, promotions with dates. Online price only; use get_costco_prices for warehouse prices. 1 credit.`, {
|
|
85
|
+
item_id: itemId().optional(),
|
|
86
|
+
item_ids: z.array(itemId()).min(1).max(20).optional()
|
|
87
|
+
.describe("Up to 20 ids in one call (us/ca only). Pass item_id or item_ids."),
|
|
88
|
+
country: anyCountry(),
|
|
89
|
+
}, post("product"));
|
|
90
|
+
server.tool("get_costco_prices", `Compare Costco online vs in-warehouse price for up to 20 items at up to 10 warehouses: price, discount, final price, promotion start/end dates, per-order/per-member limits, price code. 1 credit per 5 lookups, 1 lookup per 2 locations incl. online (10 warehouses = 2 credits).`, {
|
|
91
|
+
item_id: itemId().optional(),
|
|
92
|
+
item_ids: z.array(itemId()).min(1).max(20).optional()
|
|
93
|
+
.describe("Up to 20 ids. Pass item_id or item_ids."),
|
|
94
|
+
warehouse_ids: z.array(warehouseId()).min(1).max(10)
|
|
95
|
+
.describe("Warehouses to price, max 10, e.g. ['1062','1107']. Online price always included."),
|
|
96
|
+
country: naCountry(),
|
|
97
|
+
}, post("prices"));
|
|
98
|
+
server.tool("get_costco_availability", `Get in-warehouse stock status for one Costco item at up to 10 warehouses, plus pickup and same-day delivery availability. Status only, no quantities. 1 credit per 5 warehouses.`, {
|
|
99
|
+
item_number: itemId(),
|
|
100
|
+
warehouse_ids: z.array(warehouseId()).min(1).max(10)
|
|
101
|
+
.describe("Warehouses to check, max 10, e.g. ['1062']."),
|
|
102
|
+
country: naCountry(),
|
|
103
|
+
}, post("availability"));
|
|
104
|
+
server.tool("get_costco_reviews", `Get Costco product reviews with rating distribution and recommend count. Sort, star filter, up to 100/page. 1 credit/page.`, {
|
|
105
|
+
product_id: itemId()
|
|
106
|
+
.describe("Costco product id (product_id from search_costco or get_costco_product)."),
|
|
107
|
+
sort_by: z.enum(["newest", "oldest", "highest_rating", "lowest_rating", "most_helpful"]).optional()
|
|
108
|
+
.describe("Default 'newest'."),
|
|
109
|
+
rating: z.number().int().min(1).max(5).optional()
|
|
110
|
+
.describe("Only reviews with this star rating."),
|
|
111
|
+
page: z.number().int().min(1).max(500).optional()
|
|
112
|
+
.describe("Page, 1-based."),
|
|
113
|
+
limit: z.number().int().min(1).max(100).optional()
|
|
114
|
+
.describe("Reviews/page, max 100. Default 25."),
|
|
115
|
+
}, post("reviews"));
|
|
116
|
+
server.tool("get_costco_warehouses", `Find Costco warehouses near a US zip or coordinates: warehouse_id, address, hours, departments, services, gas station hours and prices. Use to get warehouse_id for other Costco tools. 1 credit (2 for country 'ca').`, {
|
|
117
|
+
...locationFields(),
|
|
118
|
+
country: anyCountry(),
|
|
119
|
+
limit: z.number().int().min(1).max(50).optional()
|
|
120
|
+
.describe("Nearest warehouses to return, max 50. Default 10."),
|
|
121
|
+
}, post("warehouses"));
|
|
122
|
+
server.tool("get_costco_gas_prices", `Get current regular, premium and diesel prices at Costco gas stations near a location or at specific warehouses. By location: 1 credit (2 for 'ca'). By warehouse_ids: 1 credit per 5 (ca: 2 per warehouse).`, {
|
|
123
|
+
...locationFields(),
|
|
124
|
+
warehouse_ids: z.array(warehouseId()).min(1).max(10).optional()
|
|
125
|
+
.describe("Specific warehouses instead of a location, max 10."),
|
|
126
|
+
country: naCountry(),
|
|
127
|
+
limit: z.number().int().min(1).max(50).optional()
|
|
128
|
+
.describe("Nearest stations to return, max 50. Default 10."),
|
|
129
|
+
}, post("gas"));
|
|
130
|
+
server.tool("get_costco_coupons", `Get the current Costco member coupon book (US): offers with item number, amount off, final price, warehouse/online scope, limits, and the book's valid dates. A book holds ~200 offers; returns the first 50 by default (limit to change). 1 credit.`, {
|
|
131
|
+
limit: z.number().int().min(1).max(500).optional()
|
|
132
|
+
.describe("Max coupons returned (default 50). Local trim, same cost."),
|
|
133
|
+
}, async ({ limit }) => {
|
|
134
|
+
try {
|
|
135
|
+
const data = await getClient().post("/api/v1/costco/coupons", {});
|
|
136
|
+
return trimResponse(data, { limit: limit ?? 50, listKeys: ["coupons"] });
|
|
137
|
+
}
|
|
138
|
+
catch (err) {
|
|
139
|
+
return handleApiError(err);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
server.tool("get_costco_deals", `List Costco deal feeds: new, while_supplies_last, treasure_hunt, member_favorites, online_only, on_sale. Same filters and per-warehouse pricing as search_costco. 1 credit/page.`, {
|
|
143
|
+
type: z.enum(["new", "while_supplies_last", "treasure_hunt", "member_favorites", "online_only", "on_sale"])
|
|
144
|
+
.describe("Deal feed, e.g. 'while_supplies_last'."),
|
|
145
|
+
country: naCountry(),
|
|
146
|
+
...listingFilters(),
|
|
147
|
+
}, post("deals"));
|
|
148
|
+
server.tool("get_costco_clearance", `Find Costco clearance and markdown items at one warehouse by scanning a query or category: .97 clearance and .00/.88 manager markdown by default, .49/.79/.89 special buy on request. Price codes are the member-community decode; covers items Costco lists online only. 1 credit (up to 5 pages).`, {
|
|
149
|
+
warehouse_id: warehouseId(),
|
|
150
|
+
query: z.string().min(1).max(200).optional()
|
|
151
|
+
.describe("Keywords to scan, e.g. 'tv'. Pass query or category."),
|
|
152
|
+
category: z.string().min(1).max(200).optional()
|
|
153
|
+
.describe("Category slug to scan instead of a query."),
|
|
154
|
+
pages: z.number().int().min(1).max(5).optional()
|
|
155
|
+
.describe("Result pages of 120 to scan, max 5. Default 3."),
|
|
156
|
+
price_codes: z.array(z.enum(["clearance", "manager_markdown", "special_buy"])).min(1).optional()
|
|
157
|
+
.describe("Codes to keep. Default clearance + manager_markdown; special_buy is common on regular grocery prices."),
|
|
158
|
+
country: naCountry(),
|
|
159
|
+
}, post("clearance"));
|
|
160
|
+
server.tool("get_costco_search_suggestions", `Get Costco search suggestions for a partial query, plus matching warehouse locations. 1 credit.`, {
|
|
161
|
+
query: z.string().min(1).max(100)
|
|
162
|
+
.describe("Partial query, e.g. 'kirk'."),
|
|
163
|
+
country: naCountry(),
|
|
164
|
+
}, post("autocomplete"));
|
|
165
|
+
}
|
|
166
|
+
//# sourceMappingURL=costco.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"costco.js","sourceRoot":"","sources":["../../src/tools/costco.ts"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,EAAE;aACzC,QAAQ,CAAC,sDAAsD,CAAC;QACnE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;aAC5C,QAAQ,CAAC,2CAA2C,CAAC;QACxD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;aAC7C,QAAQ,CAAC,gDAAgD,CAAC;QAC7D,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,kBAAkB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;aAC7F,QAAQ,CAAC,uGAAuG,CAAC;QACpH,OAAO,EAAE,SAAS,EAAE;KACrB,EACD,IAAI,CAAC,WAAW,CAAC,CAClB,CAAC;IAEF,MAAM,CAAC,IAAI,CACT,+BAA+B,EAC/B,iGAAiG,EACjG;QACE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;aAC9B,QAAQ,CAAC,6BAA6B,CAAC;QAC1C,OAAO,EAAE,SAAS,EAAE;KACrB,EACD,IAAI,CAAC,cAAc,CAAC,CACrB,CAAC;AACJ,CAAC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export declare const PLATFORM_KEYS: string[];
|
|
|
4
4
|
/**
|
|
5
5
|
* What registers when SCAVIO_PLATFORMS is unset.
|
|
6
6
|
*
|
|
7
|
-
* Registering everything is not an option any more. The full surface is
|
|
8
|
-
* tools, which serialises to
|
|
9
|
-
* `npm run toolslist`, not estimated) — roughly
|
|
7
|
+
* Registering everything is not an option any more. The full surface is 205
|
|
8
|
+
* tools, which serialises to 183KB of tools/list (measured with
|
|
9
|
+
* `npm run toolslist`, not estimated) — roughly 45k tokens pushed into the
|
|
10
10
|
* context of EVERY session before the user has typed anything, and past the
|
|
11
11
|
* hard tool-count ceiling some clients enforce. The default set below is 107
|
|
12
|
-
* tools,
|
|
12
|
+
* tools, 82KB.
|
|
13
13
|
*
|
|
14
14
|
* The default is therefore exactly what 0.12.x registered, plus extract:
|
|
15
15
|
* upgrading must never silently remove a tool someone already depends on. A
|
|
@@ -26,7 +26,7 @@ export declare const DEFAULT_PLATFORMS: string[];
|
|
|
26
26
|
* Turn a SCAVIO_PLATFORMS value into the canonical platform keys to register.
|
|
27
27
|
*
|
|
28
28
|
* Accepts a comma-separated list of platform keys, plus three keywords:
|
|
29
|
-
* all — every platform (
|
|
29
|
+
* all — every platform (205 tools)
|
|
30
30
|
* default — expands to DEFAULT_PLATFORMS, so `default,sec,g2` is additive
|
|
31
31
|
* none — no platform tools at all, leaving only get_usage
|
|
32
32
|
*
|
package/dist/tools/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import { registerWalmartTools } from "./walmart.js";
|
|
|
14
14
|
import { registerEbayTools } from "./ebay.js";
|
|
15
15
|
import { registerTargetTools } from "./target.js";
|
|
16
16
|
import { registerHomeDepotTools } from "./homedepot.js";
|
|
17
|
+
import { registerCostcoTools } from "./costco.js";
|
|
17
18
|
import { registerTiktokShopTools } from "./tiktok-shop.js";
|
|
18
19
|
import { registerBookingTools } from "./booking.js";
|
|
19
20
|
import { registerAirbnbTools } from "./airbnb.js";
|
|
@@ -65,6 +66,7 @@ const PLATFORMS = {
|
|
|
65
66
|
ebay: registerEbayTools,
|
|
66
67
|
target: registerTargetTools,
|
|
67
68
|
homedepot: registerHomeDepotTools,
|
|
69
|
+
costco: registerCostcoTools,
|
|
68
70
|
"tiktok-shop": registerTiktokShopTools,
|
|
69
71
|
// Travel and local
|
|
70
72
|
booking: registerBookingTools,
|
|
@@ -94,12 +96,12 @@ export const PLATFORM_KEYS = Object.keys(PLATFORMS);
|
|
|
94
96
|
/**
|
|
95
97
|
* What registers when SCAVIO_PLATFORMS is unset.
|
|
96
98
|
*
|
|
97
|
-
* Registering everything is not an option any more. The full surface is
|
|
98
|
-
* tools, which serialises to
|
|
99
|
-
* `npm run toolslist`, not estimated) — roughly
|
|
99
|
+
* Registering everything is not an option any more. The full surface is 205
|
|
100
|
+
* tools, which serialises to 183KB of tools/list (measured with
|
|
101
|
+
* `npm run toolslist`, not estimated) — roughly 45k tokens pushed into the
|
|
100
102
|
* context of EVERY session before the user has typed anything, and past the
|
|
101
103
|
* hard tool-count ceiling some clients enforce. The default set below is 107
|
|
102
|
-
* tools,
|
|
104
|
+
* tools, 82KB.
|
|
103
105
|
*
|
|
104
106
|
* The default is therefore exactly what 0.12.x registered, plus extract:
|
|
105
107
|
* upgrading must never silently remove a tool someone already depends on. A
|
|
@@ -151,7 +153,7 @@ function warnOnce(message) {
|
|
|
151
153
|
* Turn a SCAVIO_PLATFORMS value into the canonical platform keys to register.
|
|
152
154
|
*
|
|
153
155
|
* Accepts a comma-separated list of platform keys, plus three keywords:
|
|
154
|
-
* all — every platform (
|
|
156
|
+
* all — every platform (205 tools)
|
|
155
157
|
* default — expands to DEFAULT_PLATFORMS, so `default,sec,g2` is additive
|
|
156
158
|
* none — no platform tools at all, leaving only get_usage
|
|
157
159
|
*
|
|
@@ -230,7 +232,7 @@ const READ_ONLY_ANNOTATIONS = {
|
|
|
230
232
|
};
|
|
231
233
|
/**
|
|
232
234
|
* Wrap the server so every tool() call is annotated at registration, instead
|
|
233
|
-
* of editing
|
|
235
|
+
* of editing 205 call sites. A tool added later picks this up automatically.
|
|
234
236
|
*/
|
|
235
237
|
function annotating(server) {
|
|
236
238
|
return new Proxy(server, {
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,G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;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAiB,EACjB,SAA6B,EAC7B,eAAmC,GAAG,CAAC,gBAAgB;IAEvD,MAAM,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IACrC,KAAK,MAAM,GAAG,IAAI,SAAS;QAAE,SAAS,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAClE,iBAAiB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scavio/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"mcpName": "io.github.scavio-ai/scavio-mcp",
|
|
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.
|
|
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. 205 tools across 32 platforms plus Extract, one API key.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "Scavio",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"youtube",
|
|
23
23
|
"amazon",
|
|
24
24
|
"walmart",
|
|
25
|
+
"costco",
|
|
25
26
|
"tiktok",
|
|
26
27
|
"reddit",
|
|
27
28
|
"x",
|