@lightsage/mcp 0.4.8 → 0.4.10

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 (67) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +33 -26
  3. package/bin/mcp-server.js.map +19 -19
  4. package/esm/funcs/agentsList.d.ts +1 -1
  5. package/esm/funcs/agentsList.js +1 -1
  6. package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
  7. package/esm/funcs/visibilityCurrentRetrieve.js +1 -1
  8. package/esm/funcs/visibilityPromptsRetrieve.d.ts +1 -1
  9. package/esm/funcs/visibilityPromptsRetrieve.js +1 -1
  10. package/esm/landing-page.js +1 -1
  11. package/esm/lib/config.d.ts +2 -2
  12. package/esm/lib/config.js +2 -2
  13. package/esm/lib/config.js.map +1 -1
  14. package/esm/mcp-server/mcp-server.js +1 -1
  15. package/esm/mcp-server/mcp-server.js.map +1 -1
  16. package/esm/mcp-server/server.js +1 -1
  17. package/esm/mcp-server/server.js.map +1 -1
  18. package/esm/mcp-server/tools/agentsList.js +1 -1
  19. package/esm/mcp-server/tools/agentsList.js.map +1 -1
  20. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
  21. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
  22. package/esm/mcp-server/tools/visibilityPromptsRetrieve.js +1 -1
  23. package/esm/mcp-server/tools/visibilityPromptsRetrieve.js.map +1 -1
  24. package/esm/models/publiccompetitorrow.d.ts +2 -0
  25. package/esm/models/publiccompetitorrow.d.ts.map +1 -1
  26. package/esm/models/publiccompetitorrow.js +5 -3
  27. package/esm/models/publiccompetitorrow.js.map +1 -1
  28. package/esm/models/publiccurrentvisibilityresponse.d.ts +2 -0
  29. package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
  30. package/esm/models/publiccurrentvisibilityresponse.js +5 -3
  31. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  32. package/esm/models/publicpromptvisibilitymetrics.d.ts +2 -1
  33. package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
  34. package/esm/models/publicpromptvisibilitymetrics.js +4 -3
  35. package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
  36. package/esm/models/publicvisibilitybyplatform.d.ts +1 -1
  37. package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
  38. package/esm/models/publicvisibilitybyplatform.js +1 -2
  39. package/esm/models/publicvisibilitybyplatform.js.map +1 -1
  40. package/esm/models/publicvisibilitysnapshot.d.ts +2 -0
  41. package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
  42. package/esm/models/publicvisibilitysnapshot.js +5 -3
  43. package/esm/models/publicvisibilitysnapshot.js.map +1 -1
  44. package/esm/models/publicvisibilitytimeseries.d.ts +1 -1
  45. package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
  46. package/esm/models/publicvisibilitytimeseries.js +1 -1
  47. package/esm/models/publicvisibilitytimeseries.js.map +1 -1
  48. package/esm/tool-names.js +3 -3
  49. package/esm/tool-names.js.map +1 -1
  50. package/package.json +3 -3
  51. package/src/funcs/agentsList.ts +1 -1
  52. package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
  53. package/src/funcs/visibilityPromptsRetrieve.ts +1 -1
  54. package/src/landing-page.ts +1 -1
  55. package/src/lib/config.ts +2 -2
  56. package/src/mcp-server/mcp-server.ts +1 -1
  57. package/src/mcp-server/server.ts +1 -1
  58. package/src/mcp-server/tools/agentsList.ts +1 -1
  59. package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
  60. package/src/mcp-server/tools/visibilityPromptsRetrieve.ts +1 -1
  61. package/src/models/publiccompetitorrow.ts +11 -3
  62. package/src/models/publiccurrentvisibilityresponse.ts +11 -3
  63. package/src/models/publicpromptvisibilitymetrics.ts +8 -4
  64. package/src/models/publicvisibilitybyplatform.ts +5 -3
  65. package/src/models/publicvisibilitysnapshot.ts +11 -3
  66. package/src/models/publicvisibilitytimeseries.ts +2 -2
  67. package/src/tool-names.ts +3 -3
package/README.md CHANGED
@@ -33,9 +33,9 @@ Lightsage Public API: Public API for Lightsage CLI and external integrations.
33
33
  <details>
34
34
  <summary>Claude Desktop</summary>
35
35
 
