@cite42/mcp 0.9.0 → 0.9.1

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/stdio.cjs CHANGED
@@ -141,11 +141,11 @@ var import_mcp = require("@mastra/mcp");
141
141
  // src/tools.ts
142
142
  var import_tools = require("@mastra/core/tools");
143
143
  var import_zod = require("zod");
144
- var modelEnum = import_zod.z.enum(["chatgpt", "claude", "perplexity", "gemini", "google_ai_overview"]);
144
+ var modelEnum = import_zod.z.enum(["chatgpt", "claude", "perplexity", "gemini", "google_ai_overview", "chatgpt_app"]);
145
145
  var QUERY_MAX_CHARS = 2e3;
146
146
  var SHORT_TEXT_MAX_CHARS = 200;
147
147
  var TIMEFRAME_MAX_CHARS = 80;
148
- var MODEL_SELECTION_DESCRIPTION = "AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000.";
148
+ var MODEL_SELECTION_DESCRIPTION = "AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000. chatgpt_app (answers captured from the ChatGPT app itself) is opt-in and runs in trackers only for now.";
149
149
  var FULL_SWEEP_DESCRIPTION = "Query all five AI surfaces (adds claude and google_ai_overview) for full cross-surface coverage, at a higher cost. Ignored when models is given.";
150
150
  var PAID_TOOL_BILLING = "Billed in USD (result field cite42Billing) to the user's prepaid Cite42 balance; exact prices from cite42_pricing (free). For plans over 20 calls or $5, estimate the cost and confirm with the user first.";
151
151
  var RECOMMENDATIONS_INPUT_NOTE = "Its requestId can be passed to cite42_recommendations when the user asks for improvement advice.";
@@ -578,7 +578,7 @@ var trackerDefinitionFields = {
578
578
  ),
579
579
  url: import_zod.z.string().trim().min(1).max(500).nullish().describe("Citations only: a URL to report on as cited or not cited."),
580
580
  models: import_zod.z.array(modelEnum).nonempty().nullish().describe(
581
- "AI surfaces to query for every prompt. Omit for the three defaults (chatgpt, perplexity, gemini), or list surfaces explicitly \u2014 including all five \u2014 to fix the recurring cost."
581
+ "AI surfaces to query for every prompt. Omit for the three defaults (chatgpt, perplexity, gemini), or list surfaces explicitly to set the recurring cost; chatgpt_app (the ChatGPT app itself) is opt-in. There is no fullSweep here: a saved tracker stores the exact list it was authorized for."
582
582
  )
583
583
  };
584
584
  var TRACKER_BILLING_DESCRIPTION = "Managing trackers and reading reports is free; each run bills one call per prompt at the per-surface rates.";
@@ -707,7 +707,7 @@ if (!resolveApiKey()) {
707
707
  );
708
708
  process.exit(1);
709
709
  }
710
- buildCite42Server("0.9.0").startStdio().catch((error) => {
710
+ buildCite42Server("0.9.1").startStdio().catch((error) => {
711
711
  console.error("[@cite42/mcp] Fatal error:", error);
712
712
  process.exit(1);
713
713
  });
package/dist/stdio.mjs CHANGED
@@ -140,11 +140,11 @@ import { MCPServer } from "@mastra/mcp";
140
140
  // src/tools.ts
141
141
  import { createTool } from "@mastra/core/tools";
142
142
  import { z } from "zod";
143
- var modelEnum = z.enum(["chatgpt", "claude", "perplexity", "gemini", "google_ai_overview"]);
143
+ var modelEnum = z.enum(["chatgpt", "claude", "perplexity", "gemini", "google_ai_overview", "chatgpt_app"]);
144
144
  var QUERY_MAX_CHARS = 2e3;
145
145
  var SHORT_TEXT_MAX_CHARS = 200;
146
146
  var TIMEFRAME_MAX_CHARS = 80;
147
- var MODEL_SELECTION_DESCRIPTION = "AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000.";
147
+ var MODEL_SELECTION_DESCRIPTION = "AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000. chatgpt_app (answers captured from the ChatGPT app itself) is opt-in and runs in trackers only for now.";
148
148
  var FULL_SWEEP_DESCRIPTION = "Query all five AI surfaces (adds claude and google_ai_overview) for full cross-surface coverage, at a higher cost. Ignored when models is given.";
149
149
  var PAID_TOOL_BILLING = "Billed in USD (result field cite42Billing) to the user's prepaid Cite42 balance; exact prices from cite42_pricing (free). For plans over 20 calls or $5, estimate the cost and confirm with the user first.";
150
150
  var RECOMMENDATIONS_INPUT_NOTE = "Its requestId can be passed to cite42_recommendations when the user asks for improvement advice.";
@@ -577,7 +577,7 @@ var trackerDefinitionFields = {
577
577
  ),
578
578
  url: z.string().trim().min(1).max(500).nullish().describe("Citations only: a URL to report on as cited or not cited."),
579
579
  models: z.array(modelEnum).nonempty().nullish().describe(
580
- "AI surfaces to query for every prompt. Omit for the three defaults (chatgpt, perplexity, gemini), or list surfaces explicitly \u2014 including all five \u2014 to fix the recurring cost."
580
+ "AI surfaces to query for every prompt. Omit for the three defaults (chatgpt, perplexity, gemini), or list surfaces explicitly to set the recurring cost; chatgpt_app (the ChatGPT app itself) is opt-in. There is no fullSweep here: a saved tracker stores the exact list it was authorized for."
581
581
  )
582
582
  };
583
583
  var TRACKER_BILLING_DESCRIPTION = "Managing trackers and reading reports is free; each run bills one call per prompt at the per-surface rates.";
@@ -706,7 +706,7 @@ if (!resolveApiKey()) {
706
706
  );
707
707
  process.exit(1);
708
708
  }
709
- buildCite42Server("0.9.0").startStdio().catch((error) => {
709
+ buildCite42Server("0.9.1").startStdio().catch((error) => {
710
710
  console.error("[@cite42/mcp] Fatal error:", error);
711
711
  process.exit(1);
712
712
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cite42/mcp",
3
3
  "mcpName": "dev.cite42/mcp",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "Cite42 MCP server: AI visibility and SEO data for AI agents. See how the AI models behind ChatGPT, Claude, Perplexity and Gemini, plus Google AI Overviews, mention your brand and which sources they cite, with SEO keyword data, Google, Reddit and YouTube trends, and weekly or monthly trackers that watch a list of prompts over time. Works with Claude Code, Claude Desktop, Codex CLI, Cursor, and any MCP client.",
6
6
  "license": "MIT",
7
7
  "type": "module",