@certscore/mcp 0.2.3 → 0.2.4

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.
@@ -18065,16 +18065,22 @@ var mcpGetLatestDomainPreConsentCookiesTrackersInputSchema = {
18065
18065
  scanFrom: mcpScanFromSchema.optional().describe("Optional scan execution context for matching eligible scans."),
18066
18066
  maxRows: external_exports.number().int().min(1).max(200).optional().describe("Maximum inventory rows to return. Defaults to 200.")
18067
18067
  };
18068
- var scanCreationAnnotations = {
18069
- readOnlyHint: false,
18070
- destructiveHint: true,
18071
- idempotentHint: false,
18072
- openWorldHint: true
18073
- };
18074
- var readOnlyOpenWorldAnnotations = {
18075
- readOnlyHint: true,
18076
- openWorldHint: true
18077
- };
18068
+ function scanCreationAnnotations(title) {
18069
+ return {
18070
+ title,
18071
+ readOnlyHint: false,
18072
+ destructiveHint: true,
18073
+ idempotentHint: false,
18074
+ openWorldHint: true
18075
+ };
18076
+ }
18077
+ function readOnlyOpenWorldAnnotations(title) {
18078
+ return {
18079
+ title,
18080
+ readOnlyHint: true,
18081
+ openWorldHint: true
18082
+ };
18083
+ }
18078
18084
  var mcpToolErrorPayloadSchema = external_exports.object({
18079
18085
  error: external_exports.object({
18080
18086
  name: external_exports.string(),
@@ -18163,7 +18169,7 @@ var certScoreMcpToolContracts = [
18163
18169
  description: "Start or reuse a CertScore public-web scan for a public URL. API docs: https://certscore.ai/api/v2/openapi.json",
18164
18170
  inputSchema: mcpCreateScanInputSchema,
18165
18171
  outputSchema: mcpScanSiteOutputSchema,
18166
- annotations: scanCreationAnnotations
18172
+ annotations: scanCreationAnnotations("Scan site")
18167
18173
  },
18168
18174
  {
18169
18175
  name: "get_scan",
@@ -18171,7 +18177,7 @@ var certScoreMcpToolContracts = [
18171
18177
  description: "Retrieve the API v2 public-safe scan resource for a stable scan ID.",
18172
18178
  inputSchema: mcpGetScanInputSchema,
18173
18179
  outputSchema: apiV2ScanResourceSchema,
18174
- annotations: readOnlyOpenWorldAnnotations
18180
+ annotations: readOnlyOpenWorldAnnotations("Get CertScore scan")
18175
18181
  },
18176
18182
  {
18177
18183
  name: "get_scan_status",
@@ -18179,7 +18185,7 @@ var certScoreMcpToolContracts = [
18179
18185
  description: "Pass scanId (preferred, API v2). Pass jobId only for a just-created scan that has not yet returned a scanId.",
18180
18186
  inputSchema: mcpGetScanStatusInputSchema,
18181
18187
  outputSchema: mcpScanStatusOutputSchema,
18182
- annotations: readOnlyOpenWorldAnnotations
18188
+ annotations: readOnlyOpenWorldAnnotations("Get CertScore scan status")
18183
18189
  },
18184
18190
  {
18185
18191
  name: "get_report",
@@ -18187,7 +18193,7 @@ var certScoreMcpToolContracts = [
18187
18193
  description: "Retrieve a summary CertScore Pulse report by stable scan ID. Use get_evidence for the larger bounded evidence packet.",
18188
18194
  inputSchema: mcpGetReportInputSchema,
18189
18195
  outputSchema: mcpReportOutputSchema,
18190
- annotations: readOnlyOpenWorldAnnotations
18196
+ annotations: readOnlyOpenWorldAnnotations("Get CertScore report")
18191
18197
  },
18192
18198
  {
18193
18199
  name: "get_evidence",
@@ -18195,7 +18201,7 @@ var certScoreMcpToolContracts = [
18195
18201
  description: "Retrieve the bounded structured Evidence JSON packet for a stable scan ID. Excludes raw cookie values, raw bodies, sensitive payloads, full DOM, and unredacted query values.",
18196
18202
  inputSchema: mcpGetEvidenceInputSchema,
18197
18203
  outputSchema: pulseResponseSchema,
18198
- annotations: readOnlyOpenWorldAnnotations
18204
+ annotations: readOnlyOpenWorldAnnotations("Get CertScore evidence")
18199
18205
  },
18200
18206
  {
18201
18207
  name: "export_findings",
@@ -18203,7 +18209,7 @@ var certScoreMcpToolContracts = [
18203
18209
  description: "Return structured findings from a CertScore Pulse report for downstream review or ticketing workflows.",
18204
18210
  inputSchema: mcpExportFindingsInputSchema,
18205
18211
  outputSchema: mcpFindingsExportOutputSchema,
18206
- annotations: readOnlyOpenWorldAnnotations
18212
+ annotations: readOnlyOpenWorldAnnotations("Export CertScore findings")
18207
18213
  },
18208
18214
  {
18209
18215
  name: "list_findings",
@@ -18211,7 +18217,7 @@ var certScoreMcpToolContracts = [
18211
18217
  description: "List API v2 public-safe findings already projected for a scan.",
18212
18218
  inputSchema: mcpListFindingsInputSchema,
18213
18219
  outputSchema: mcpFindingListOutputSchema,
18214
- annotations: readOnlyOpenWorldAnnotations
18220
+ annotations: readOnlyOpenWorldAnnotations("List CertScore findings")
18215
18221
  },
18216
18222
  {
18217
18223
  name: "get_pre_consent_cookies_trackers",
@@ -18219,7 +18225,7 @@ var certScoreMcpToolContracts = [
18219
18225
  description: "Retrieve the public-safe Cookies & Trackers (Pre-consent) report table as compact JSON for a scan.",
18220
18226
  inputSchema: mcpGetPreConsentCookiesTrackersInputSchema,
18221
18227
  outputSchema: mcpPreConsentCookiesTrackersOutputSchema,
18222
- annotations: readOnlyOpenWorldAnnotations
18228
+ annotations: readOnlyOpenWorldAnnotations("Get pre-consent cookies & trackers")
18223
18229
  },
18224
18230
  {
18225
18231
  name: "explain_finding",
@@ -18227,7 +18233,7 @@ var certScoreMcpToolContracts = [
18227
18233
  description: "Explain a single CertScore finding with public evidence, caveats, and reviewer next steps.",
18228
18234
  inputSchema: mcpExplainFindingInputSchema,
18229
18235
  outputSchema: apiV2FindingDetailSchema,
18230
- annotations: readOnlyOpenWorldAnnotations
18236
+ annotations: readOnlyOpenWorldAnnotations("Explain CertScore finding")
18231
18237
  },
18232
18238
  {
18233
18239
  name: "get_latest_domain_scan",
@@ -18235,7 +18241,7 @@ var certScoreMcpToolContracts = [
18235
18241
  description: "Retrieve the latest eligible API v2 public-safe scan for a domain.",
18236
18242
  inputSchema: mcpGetLatestDomainScanInputSchema,
18237
18243
  outputSchema: apiV2DomainLatestScanSchema,
18238
- annotations: readOnlyOpenWorldAnnotations
18244
+ annotations: readOnlyOpenWorldAnnotations("Get latest domain scan")
18239
18245
  },
18240
18246
  {
18241
18247
  name: "get_latest_domain_pre_consent_cookies_trackers",
@@ -18243,7 +18249,7 @@ var certScoreMcpToolContracts = [
18243
18249
  description: "Retrieve the public-safe Cookies & Trackers (Pre-consent) table from the latest eligible scan for a domain.",
18244
18250
  inputSchema: mcpGetLatestDomainPreConsentCookiesTrackersInputSchema,
18245
18251
  outputSchema: mcpPreConsentCookiesTrackersOutputSchema,
18246
- annotations: readOnlyOpenWorldAnnotations
18252
+ annotations: readOnlyOpenWorldAnnotations("Get latest pre-consent cookies & trackers")
18247
18253
  }
18248
18254
  ];
18249
18255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certscore/mcp",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "mcpName": "ai.certscore/mcp",
5
5
  "private": false,
6
6
  "description": "MCP server for CertScore public website risk-signal workflows.",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/ergoveritas1-alt/certscore.ai",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.2.3",
10
+ "version": "0.2.4",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@certscore/mcp",
15
- "version": "0.2.3",
15
+ "version": "0.2.4",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },