@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.
- package/README.md +2 -2
- package/bin/mcp-server.js +33 -26
- package/bin/mcp-server.js.map +19 -19
- package/esm/funcs/agentsList.d.ts +1 -1
- package/esm/funcs/agentsList.js +1 -1
- package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityCurrentRetrieve.js +1 -1
- package/esm/funcs/visibilityPromptsRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityPromptsRetrieve.js +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentsList.js +1 -1
- package/esm/mcp-server/tools/agentsList.js.map +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/mcp-server/tools/visibilityPromptsRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityPromptsRetrieve.js.map +1 -1
- package/esm/models/publiccompetitorrow.d.ts +2 -0
- package/esm/models/publiccompetitorrow.d.ts.map +1 -1
- package/esm/models/publiccompetitorrow.js +5 -3
- package/esm/models/publiccompetitorrow.js.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.d.ts +2 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.js +5 -3
- package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
- package/esm/models/publicpromptvisibilitymetrics.d.ts +2 -1
- package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
- package/esm/models/publicpromptvisibilitymetrics.js +4 -3
- package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
- package/esm/models/publicvisibilitybyplatform.d.ts +1 -1
- package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
- package/esm/models/publicvisibilitybyplatform.js +1 -2
- package/esm/models/publicvisibilitybyplatform.js.map +1 -1
- package/esm/models/publicvisibilitysnapshot.d.ts +2 -0
- package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
- package/esm/models/publicvisibilitysnapshot.js +5 -3
- package/esm/models/publicvisibilitysnapshot.js.map +1 -1
- package/esm/models/publicvisibilitytimeseries.d.ts +1 -1
- package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
- package/esm/models/publicvisibilitytimeseries.js +1 -1
- package/esm/models/publicvisibilitytimeseries.js.map +1 -1
- package/esm/tool-names.js +3 -3
- package/esm/tool-names.js.map +1 -1
- package/package.json +3 -3
- package/src/funcs/agentsList.ts +1 -1
- package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
- package/src/funcs/visibilityPromptsRetrieve.ts +1 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/agentsList.ts +1 -1
- package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
- package/src/mcp-server/tools/visibilityPromptsRetrieve.ts +1 -1
- package/src/models/publiccompetitorrow.ts +11 -3
- package/src/models/publiccurrentvisibilityresponse.ts +11 -3
- package/src/models/publicpromptvisibilitymetrics.ts +8 -4
- package/src/models/publicvisibilitybyplatform.ts +5 -3
- package/src/models/publicvisibilitysnapshot.ts +11 -3
- package/src/models/publicvisibilitytimeseries.ts +2 -2
- package/src/tool-names.ts +3 -3
package/src/landing-page.ts
CHANGED
|
@@ -931,7 +931,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
931
931
|
<h1>Instructions</h1>
|
|
932
932
|
<p>One-click installation for Claude Desktop users</p>
|
|
933
933
|
<div class="instruction-item">
|
|
934
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.
|
|
934
|
+
<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;">
|
|
935
935
|
📥 Download MCP Bundle
|
|
936
936
|
</a>
|
|
937
937
|
</div>
|
package/src/lib/config.ts
CHANGED
|
@@ -66,7 +66,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
66
66
|
export const SDK_METADATA = {
|
|
67
67
|
language: "typescript",
|
|
68
68
|
openapiDocVersion: "1.0.0",
|
|
69
|
-
sdkVersion: "0.4.
|
|
69
|
+
sdkVersion: "0.4.10",
|
|
70
70
|
genVersion: "2.943.0",
|
|
71
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
71
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.10 2.943.0 1.0.0 @lightsage/mcp",
|
|
72
72
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -10,7 +10,7 @@ export const tool$agentsList: ToolDefinition = {
|
|
|
10
10
|
name: "agents-list",
|
|
11
11
|
description: `List Agents
|
|
12
12
|
|
|
13
|
-
Returns
|
|
13
|
+
Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`,
|
|
14
14
|
annotations: {
|
|
15
15
|
"title": "",
|
|
16
16
|
"destructiveHint": false,
|
|
@@ -15,7 +15,7 @@ export const tool$visibilityCurrentRetrieve: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "visibility-current-retrieve",
|
|
16
16
|
description: `Retrieve Current Visibility
|
|
17
17
|
|
|
18
|
-
Returns
|
|
18
|
+
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\`.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -15,7 +15,7 @@ export const tool$visibilityPromptsRetrieve: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "visibility-prompts-retrieve",
|
|
16
16
|
description: `Retrieve Prompt Visibility Report
|
|
17
17
|
|
|
18
|
-
Returns per-topic and per-prompt visibility metrics including score, rank,
|
|
18
|
+
Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -8,6 +8,8 @@ import { PublicCompany, PublicCompany$zodSchema } from "./publiccompany.js";
|
|
|
8
8
|
|
|
9
9
|
export type PublicCompetitorRow = {
|
|
10
10
|
company: PublicCompany;
|
|
11
|
+
recommendation_score?: number | null | undefined;
|
|
12
|
+
recommendation_score_rank?: number | null | undefined;
|
|
11
13
|
visibility_score?: number | null | undefined;
|
|
12
14
|
visibility_score_rank?: number | null | undefined;
|
|
13
15
|
share_of_voice?: number | null | undefined;
|
|
@@ -25,12 +27,18 @@ export const PublicCompetitorRow$zodSchema: z.ZodType<PublicCompetitorRow> = z
|
|
|
25
27
|
"Companies with an `average_position` of 0 rank last.",
|
|
26
28
|
),
|
|
27
29
|
company: PublicCompany$zodSchema,
|
|
30
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
31
|
+
"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.",
|
|
32
|
+
),
|
|
33
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
28
34
|
share_of_voice: z.number().nullable().optional().describe(
|
|
29
|
-
"
|
|
35
|
+
"Deprecated: use `visibility_score`. Same value; this field will be removed in a future release.",
|
|
36
|
+
),
|
|
37
|
+
share_of_voice_rank: z.int().nullable().optional().describe(
|
|
38
|
+
"Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release.",
|
|
30
39
|
),
|
|
31
|
-
share_of_voice_rank: z.int().nullable().optional(),
|
|
32
40
|
visibility_score: z.number().nullable().optional().describe(
|
|
33
|
-
"
|
|
41
|
+
"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.",
|
|
34
42
|
),
|
|
35
43
|
visibility_score_rank: z.int().nullable().optional(),
|
|
36
44
|
});
|
|
@@ -8,6 +8,8 @@ import { PublicCompany, PublicCompany$zodSchema } from "./publiccompany.js";
|
|
|
8
8
|
|
|
9
9
|
export type PublicCurrentVisibilityResponse = {
|
|
10
10
|
company: PublicCompany;
|
|
11
|
+
recommendation_score?: number | null | undefined;
|
|
12
|
+
recommendation_score_rank?: number | null | undefined;
|
|
11
13
|
visibility_score?: number | null | undefined;
|
|
12
14
|
visibility_score_rank?: number | null | undefined;
|
|
13
15
|
share_of_voice?: number | null | undefined;
|
|
@@ -35,13 +37,19 @@ export const PublicCurrentVisibilityResponse$zodSchema: z.ZodType<
|
|
|
35
37
|
),
|
|
36
38
|
end_date: z.string(),
|
|
37
39
|
has_data: z.boolean(),
|
|
40
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
41
|
+
"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.",
|
|
42
|
+
),
|
|
43
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
38
44
|
share_of_voice: z.number().nullable().optional().describe(
|
|
39
|
-
"
|
|
45
|
+
"Deprecated: use `visibility_score`. Same value; this field will be removed in a future release.",
|
|
46
|
+
),
|
|
47
|
+
share_of_voice_rank: z.int().nullable().optional().describe(
|
|
48
|
+
"Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release.",
|
|
40
49
|
),
|
|
41
|
-
share_of_voice_rank: z.int().nullable().optional(),
|
|
42
50
|
start_date: z.string(),
|
|
43
51
|
visibility_score: z.number().nullable().optional().describe(
|
|
44
|
-
"
|
|
52
|
+
"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.",
|
|
45
53
|
),
|
|
46
54
|
visibility_score_rank: z.int().nullable().optional(),
|
|
47
55
|
});
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
8
|
export type PublicPromptVisibilityMetrics = {
|
|
9
|
+
recommendation_score?: number | null | undefined;
|
|
10
|
+
recommendation_score_rank?: number | null | undefined;
|
|
9
11
|
visibility_score?: number | null | undefined;
|
|
10
|
-
visibility_score_rank?: number | null | undefined;
|
|
11
12
|
share_of_voice?: number | null | undefined;
|
|
12
13
|
average_position?: number | null | undefined;
|
|
13
14
|
citation_count?: number | undefined;
|
|
@@ -21,14 +22,17 @@ export const PublicPromptVisibilityMetrics$zodSchema: z.ZodType<
|
|
|
21
22
|
"Mean mention position in AI responses; 1 is first and lower is better. 0 when runs produced no mentions.",
|
|
22
23
|
),
|
|
23
24
|
citation_count: z.int().default(0).describe("Owned-domain citations only."),
|
|
25
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
26
|
+
"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.",
|
|
27
|
+
),
|
|
28
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
24
29
|
run_count: z.int().default(0).describe(
|
|
25
30
|
"One per prompt, platform, and run date.",
|
|
26
31
|
),
|
|
27
32
|
share_of_voice: z.number().nullable().optional().describe(
|
|
28
|
-
"
|
|
33
|
+
"Deprecated: use `visibility_score`. Same value; this field will be removed in a future release.",
|
|
29
34
|
),
|
|
30
35
|
visibility_score: z.number().nullable().optional().describe(
|
|
31
|
-
"
|
|
36
|
+
"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.",
|
|
32
37
|
),
|
|
33
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
34
38
|
});
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
|
|
16
16
|
export type PublicVisibilityByPlatform = {
|
|
17
17
|
platforms?: Array<PublicPlatformRef> | undefined;
|
|
18
|
-
|
|
18
|
+
recommendation_score?: { [k: string]: Array<PublicSeriesPoint> } | undefined;
|
|
19
19
|
citations?: { [k: string]: Array<PublicSeriesPoint> } | undefined;
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -25,6 +25,8 @@ export const PublicVisibilityByPlatform$zodSchema: z.ZodType<
|
|
|
25
25
|
citations: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema))
|
|
26
26
|
.optional().describe("Owned-domain citation counts keyed by platform_id."),
|
|
27
27
|
platforms: z.array(PublicPlatformRef$zodSchema).optional(),
|
|
28
|
-
|
|
29
|
-
.
|
|
28
|
+
recommendation_score: z.record(
|
|
29
|
+
z.string(),
|
|
30
|
+
z.array(PublicSeriesPoint$zodSchema),
|
|
31
|
+
).optional().describe("Recommendation score series keyed by `platform_id`."),
|
|
30
32
|
});
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
8
|
export type PublicVisibilitySnapshot = {
|
|
9
|
+
recommendation_score?: number | null | undefined;
|
|
10
|
+
recommendation_score_rank?: number | null | undefined;
|
|
9
11
|
visibility_score?: number | null | undefined;
|
|
10
12
|
visibility_score_rank?: number | null | undefined;
|
|
11
13
|
share_of_voice?: number | null | undefined;
|
|
@@ -22,15 +24,21 @@ export const PublicVisibilitySnapshot$zodSchema: z.ZodType<
|
|
|
22
24
|
"Mean mention position in AI responses; 1 is first and lower is better.",
|
|
23
25
|
),
|
|
24
26
|
average_position_rank: z.int().nullable().optional(),
|
|
27
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
28
|
+
"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.",
|
|
29
|
+
),
|
|
30
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
25
31
|
share_of_voice: z.number().nullable().optional().describe(
|
|
26
|
-
"
|
|
32
|
+
"Deprecated: use `visibility_score`. Same value; this field will be removed in a future release.",
|
|
33
|
+
),
|
|
34
|
+
share_of_voice_rank: z.int().nullable().optional().describe(
|
|
35
|
+
"Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release.",
|
|
27
36
|
),
|
|
28
|
-
share_of_voice_rank: z.int().nullable().optional(),
|
|
29
37
|
total_citations: z.int().default(0).describe(
|
|
30
38
|
"Owned-domain citations across all platforms; 0, not `null`, with no prompt runs.",
|
|
31
39
|
),
|
|
32
40
|
visibility_score: z.number().nullable().optional().describe(
|
|
33
|
-
"
|
|
41
|
+
"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.",
|
|
34
42
|
),
|
|
35
43
|
visibility_score_rank: z.int().nullable().optional(),
|
|
36
44
|
});
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./publicseriespoint.js";
|
|
11
11
|
|
|
12
12
|
export type PublicVisibilityTimeseries = {
|
|
13
|
-
|
|
13
|
+
recommendation_score?: Array<PublicSeriesPoint> | undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export const PublicVisibilityTimeseries$zodSchema: z.ZodType<
|
|
17
17
|
PublicVisibilityTimeseries
|
|
18
18
|
> = z.object({
|
|
19
|
-
|
|
19
|
+
recommendation_score: z.array(PublicSeriesPoint$zodSchema).optional(),
|
|
20
20
|
});
|
package/src/tool-names.ts
CHANGED
|
@@ -10,7 +10,7 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "visibility-current-retrieve",
|
|
13
|
-
"description": "Retrieve Current Visibility\n\nReturns
|
|
13
|
+
"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`."
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "visibility-overview-retrieve",
|
|
@@ -22,7 +22,7 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "visibility-prompts-retrieve",
|
|
25
|
-
"description": "Retrieve Prompt Visibility Report\n\nReturns per-topic and per-prompt visibility metrics including score, rank,
|
|
25
|
+
"description": "Retrieve Prompt Visibility Report\n\nReturns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts."
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "prompts-list",
|
|
@@ -222,7 +222,7 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"name": "agents-list",
|
|
225
|
-
"description": "List Agents\n\nReturns
|
|
225
|
+
"description": "List Agents\n\nReturns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs."
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"name": "repositories-list",
|