mcpscraper-cli 0.24.1 → 0.24.2
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/dist/bin/cli.js +212 -7
- package/package.json +2 -2
package/dist/bin/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ import { join } from "path";
|
|
|
9
9
|
import { ScraperClient, ScraperApiError } from "mcpscraper-sdk";
|
|
10
10
|
|
|
11
11
|
// src/version.ts
|
|
12
|
-
var CLI_VERSION = "0.24.
|
|
12
|
+
var CLI_VERSION = "0.24.2";
|
|
13
13
|
|
|
14
14
|
// src/generated-tools.ts
|
|
15
15
|
var MCP_TOOL_CATALOG = [
|
|
@@ -2653,7 +2653,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
2653
2653
|
"name": "commons_submit_entity",
|
|
2654
2654
|
"category": "commons",
|
|
2655
2655
|
"title": "Transparent Commons Governed Entity Write",
|
|
2656
|
-
"description": "Create or propose an edit to a Transparent Commons public wiki entity through the governed MCP Scraper write plane. This never edits rendered HTML directly. Normal workflow is commons_prepare_entity, compose, commons_validate_entity, then submit. Choose a precise entityType and write a neutral encyclopedia projection with the matching entity structure, not a blog article or raw scrape dump. Use H2 sections and H3/H4/H5 subitems; every heading appears in the public page menu. Omit unsupported sections instead of publishing empty/filler headings. It writes a proposal, records a contribution ledger entry when accepted, and auto-publishes only safe non-conflicting changes with a featured image and source/body evidence. Existing entity edits require baseRevision to auto-publish. Requires idempotencyKey.",
|
|
2656
|
+
"description": "Create or propose an edit to a Transparent Commons public wiki entity through the governed MCP Scraper write plane. A new entity costs 10 Credits; an edit to an existing entity costs 2 Credits. Preparation and validation are free, and idempotent retries are not charged twice. This never edits rendered HTML directly. Normal workflow is commons_prepare_entity, compose, commons_validate_entity, then submit. Choose a precise entityType and write a neutral encyclopedia projection with the matching entity structure, not a blog article or raw scrape dump. Use H2 sections and H3/H4/H5 subitems; every heading appears in the public page menu. Omit unsupported sections instead of publishing empty/filler headings. It writes a proposal, records a contribution ledger entry when accepted, and auto-publishes only safe non-conflicting changes with a featured image and source/body evidence. Existing entity edits require baseRevision to auto-publish. Requires idempotencyKey.",
|
|
2657
2657
|
"inputSchema": {
|
|
2658
2658
|
"type": "object",
|
|
2659
2659
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -3550,7 +3550,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
3550
3550
|
"name": "get-local-sourcebook-contract",
|
|
3551
3551
|
"category": "directory",
|
|
3552
3552
|
"title": "Get Local Sourcebook Contract",
|
|
3553
|
-
"description": "Read the governed listing purpose, supported categories,
|
|
3553
|
+
"description": "Read the governed listing purpose, supported categories, accepted Schema.org LocalBusiness subtypes, exact LocalSourcebook.com profile/review URLs, nationwide directory URL, required sections, fixed 10-Credit creation and 2-Credit edit prices, acquisition limits, tag policy, ownership boundary, and automatic evidence-publication rule. Call this before composing a listing when its required shape is uncertain.",
|
|
3554
3554
|
"inputSchema": {
|
|
3555
3555
|
"type": "object",
|
|
3556
3556
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -3658,7 +3658,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
3658
3658
|
"name": "prepare-local-sourcebook-write",
|
|
3659
3659
|
"category": "directory",
|
|
3660
3660
|
"title": "Prepare Local Sourcebook Write",
|
|
3661
|
-
"description": "Mandatory planning pass for a new listing. Returns the category contract, canonical profile and review routes, normalized identity, live tag resolutions, and exact next instructions. Inspect list-local-sourcebook-tags first, then validate the returned proposal before capture.",
|
|
3661
|
+
"description": "Mandatory planning pass for a new listing. Returns the category contract, a category-appropriate Schema.org LocalBusiness subtype, canonical profile and review routes, normalized identity, live tag resolutions, and exact next instructions. Select a more specific accepted subtype when the business evidence supports it; callers cannot inject arbitrary JSON-LD. Inspect list-local-sourcebook-tags first, then validate the returned proposal before capture.",
|
|
3662
3662
|
"inputSchema": {
|
|
3663
3663
|
"type": "object",
|
|
3664
3664
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -3689,6 +3689,75 @@ var MCP_TOOL_CATALOG = [
|
|
|
3689
3689
|
"type": "string",
|
|
3690
3690
|
"format": "uri"
|
|
3691
3691
|
},
|
|
3692
|
+
"schemaOrgType": {
|
|
3693
|
+
"description": "Optional Schema.org LocalBusiness subtype. Omit to receive the category default; use a more specific accepted subtype when the business evidence supports it.",
|
|
3694
|
+
"type": "string",
|
|
3695
|
+
"enum": [
|
|
3696
|
+
"LocalBusiness",
|
|
3697
|
+
"AnimalShelter",
|
|
3698
|
+
"AutomotiveBusiness",
|
|
3699
|
+
"AutoBodyShop",
|
|
3700
|
+
"AutoDealer",
|
|
3701
|
+
"AutoPartsStore",
|
|
3702
|
+
"AutoRental",
|
|
3703
|
+
"AutoRepair",
|
|
3704
|
+
"AutoWash",
|
|
3705
|
+
"GasStation",
|
|
3706
|
+
"MotorcycleDealer",
|
|
3707
|
+
"MotorcycleRepair",
|
|
3708
|
+
"ChildCare",
|
|
3709
|
+
"Dentist",
|
|
3710
|
+
"DryCleaningOrLaundry",
|
|
3711
|
+
"EmergencyService",
|
|
3712
|
+
"EmploymentAgency",
|
|
3713
|
+
"EntertainmentBusiness",
|
|
3714
|
+
"FinancialService",
|
|
3715
|
+
"AccountingService",
|
|
3716
|
+
"AutomatedTeller",
|
|
3717
|
+
"BankOrCreditUnion",
|
|
3718
|
+
"InsuranceAgency",
|
|
3719
|
+
"FoodEstablishment",
|
|
3720
|
+
"Bakery",
|
|
3721
|
+
"BarOrPub",
|
|
3722
|
+
"Brewery",
|
|
3723
|
+
"CafeOrCoffeeShop",
|
|
3724
|
+
"Distillery",
|
|
3725
|
+
"FastFoodRestaurant",
|
|
3726
|
+
"IceCreamShop",
|
|
3727
|
+
"Restaurant",
|
|
3728
|
+
"Winery",
|
|
3729
|
+
"HealthAndBeautyBusiness",
|
|
3730
|
+
"BeautySalon",
|
|
3731
|
+
"DaySpa",
|
|
3732
|
+
"HairSalon",
|
|
3733
|
+
"HealthClub",
|
|
3734
|
+
"NailSalon",
|
|
3735
|
+
"TattooParlor",
|
|
3736
|
+
"HomeAndConstructionBusiness",
|
|
3737
|
+
"Electrician",
|
|
3738
|
+
"GeneralContractor",
|
|
3739
|
+
"HVACBusiness",
|
|
3740
|
+
"HousePainter",
|
|
3741
|
+
"Locksmith",
|
|
3742
|
+
"MovingCompany",
|
|
3743
|
+
"Plumber",
|
|
3744
|
+
"RoofingContractor",
|
|
3745
|
+
"LegalService",
|
|
3746
|
+
"Library",
|
|
3747
|
+
"LodgingBusiness",
|
|
3748
|
+
"MedicalBusiness",
|
|
3749
|
+
"Pharmacy",
|
|
3750
|
+
"Physician",
|
|
3751
|
+
"RealEstateAgent",
|
|
3752
|
+
"RecyclingCenter",
|
|
3753
|
+
"SelfStorage",
|
|
3754
|
+
"ShoppingCenter",
|
|
3755
|
+
"SportsActivityLocation",
|
|
3756
|
+
"Store",
|
|
3757
|
+
"TouristInformationCenter",
|
|
3758
|
+
"TravelAgency"
|
|
3759
|
+
]
|
|
3760
|
+
},
|
|
3692
3761
|
"slug": {
|
|
3693
3762
|
"type": "string",
|
|
3694
3763
|
"maxLength": 100,
|
|
@@ -3792,6 +3861,74 @@ var MCP_TOOL_CATALOG = [
|
|
|
3792
3861
|
"type": "string",
|
|
3793
3862
|
"format": "uri"
|
|
3794
3863
|
},
|
|
3864
|
+
"schemaOrgType": {
|
|
3865
|
+
"type": "string",
|
|
3866
|
+
"enum": [
|
|
3867
|
+
"LocalBusiness",
|
|
3868
|
+
"AnimalShelter",
|
|
3869
|
+
"AutomotiveBusiness",
|
|
3870
|
+
"AutoBodyShop",
|
|
3871
|
+
"AutoDealer",
|
|
3872
|
+
"AutoPartsStore",
|
|
3873
|
+
"AutoRental",
|
|
3874
|
+
"AutoRepair",
|
|
3875
|
+
"AutoWash",
|
|
3876
|
+
"GasStation",
|
|
3877
|
+
"MotorcycleDealer",
|
|
3878
|
+
"MotorcycleRepair",
|
|
3879
|
+
"ChildCare",
|
|
3880
|
+
"Dentist",
|
|
3881
|
+
"DryCleaningOrLaundry",
|
|
3882
|
+
"EmergencyService",
|
|
3883
|
+
"EmploymentAgency",
|
|
3884
|
+
"EntertainmentBusiness",
|
|
3885
|
+
"FinancialService",
|
|
3886
|
+
"AccountingService",
|
|
3887
|
+
"AutomatedTeller",
|
|
3888
|
+
"BankOrCreditUnion",
|
|
3889
|
+
"InsuranceAgency",
|
|
3890
|
+
"FoodEstablishment",
|
|
3891
|
+
"Bakery",
|
|
3892
|
+
"BarOrPub",
|
|
3893
|
+
"Brewery",
|
|
3894
|
+
"CafeOrCoffeeShop",
|
|
3895
|
+
"Distillery",
|
|
3896
|
+
"FastFoodRestaurant",
|
|
3897
|
+
"IceCreamShop",
|
|
3898
|
+
"Restaurant",
|
|
3899
|
+
"Winery",
|
|
3900
|
+
"HealthAndBeautyBusiness",
|
|
3901
|
+
"BeautySalon",
|
|
3902
|
+
"DaySpa",
|
|
3903
|
+
"HairSalon",
|
|
3904
|
+
"HealthClub",
|
|
3905
|
+
"NailSalon",
|
|
3906
|
+
"TattooParlor",
|
|
3907
|
+
"HomeAndConstructionBusiness",
|
|
3908
|
+
"Electrician",
|
|
3909
|
+
"GeneralContractor",
|
|
3910
|
+
"HVACBusiness",
|
|
3911
|
+
"HousePainter",
|
|
3912
|
+
"Locksmith",
|
|
3913
|
+
"MovingCompany",
|
|
3914
|
+
"Plumber",
|
|
3915
|
+
"RoofingContractor",
|
|
3916
|
+
"LegalService",
|
|
3917
|
+
"Library",
|
|
3918
|
+
"LodgingBusiness",
|
|
3919
|
+
"MedicalBusiness",
|
|
3920
|
+
"Pharmacy",
|
|
3921
|
+
"Physician",
|
|
3922
|
+
"RealEstateAgent",
|
|
3923
|
+
"RecyclingCenter",
|
|
3924
|
+
"SelfStorage",
|
|
3925
|
+
"ShoppingCenter",
|
|
3926
|
+
"SportsActivityLocation",
|
|
3927
|
+
"Store",
|
|
3928
|
+
"TouristInformationCenter",
|
|
3929
|
+
"TravelAgency"
|
|
3930
|
+
]
|
|
3931
|
+
},
|
|
3795
3932
|
"slug": {
|
|
3796
3933
|
"type": "string",
|
|
3797
3934
|
"maxLength": 100,
|
|
@@ -3902,7 +4039,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
3902
4039
|
"name": "local-sourcebook-capture",
|
|
3903
4040
|
"category": "directory",
|
|
3904
4041
|
"title": "Capture Governed Local Sourcebook Listing",
|
|
3905
|
-
"description": "Strict owner-scoped write path after list, contract, prepare, and validate.
|
|
4042
|
+
"description": "Strict owner-scoped LocalBusiness write path after list, contract, prepare, and validate. Creating a listing costs 10 Credits total, including website, exact-place, review, service-area, staff, genuine-media, and structured-data compilation; preparation and validation are free, and idempotent retries are not charged twice. Capture registers canonical tags and the accepted Schema.org LocalBusiness subtype, returns the exact LocalSourcebook.com profile and reviews URLs, and queues acquisition. MCP Scraper generates the final JSON-LD from source-backed evidence. A successful system-compiled evidence revision publishes automatically; owner-authored public claims and arbitrary JSON-LD are not accepted.",
|
|
3906
4043
|
"inputSchema": {
|
|
3907
4044
|
"type": "object",
|
|
3908
4045
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -3936,6 +4073,74 @@ var MCP_TOOL_CATALOG = [
|
|
|
3936
4073
|
"type": "string",
|
|
3937
4074
|
"format": "uri"
|
|
3938
4075
|
},
|
|
4076
|
+
"schemaOrgType": {
|
|
4077
|
+
"type": "string",
|
|
4078
|
+
"enum": [
|
|
4079
|
+
"LocalBusiness",
|
|
4080
|
+
"AnimalShelter",
|
|
4081
|
+
"AutomotiveBusiness",
|
|
4082
|
+
"AutoBodyShop",
|
|
4083
|
+
"AutoDealer",
|
|
4084
|
+
"AutoPartsStore",
|
|
4085
|
+
"AutoRental",
|
|
4086
|
+
"AutoRepair",
|
|
4087
|
+
"AutoWash",
|
|
4088
|
+
"GasStation",
|
|
4089
|
+
"MotorcycleDealer",
|
|
4090
|
+
"MotorcycleRepair",
|
|
4091
|
+
"ChildCare",
|
|
4092
|
+
"Dentist",
|
|
4093
|
+
"DryCleaningOrLaundry",
|
|
4094
|
+
"EmergencyService",
|
|
4095
|
+
"EmploymentAgency",
|
|
4096
|
+
"EntertainmentBusiness",
|
|
4097
|
+
"FinancialService",
|
|
4098
|
+
"AccountingService",
|
|
4099
|
+
"AutomatedTeller",
|
|
4100
|
+
"BankOrCreditUnion",
|
|
4101
|
+
"InsuranceAgency",
|
|
4102
|
+
"FoodEstablishment",
|
|
4103
|
+
"Bakery",
|
|
4104
|
+
"BarOrPub",
|
|
4105
|
+
"Brewery",
|
|
4106
|
+
"CafeOrCoffeeShop",
|
|
4107
|
+
"Distillery",
|
|
4108
|
+
"FastFoodRestaurant",
|
|
4109
|
+
"IceCreamShop",
|
|
4110
|
+
"Restaurant",
|
|
4111
|
+
"Winery",
|
|
4112
|
+
"HealthAndBeautyBusiness",
|
|
4113
|
+
"BeautySalon",
|
|
4114
|
+
"DaySpa",
|
|
4115
|
+
"HairSalon",
|
|
4116
|
+
"HealthClub",
|
|
4117
|
+
"NailSalon",
|
|
4118
|
+
"TattooParlor",
|
|
4119
|
+
"HomeAndConstructionBusiness",
|
|
4120
|
+
"Electrician",
|
|
4121
|
+
"GeneralContractor",
|
|
4122
|
+
"HVACBusiness",
|
|
4123
|
+
"HousePainter",
|
|
4124
|
+
"Locksmith",
|
|
4125
|
+
"MovingCompany",
|
|
4126
|
+
"Plumber",
|
|
4127
|
+
"RoofingContractor",
|
|
4128
|
+
"LegalService",
|
|
4129
|
+
"Library",
|
|
4130
|
+
"LodgingBusiness",
|
|
4131
|
+
"MedicalBusiness",
|
|
4132
|
+
"Pharmacy",
|
|
4133
|
+
"Physician",
|
|
4134
|
+
"RealEstateAgent",
|
|
4135
|
+
"RecyclingCenter",
|
|
4136
|
+
"SelfStorage",
|
|
4137
|
+
"ShoppingCenter",
|
|
4138
|
+
"SportsActivityLocation",
|
|
4139
|
+
"Store",
|
|
4140
|
+
"TouristInformationCenter",
|
|
4141
|
+
"TravelAgency"
|
|
4142
|
+
]
|
|
4143
|
+
},
|
|
3939
4144
|
"slug": {
|
|
3940
4145
|
"type": "string",
|
|
3941
4146
|
"maxLength": 100,
|
|
@@ -4052,7 +4257,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
4052
4257
|
"name": "local_sourcebook_submission_status",
|
|
4053
4258
|
"category": "directory",
|
|
4054
4259
|
"title": "Local Sourcebook Submission Status",
|
|
4055
|
-
"description": "Read the authenticated caller\u2019s listing draft, enrichment coverage, immutable revision number, and
|
|
4260
|
+
"description": "Read the authenticated caller\u2019s listing draft, enrichment coverage, immutable revision number, publication state, and exact live LocalSourcebook.com profile and reviews URLs.",
|
|
4056
4261
|
"inputSchema": {
|
|
4057
4262
|
"type": "object",
|
|
4058
4263
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -4079,7 +4284,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
4079
4284
|
"name": "local_sourcebook_refresh",
|
|
4080
4285
|
"category": "directory",
|
|
4081
4286
|
"title": "Refresh a Local Sourcebook Listing",
|
|
4082
|
-
"description": "Queue a new broad crawl and review/media acquisition pass for a listing owned by the authenticated MCP Scraper account. The last published revision remains public until the refreshed evidence revision completes and auto-publishes.",
|
|
4287
|
+
"description": "Queue a new broad crawl and review/media acquisition pass for a listing owned by the authenticated MCP Scraper account. A refresh costs 2 Credits total, including acquisition; idempotent retries are not charged twice. The last published revision remains public until the refreshed evidence revision completes and auto-publishes.",
|
|
4083
4288
|
"inputSchema": {
|
|
4084
4289
|
"type": "object",
|
|
4085
4290
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-cli",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "Command-line interface for mcpscraper.dev and memory.mcpscraper.dev",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"commander": "^12.0.0",
|
|
22
|
-
"mcpscraper-sdk": "^0.25.
|
|
22
|
+
"mcpscraper-sdk": "^0.25.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.0.0"
|