storelift-mcp 1.6.0 → 1.7.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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/index.mjs +33 -15
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -216,9 +216,9 @@ test keys (`sl_test_`) never write.
216
216
 
217
217
  | Tool | Previews | Scope |
218
218
  |---|---|---|
219
- | `add_app` | start tracking an App Store / Play app | `track:write` |
220
- | `add_keywords` | add keywords to an app's tracked list | `track:write` |
221
- | `remove_keywords` | stop tracking keywords (measured history stays) | `track:write` |
219
+ | `add_app` | start tracking an App Store / Play app (one keyword list for every country, or `keywordsByCountry`) | `track:write` |
220
+ | `add_keywords` | add keywords in every tracked country, in chosen `countries`, or per country (`keywordsByCountry`) | `track:write` |
221
+ | `remove_keywords` | stop tracking keywords, everywhere or per country (measured history stays) | `track:write` |
222
222
  | `add_rivals` | add manual competitors (`ios:<id>` / `android:<pkg>`) | `track:write` |
223
223
  | `remove_rivals` | remove manual competitors | `track:write` |
224
224
  | `create_share_link` | public read-only dashboard link for 1–30 days (default 30) or no expiry (`days: 0`, open until revoked), optional password | `reports:write` |
@@ -260,7 +260,7 @@ Generated from the sandbox data set of 2026-09-28: a test key (`sl_test_…`) an
260
260
 
261
261
  ### Ask who ranks above you
262
262
 
263
- Tools: `list_apps` → `get_rivals` · scope `apps:read` · 2 credits with a live credential · tools in storelift-mcp 1.5.0 and later (current package: storelift-mcp 1.6.0); the test key and the note that closes a result need version 1.6.0 of the server.
263
+ Tools: `list_apps` → `get_rivals` · scope `apps:read` · 2 credits with a live credential · tools in storelift-mcp 1.5.0 and later (current package: storelift-mcp 1.7.0); the test key and the note that closes a result need version 1.7.0 of the server.
264
264
 
265
265
  The call the client sends:
266
266
 
@@ -301,7 +301,7 @@ The first part of the result (`content[0].text`); `rivals` shows 2 of 3 rows:
301
301
 
302
302
  ### See what a credential can read
303
303
 
304
- Tool: `whoami` · no scope · 0 credits · tools in storelift-mcp 1.5.0 and later (current package: storelift-mcp 1.6.0); the test key and the note that closes a result need version 1.6.0 of the server. Over HTTP the same answer is `GET /v1/account`.
304
+ Tool: `whoami` · no scope · 0 credits · tools in storelift-mcp 1.5.0 and later (current package: storelift-mcp 1.7.0); the test key and the note that closes a result need version 1.7.0 of the server. Over HTTP the same answer is `GET /v1/account`.
305
305
 
