@scavio/mcp-server 0.24.0 → 0.24.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/README.md CHANGED
@@ -382,7 +382,8 @@ For AI visibility and brand monitoring: ask what a buyer would ask ("best CRM fo
382
382
  agencies") and see whether a brand is recommended, which competitors are, and which pages
383
383
  the answer cites. Both tools return the same shape (`answer.markdown`, `sources[]`,
384
384
  `search_queries[]`, `shopping[]`), so comparing assistants needs one parser. Every call is a
385
- fresh answer and takes 10-40 seconds. 5 credits per answered prompt; failed prompts are free.
385
+ fresh answer and takes 10-40 seconds. ChatGPT costs 1 credit and Gemini 5 credits per answered
386
+ prompt; failed prompts are free.
386
387
  Opt-in: add `chatgpt` and `gemini` to `SCAVIO_PLATFORMS` (e.g. `default,chatgpt,gemini`).
387
388
  Docs: [ChatGPT](https://scavio.dev/docs/chatgpt-api?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme),
388
389
  [Gemini](https://scavio.dev/docs/gemini-api?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme).
@@ -15,7 +15,7 @@ import { trimResponse } from "../lib/trim-response.js";
15
15
  const SHAPE = "Returns answer.markdown (the full answer with inline citation links), sources[] (cited pages), " +
16
16
  "search_queries[] and shopping[] (products the answer recommends, in order).";
17
17
  export function registerChatgptTools(server, getClient) {
18
- server.tool("chatgpt_prompt", `Ask ChatGPT a prompt and get the answer it gives a user: the full Markdown answer, every page it cites (url, title, publisher, date), the web searches it ran, and the products it recommended. Use for AI visibility and brand monitoring: what does ChatGPT recommend for "best CRM for agencies", is a brand mentioned, which competitors and which pages it cites. ${SHAPE} Each call is a fresh answer; takes 10-40s. 5 credits; failed prompts are free.`, {
18
+ server.tool("chatgpt_prompt", `Ask ChatGPT a prompt and get the answer it gives a user: the full Markdown answer, every page it cites (url, title, publisher, date), the web searches it ran, and the products it recommended. Use for AI visibility and brand monitoring: what does ChatGPT recommend for "best CRM for agencies", is a brand mentioned, which competitors and which pages it cites. ${SHAPE} Each call is a fresh answer; takes 10-40s. 1 credit; failed prompts are free.`, {
19
19
  prompt: z.string().min(1).max(1024)
20
20
  .describe("The prompt, up to 1024 characters. Phrase it the way a buyer would ask."),
21
21
  model: z.string().regex(/^[a-z0-9][a-z0-9.\-]{0,39}$/, "model must be a model id such as auto").optional()
@@ -1 +1 @@
1
- {"version":3,"file":"ai-chat.js","sourceRoot":"","sources":["../../src/tools/ai-chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,+EAA+E;AAC/E,4EAA4E;AAC5E,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,4EAA4E;AAC5E,iCAAiC;AACjC,EAAE;AACF,8EAA8E;AAC9E,gDAAgD;AAEhD,MAAM,KAAK,GACT,iGAAiG;IACjG,6EAA6E,CAAC;AAEhF,MAAM,UAAU,oBAAoB,CAAC,MAAiB,EAAE,SAA6B;IACnF,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,0WAA0W,KAAK,iFAAiF,EAChc;QACE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;aAChC,QAAQ,CAAC,yEAAyE,CAAC;QACtF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,6BAA6B,EAAE,uCAAuC,CAAC,CAAC,QAAQ,EAAE;aACvG,QAAQ,CAAC,2EAA2E,CAAC;QACxF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,eAAe,EAAE,yCAAyC,CAAC,CAAC,QAAQ,EAAE;aAC7F,QAAQ,CAAC,6EAA6E,CAAC;QAC1F,YAAY,EAAE,CAAC,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AAC,GAAG,CAAC,IAAI,CAAC;aAChC,QAAQ,CAAC,yEAAyE,CAAC;KACvF,EACD,KAAK,EAAE,MAAM,EAAE,EAAE;QACf,IAAI,CAAC;YACH,OAAO,YAAY,CAAC,MAAM,SAAS,EAAE,CAAC,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,CAAC;QAC/E,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,cAAc,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scavio/mcp-server",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "mcpName": "io.github.scavio-ai/scavio-mcp",
5
5
  "description": "MCP server connecting AI agents to Scavio: web search, page extraction, and structured e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing data. 263 tools across 36 platforms plus Extract, site map, crawl and batch extraction, one API key.",
6
6
  "type": "module",