36
- Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.8/mcp-server.mcpb) file:
36
+ Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.10/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.8/mcp-server.mcpb) file onto Claude Desktop to install the extension.
38
+ Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.10/mcp-server.mcpb) file onto Claude Desktop to install the extension.
39
39
 
40
40
  The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
41
41
 
package/bin/mcp-server.js CHANGED
@@ -52844,9 +52844,9 @@ var init_config = __esm(() => {
52844
52844
  SDK_METADATA = {
52845
52845
  language: "typescript",
52846
52846
  openapiDocVersion: "1.0.0",
52847
- sdkVersion: "0.4.8",
52847
+ sdkVersion: "0.4.10",
52848
52848
  genVersion: "2.943.0",
52849
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.8 2.943.0 1.0.0 @lightsage/mcp"
52849
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.10 2.943.0 1.0.0 @lightsage/mcp"
52850
52850
  };
52851
52851
  });
52852
52852
 
@@ -55558,7 +55558,7 @@ var init_agentsList2 = __esm(() => {
55558
55558
  name: "agents-list",
55559
55559
  description: `List Agents
55560
55560
 
55561
- Returns all runnable harness-and-model combinations as single agent IDs for use in eval runs.`,
55561
+ Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`,
55562
55562
  annotations: {
55563
55563
  title: "",
55564
55564
  destructiveHint: false,
@@ -63511,10 +63511,12 @@ var init_publiccurrentvisibilityresponse = __esm(() => {
63511
63511
  date: string2().nullable().optional().describe("Latest prompt-run date in the range."),
63512
63512
  end_date: string2(),
63513
63513
  has_data: boolean2(),
63514
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63515
- share_of_voice_rank: int().nullable().optional(),
63514
+ recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63515
+ recommendation_score_rank: int().nullable().optional(),
63516
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63517
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63516
63518
  start_date: string2(),
63517
- visibility_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63519
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63518
63520
  visibility_score_rank: int().nullable().optional()
63519
63521
  });
63520
63522
  });
@@ -63625,7 +63627,7 @@ var init_visibilityCurrentRetrieve2 = __esm(() => {
63625
63627
  name: "visibility-current-retrieve",
63626
63628
  description: `Retrieve Current Visibility
63627
63629
 
63628
- Returns visibility score, share of voice, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are \`null\`.`,
63630
+ Returns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are \`null\`.`,
63629
63631
  annotations: {
63630
63632
  title: "",
63631
63633
  destructiveHint: false,
@@ -63656,9 +63658,11 @@ var init_publiccompetitorrow = __esm(() => {
63656
63658
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when never mentioned."),
63657
63659
  average_position_rank: int().nullable().optional().describe("Companies with an `average_position` of 0 rank last."),
63658
63660
  company: PublicCompany$zodSchema,
63659
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded. A run can mention several companies, so rows do not sum to 1."),
63660
- share_of_voice_rank: int().nullable().optional(),
63661
- visibility_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded. Rows do not sum to 1."),
63661
+ recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded. Rows do not sum to 1."),
63662
+ recommendation_score_rank: int().nullable().optional(),
63663
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63664
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63665
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded. A run can mention several companies, so rows do not sum to 1."),
63662
63666
  visibility_score_rank: int().nullable().optional()
63663
63667
  });
63664
63668
  });
@@ -63695,7 +63699,7 @@ var init_publicvisibilitybyplatform = __esm(() => {
63695
63699
  PublicVisibilityByPlatform$zodSchema = object({
63696
63700
  citations: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Owned-domain citation counts keyed by platform_id."),
63697
63701
  platforms: array(PublicPlatformRef$zodSchema).optional(),
63698
- visibility_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Visibility score series keyed by `platform_id`.")
63702
+ recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`.")
63699
63703
  });
63700
63704
  });
63701
63705
 
@@ -63719,10 +63723,12 @@ var init_publicvisibilitysnapshot = __esm(() => {
63719
63723
  PublicVisibilitySnapshot$zodSchema = object({
63720
63724
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better."),
63721
63725
  average_position_rank: int().nullable().optional(),
63722
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63723
- share_of_voice_rank: int().nullable().optional(),
63726
+ recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63727
+ recommendation_score_rank: int().nullable().optional(),
63728
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63729
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63724
63730
  total_citations: int().default(0).describe("Owned-domain citations across all platforms; 0, not `null`, with no prompt runs."),
63725
- visibility_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63731
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63726
63732
  visibility_score_rank: int().nullable().optional()
63727
63733
  });
63728
63734
  });
@@ -63733,7 +63739,7 @@ var init_publicvisibilitytimeseries = __esm(() => {
63733
63739
  init_zod();
63734
63740
  init_publicseriespoint();
63735
63741
  PublicVisibilityTimeseries$zodSchema = object({
63736
- visibility_score: array(PublicSeriesPoint$zodSchema).optional()
63742
+ recommendation_score: array(PublicSeriesPoint$zodSchema).optional()
63737
63743
  });
63738
63744
  });
63739
63745
 
@@ -63905,10 +63911,11 @@ var init_publicpromptvisibilitymetrics = __esm(() => {
63905
63911
  PublicPromptVisibilityMetrics$zodSchema = object({
63906
63912
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when runs produced no mentions."),
63907
63913
  citation_count: int().default(0).describe("Owned-domain citations only."),
63914
+ recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63915
+ recommendation_score_rank: int().nullable().optional(),
63908
63916
  run_count: int().default(0).describe("One per prompt, platform, and run date."),
63909
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63910
- visibility_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63911
- visibility_score_rank: int().nullable().optional()
63917
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63918
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded.")
63912
63919
  });
63913
63920
  });
63914
63921
 
@@ -64074,7 +64081,7 @@ var init_visibilityPromptsRetrieve2 = __esm(() => {
64074
64081
  name: "visibility-prompts-retrieve",
64075
64082
  description: `Retrieve Prompt Visibility Report
64076
64083
 
64077
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`,
64084
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`,
64078
64085
  annotations: {
64079
64086
  title: "",
64080
64087
  destructiveHint: false,
@@ -64106,7 +64113,7 @@ function createMCPServer(deps) {
64106
64113
  sizes: ["any"]
64107
64114
  }],
64108
64115
  name: "LightsageMcp",
64109
- version: "0.4.8"
64116
+ version: "0.4.10"
64110
64117
  });
64111
64118
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
64112
64119
  security: deps.security,
@@ -64283,7 +64290,7 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
64283
64290
  },
64284
64291
  {
64285
64292
  name: "visibility-current-retrieve",
64286
- description: "Retrieve Current Visibility\n\nReturns visibility score, share of voice, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are `null`."
64293
+ description: "Retrieve Current Visibility\n\nReturns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are `null`."
64287
64294
  },
64288
64295
  {
64289
64296
  name: "visibility-overview-retrieve",
@@ -64301,7 +64308,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
64301
64308
  name: "visibility-prompts-retrieve",
64302
64309
  description: `Retrieve Prompt Visibility Report
64303
64310
 
64304
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`
64311
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`
64305
64312
  },
64306
64313
  {
64307
64314
  name: "prompts-list",
@@ -64570,7 +64577,7 @@ Returns recorded attempts for an Agent Preference eval, newest first, each with
64570
64577
  name: "agents-list",
64571
64578
  description: `List Agents
64572
64579
 
64573
- Returns all runnable harness-and-model combinations as single agent IDs for use in eval runs.`
64580
+ Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`
64574
64581
  },
64575
64582
  {
64576
64583
  name: "repositories-list",
@@ -65530,7 +65537,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
65530
65537
  <h1>Instructions</h1>
65531
65538
  <p>One-click installation for Claude Desktop users</p>
65532
65539
  <div class="instruction-item">
65533
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.8/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65540
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.10/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65534
65541
  \uD83D\uDCE5 Download MCP Bundle
65535
65542
  </a>
65536
65543
  </div>
@@ -68408,7 +68415,7 @@ var routes = buildRouteMap({
68408
68415
  var app = buildApplication(routes, {
68409
68416
  name: "mcp",
68410
68417
  versionInfo: {
68411
- currentVersion: "0.4.8"
68418
+ currentVersion: "0.4.10"
68412
68419
  }
68413
68420
  });
68414
68421
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -68416,5 +68423,5 @@ export {
68416
68423
  app
68417
68424
  };
68418
68425
 
68419
- //# debugId=1B821B76381F998E64756E2164756E21
68426
+ //# debugId=9D2D623108C3BD3F64756E2164756E21
68420
68427
  //# sourceMappingURL=mcp-server.js.map