306
306
  ```json
307
307
  {"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"whoami","arguments":{}}}
package/index.mjs CHANGED
@@ -92,6 +92,12 @@ const HATA_METNI = {
92
92
  daily_hive_limit: "Today's market-data allowance for this workspace is used up. It resets at midnight UTC.",
93
93
  explorer_required: "This tool is not open on this account. Hive tools run on purchased API credits or Hive Explorer; keyword gap and keyword metrics are Hive Explorer only. See https://storelift.net/hive/api",
94
94
  not_measured: "Add that app or term to your workspace and it is measured in this storefront.",
95
+ keywords_required: "Every country needs at least one keyword. Pass keywords (used in every country) or a list per country in keywordsByCountry; `countries` names the countries left without a list.",
96
+ country_not_tracked: "That country is not tracked for this app. `tracked` lists the app's countries; add the country in Storelift first.",
97
+ country_keywords_empty: "This would leave a country with no keywords. A country keeps at least one; to stop tracking a country, remove it in Storelift.",
98
+ tracked_keyword_limit: "This would go over the workspace's tracked-keyword quota, which counts keyword × country pairs. `used`, `requested` and `limit` give the numbers: add fewer keywords or fewer countries.",
99
+ keyword_limit: "A country's keyword list would go over the limit per country (`limit`).",
100
+ keyword_too_long: "A keyword is longer than 60 characters.",
95
101
  };
96
102
 
97
103
  /* TİCARETSİZ İSTEMCİNİN CÜMLESİ (19 Eki 2026, ChatGPT uygulama dizini: "must not display
@@ -544,7 +550,7 @@ const TOOLS = [
544
550
  name: "validate_listing",
545
551
  scope: "apps:read", credits: 1, title: "Validate listing draft",
546
552
  description:
547
- "Check a draft App Store listing before it goes to App Store Connect. It reports character limits per field, keyword-field room lost to spaces, repeats, words already in the name or subtitle, the brand and filler words, name/subtitle repeats, Apple product names and price words, whether the text is in the locale's language and script, and which of the app's tracked keywords the draft leaves out. Writes nothing; pass only the fields you want checked.",
553
+ "Check a draft App Store listing before it goes to App Store Connect. It reports character limits per field, keyword-field room lost to spaces, repeats, words already in the name or subtitle, the brand and filler words, name/subtitle repeats, Apple product names and price words, whether the text is in the locale's language and script, and which of the app's tracked keywords the draft leaves out. It also runs the text rules: a year in the name or subtitle; a description without the Terms of Use when the app sells an auto-renewing subscription (Apple guideline 3.1.2); price or trial words in in-app purchase names (Apple guideline 2.3.2); and a brand that takes much of the name while few people search for it (a data-based suggestion — a brand is never required in the name). Each of these carries `basis` (guideline, data or advice) and, for Apple rules, `guideline`. Writes nothing; pass only the fields you want checked.",
548
554
  inputSchema: {
549
555
  type: "object",
550
556
  properties: {
@@ -556,10 +562,11 @@ const TOOLS = [
556
562
  keywords: { type: "string", description: "keyword field, comma-separated, up to 100 characters" },
557
563
  promotionalText: { type: "string", description: "promotional text, up to 170 characters" },
558
564
  description: { type: "string", description: "description, up to 4000 characters" },
565
+ inAppPurchases: { type: "string", description: "optional: in-app purchase names as shown on the App Store, one per line" },
559
566
  },
560
567
  required: ["appId"],
561
568
  },
562
- run: (a) => api(`/v1/apps/${a.appId}/validate-listing`, { locale: a.locale, country: a.country, name: a.name, subtitle: a.subtitle, keywords: a.keywords, promotionalText: a.promotionalText, description: a.description }),
569
+ run: (a) => api(`/v1/apps/${a.appId}/validate-listing`, { locale: a.locale, country: a.country, name: a.name, subtitle: a.subtitle, keywords: a.keywords, promotionalText: a.promotionalText, description: a.description, inAppPurchases: a.inAppPurchases }),
563
570
  },
564
571
  {
565
572
  name: "draft_listing",
@@ -912,40 +919,51 @@ const TOOLS = [
912
919
  {
913
920
  name: "add_app",
914
921
  scope: "track:write", credits: 0, write: true, title: "Add app (preview)",
915
- description: "PREVIEW ONLY: start tracking an App Store or Google Play app in this workspace. Returns what would change plus a confirmToken; nothing is written until the user approves and you call confirm_action. Never call confirm_action without the user's explicit approval.",
922
+ description: "PREVIEW ONLY: start tracking an App Store or Google Play app in this workspace. Every country needs at least one keyword: pass keywords (the same list in every country) and/or keywordsByCountry (a separate list per country, e.g. one per App Store locale; a country listed there uses its own list instead of keywords). The tracked-keyword quota counts keyword × country pairs: 5 keywords in 40 countries use 200. The preview shows the app's store name, each country's keyword count and the quota after the change, plus a confirmToken; nothing is written until the user approves and you call confirm_action. Never call confirm_action without the user's explicit approval.",
916
923
  inputSchema: {
917
924
  type: "object",
918
925
  properties: {
919
926
  iosId: { type: "string", description: "App Store numeric id, e.g. 6472783051" },
920
927
  androidPkg: { type: "string", description: "Google Play package name" },
921
- name: { type: "string", description: "display name (optional)" },
922
- countries: { type: "array", items: { type: "string" }, description: "two-letter storefronts, defaults to us" },
923
- keywords: { type: "array", items: { type: "string" }, description: "keywords to track from day one" },
928
+ name: { type: "string", description: "display name (optional; defaults to the store name)" },
929
+ countries: { type: "array", items: { type: "string" }, description: "two-letter storefronts; defaults to the countries of keywordsByCountry, else us" },
930
+ keywords: { type: "array", items: { type: "string" }, description: "keywords tracked in every country that has no list in keywordsByCountry (up to 50)" },
931
+ keywordsByCountry: { type: "object", additionalProperties: { type: "array", items: { type: "string" } }, description: "a separate keyword list per country, e.g. {\"us\": [\"habit tracker\"], \"de\": [\"gewohnheiten\"]}; up to 150 per country and 2,500 keyword × country pairs per call" },
924
932
  },
925
933
  },
926
- run: (a) => api("/v1/actions", { action: "add_app", args: { iosId: a.iosId, androidPkg: a.androidPkg, name: a.name, countries: a.countries, keywords: a.keywords } }),
934
+ run: (a) => api("/v1/actions", { action: "add_app", args: { iosId: a.iosId, androidPkg: a.androidPkg, name: a.name, countries: a.countries, keywords: a.keywords, keywordsByCountry: a.keywordsByCountry } }),
927
935
  },
928
936
  {
929
937
  name: "add_keywords",
930
938
  scope: "track:write", credits: 0, write: true, title: "Add keywords (preview)",
931
- description: "PREVIEW ONLY: add keywords to an app's tracked list. The diff names the keywords that are already tracked separately — they are not added twice. Apply with confirm_action after the user approves.",
939
+ description: "PREVIEW ONLY: add keywords to an app, country by country. Each country keeps its own keyword list. Pass keywords with countries to add the same words to those countries only, keywords alone to add them to every country the app tracks, or keywordsByCountry to add a different list to each country in one call. The tracked-keyword quota counts keyword × country pairs: one keyword added in 40 countries uses 40. The diff shows each country's change, the keywords already tracked (not added twice) and the quota after the change. Apply with confirm_action after the user approves.",
932
940
  inputSchema: {
933
941
  type: "object",
934
- properties: { appId: { type: "string", description: "app id from list_apps" }, keywords: { type: "array", items: { type: "string" }, description: "up to 50 keywords" } },
935
- required: ["appId", "keywords"],
942
+ properties: {
943
+ appId: { type: "string", description: "app id from list_apps" },
944
+ keywords: { type: "array", items: { type: "string" }, description: "up to 50 keywords" },
945
+ countries: { type: "array", items: { type: "string" }, description: "two-letter countries the app tracks to add keywords in; leave out for every tracked country" },
946
+ keywordsByCountry: { type: "object", additionalProperties: { type: "array", items: { type: "string" } }, description: "instead of keywords + countries: a list per country, e.g. {\"us\": [\"sleep sounds\"], \"jp\": [\"睡眠\"]}; up to 150 per country and 2,500 keyword × country pairs per call" },
947
+ },
948
+ required: ["appId"],
936
949
  },
937
- run: (a) => api("/v1/actions", { action: "add_keywords", args: { appId: a.appId, keywords: a.keywords } }),
950
+ run: (a) => api("/v1/actions", { action: "add_keywords", args: { appId: a.appId, keywords: a.keywords, countries: a.countries, keywordsByCountry: a.keywordsByCountry } }),
938
951
  },
939
952
  {
940
953
  name: "remove_keywords",
941
954
  scope: "track:write", credits: 0, write: true, destructive: true, title: "Remove keywords (preview)",
942
- description: "PREVIEW ONLY: stop tracking keywords for an app. Their measured history stays, but the ranks stop being collected. Apply with confirm_action after the user approves.",
955
+ description: "PREVIEW ONLY: stop tracking keywords for an app, country by country. Pass keywords with countries to remove them in those countries only, keywords alone to remove them everywhere, or keywordsByCountry for a different list per country. A country keeps at least one keyword; to stop tracking a country, remove the country in Storelift. Measured history stays, but the ranks stop being collected. The diff shows each country's change and the quota after it. Apply with confirm_action after the user approves.",
943
956
  inputSchema: {
944
957
  type: "object",
945
- properties: { appId: { type: "string", description: "app id from list_apps" }, keywords: { type: "array", items: { type: "string" } } },
946
- required: ["appId", "keywords"],
958
+ properties: {
959
+ appId: { type: "string", description: "app id from list_apps" },
960
+ keywords: { type: "array", items: { type: "string" }, description: "up to 50 keywords" },
961
+ countries: { type: "array", items: { type: "string" }, description: "two-letter countries to remove keywords in; leave out for every tracked country" },
962
+ keywordsByCountry: { type: "object", additionalProperties: { type: "array", items: { type: "string" } }, description: "instead of keywords + countries: a list per country, e.g. {\"us\": [\"white noise\"]}" },
963
+ },
964
+ required: ["appId"],
947
965
  },
948
- run: (a) => api("/v1/actions", { action: "remove_keywords", args: { appId: a.appId, keywords: a.keywords } }),
966
+ run: (a) => api("/v1/actions", { action: "remove_keywords", args: { appId: a.appId, keywords: a.keywords, countries: a.countries, keywordsByCountry: a.keywordsByCountry } }),
949
967
  },
950
968
  {
951
969
  name: "add_rivals",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storelift-mcp",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "mcpName": "net.storelift/storelift",
5
5
  "description": "App Store & Google Play keyword ranks, rivals, store pages, reviews, charts and AI visibility as an MCP server. The remote server is included on Storelift Pro and Studio.",
6
6
  "type": "module",