@wix/mcp 1.0.93 → 1.0.95

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 (84) hide show
  1. package/README.md +2 -2
  2. package/build/bin-standalone.js +1200 -455
  3. package/build/cjs/index.cjs +3237 -1264
  4. package/build/cjs/toolkit.cjs +2177 -469
  5. package/build/dts/api-call/headless-release.d.ts +56 -0
  6. package/build/dts/api-call/headless-release.js +135 -0
  7. package/build/dts/api-call/index.d.ts +9 -1
  8. package/build/dts/api-call/index.js +19 -10
  9. package/build/dts/api-call/site-files.d.ts +42 -0
  10. package/build/dts/api-call/site-files.js +290 -0
  11. package/build/dts/api-call/upload-headless-website-files.d.ts +118 -0
  12. package/build/dts/api-call/upload-headless-website-files.js +624 -0
  13. package/build/dts/api-call/upload-image-tool.d.ts +2 -0
  14. package/build/dts/api-call/upload-image-tool.js +8 -4
  15. package/build/dts/bin.d.ts +1 -1
  16. package/build/dts/bin.js +4 -5
  17. package/build/dts/code-mode/attachments.js +1 -1
  18. package/build/dts/code-mode/index.d.ts +6 -1
  19. package/build/dts/code-mode/index.js +47 -13
  20. package/build/dts/code-mode/truncate-response.js +5 -1
  21. package/build/dts/config/default-config.d.ts +35 -9
  22. package/build/dts/config/default-config.js +348 -207
  23. package/build/dts/config/file-params.d.ts +22 -0
  24. package/build/dts/config/file-params.js +24 -0
  25. package/build/dts/config/param-descriptions.d.ts +14 -2
  26. package/build/dts/config/param-descriptions.js +34 -15
  27. package/build/dts/constants.d.ts +1 -0
  28. package/build/dts/constants.js +1 -0
  29. package/build/dts/docs/docs.d.ts +16 -3
  30. package/build/dts/docs/docs.js +211 -39
  31. package/build/dts/docs/fetch-article.d.ts +21 -0
  32. package/build/dts/docs/fetch-article.js +70 -5
  33. package/build/dts/docs/get-to-know.d.ts +7 -2
  34. package/build/dts/docs/get-to-know.js +37 -15
  35. package/build/dts/docs/mintlify-docs.d.ts +121 -0
  36. package/build/dts/docs/mintlify-docs.js +391 -0
  37. package/build/dts/docs/semanticSearch.d.ts +2 -1
  38. package/build/dts/docs/semanticSearch.js +14 -7
  39. package/build/dts/docs/start-deploy-website.d.ts +7 -6
  40. package/build/dts/docs/start-deploy-website.js +13 -8
  41. package/build/dts/docs/start-headless-build.d.ts +17 -0
  42. package/build/dts/docs/start-headless-build.js +60 -0
  43. package/build/dts/graphql/index.js +3 -1
  44. package/build/dts/import-claude-design-tool/index.js +2 -2
  45. package/build/dts/index.d.ts +3 -2
  46. package/build/dts/index.js +3 -2
  47. package/build/dts/infra/redact-personal-data.d.ts +4 -0
  48. package/build/dts/infra/redact-personal-data.js +79 -0
  49. package/build/dts/site-widget-tools/constants.d.ts +49 -1
  50. package/build/dts/site-widget-tools/constants.js +64 -7
  51. package/build/dts/site-widget-tools/index.d.ts +1 -0
  52. package/build/dts/site-widget-tools/index.js +1 -0
  53. package/build/dts/site-widget-tools/pick-images-tool/index.d.ts +14 -0
  54. package/build/dts/site-widget-tools/pick-images-tool/index.js +138 -0
  55. package/build/dts/site-widget-tools/search-site-templates-tool/index.js +33 -9
  56. package/build/dts/site-widget-tools/site-builder-tool/index.js +22 -2
  57. package/build/dts/site-widget-tools/site-creation-tool/index.d.ts +7 -1
  58. package/build/dts/site-widget-tools/site-creation-tool/index.js +22 -51
  59. package/build/dts/site-widget-tools/suggested-domain-tool/index.js +6 -3
  60. package/build/dts/support/index.d.ts +4 -0
  61. package/build/dts/support/index.js +13 -7
  62. package/build/dts/toolkit-entry.d.cts +19 -12
  63. package/build/dts/toolkit-entry.d.ts +19 -12
  64. package/build/dts/toolkit.d.ts +2 -2
  65. package/build/dts/toolkit.js +23 -7
  66. package/build/dts/wix-mcp-server.d.ts +11 -0
  67. package/build/dts/wix-mcp-server.js +28 -6
  68. package/build/dts/wixel/constants.d.ts +8 -1
  69. package/build/dts/wixel/constants.js +8 -1
  70. package/build/dts/wixel/index.d.ts +1 -1
  71. package/build/dts/wixel/index.js +2 -2
  72. package/build/dts/wixel/wixel-a2a-client.d.ts +83 -0
  73. package/build/dts/wixel/wixel-a2a-client.js +166 -0
  74. package/build/dts/wixel/wixel-bi.d.ts +2 -1
  75. package/build/dts/wixel/wixel-bi.js +2 -1
  76. package/build/dts/wixel/{external-agent-api.d.ts → wixel-session-entries.d.ts} +11 -33
  77. package/build/dts/wixel/{external-agent-api.js → wixel-session-entries.js} +33 -54
  78. package/build/dts/wixel/wixel-session-tools.d.ts +21 -26
  79. package/build/dts/wixel/wixel-session-tools.js +494 -599
  80. package/build/esm/index.js +3335 -1376
  81. package/build/esm/toolkit.js +2273 -565
  82. package/package.json +4 -4
  83. package/build/dts/docs/create-site-guide.d.ts +0 -3
  84. package/build/dts/docs/create-site-guide.js +0 -109
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Client file parameters: the tool params listed under `_meta["openai/fileParams"]`
3
+ * (UploadImageToWixSite `image`, UploadHeadlessWebsiteFiles and ExecuteWixAPI
4
+ * `attachments`). The client swaps a file the agent has for a download URL before
5
+ * the call reaches us; every other client sends the agent's value unchanged, a path
6
+ * we can't read. Every file param describes itself with fileParamNote(), so the
7
+ * same warning keeps agents in other clients out of it.
8
+ *
9
+ * Recheck Claude: as of 2026-10 claude.ai, Claude Desktop, Cowork and Claude Code
10
+ * ignore `openai/fileParams` and have no other way to hand a file to a remote tool.
11
+ * The MCP files extension (`io.modelcontextprotocol/files`,
12
+ * modelcontextprotocol/experimental-ext-file-uploads#1, opened 2026-10-14, with an
13
+ * Anthropic-led working group) is the likely route. When Claude supports a file
14
+ * handoff: declare it on these params, add Claude to FILE_PARAM_CLIENTS, and rethink
15
+ * PickImagesForWixMedia (site-widget-tools/pick-images-tool), which exists only
16
+ * because Claude can't pass files.
17
+ */
18
+ /** The clients that do the file swap. */
19
+ export declare const FILE_PARAM_CLIENTS = "OpenAI clients (ChatGPT, Codex)";
20
+ /** The warning a file param opens with, ending in what to do in other clients. */
21
+ export declare function fileParamNote(otherwise: string): string;
22
+ //# sourceMappingURL=file-params.d.ts.map
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Client file parameters: the tool params listed under `_meta["openai/fileParams"]`
3
+ * (UploadImageToWixSite `image`, UploadHeadlessWebsiteFiles and ExecuteWixAPI
4
+ * `attachments`). The client swaps a file the agent has for a download URL before
5
+ * the call reaches us; every other client sends the agent's value unchanged, a path
6
+ * we can't read. Every file param describes itself with fileParamNote(), so the
7
+ * same warning keeps agents in other clients out of it.
8
+ *
9
+ * Recheck Claude: as of 2026-10 claude.ai, Claude Desktop, Cowork and Claude Code
10
+ * ignore `openai/fileParams` and have no other way to hand a file to a remote tool.
11
+ * The MCP files extension (`io.modelcontextprotocol/files`,
12
+ * modelcontextprotocol/experimental-ext-file-uploads#1, opened 2026-10-14, with an
13
+ * Anthropic-led working group) is the likely route. When Claude supports a file
14
+ * handoff: declare it on these params, add Claude to FILE_PARAM_CLIENTS, and rethink
15
+ * PickImagesForWixMedia (site-widget-tools/pick-images-tool), which exists only
16
+ * because Claude can't pass files.
17
+ */
18
+ /** The clients that do the file swap. */
19
+ export const FILE_PARAM_CLIENTS = 'OpenAI clients (ChatGPT, Codex)';
20
+ /** The warning a file param opens with, ending in what to do in other clients. */
21
+ export function fileParamNote(otherwise) {
22
+ return `${FILE_PARAM_CLIENTS} only: pass each file as you have it (attached in the chat or created in your sandbox, by its file id or path) and the client swaps it for { download_url, file_id, file_name?, mime_type? } before the call reaches Wix. No other client does this swap, so elsewhere a path or file:// URL here fails at once; leave this out and ${otherwise}.`;
23
+ }
24
+ //# sourceMappingURL=file-params.js.map
@@ -1,7 +1,9 @@
1
1
  /**
2
- * Centralized parameter descriptions organized by tool.
3
- * Each tool has all its parameter descriptions in one place.
2
+ * The end of `whyNotExecuteWixAPI` where the server serves ExecuteWixAPI; `addApiCallTool` swaps it
3
+ * for `WHY_NOT_EXECUTE_NO_EXECUTE` where ExecuteWixAPI is off on purpose.
4
4
  */
5
+ export declare const WHY_NOT_EXECUTE_RECONNECT = "if the Wix MCP doesn't offer it at all, say so here, and tell the user once that their Wix connection may be an old or cached version that a reconnect refreshes.";
6
+ export declare const WHY_NOT_EXECUTE_NO_EXECUTE = "if it isn't in your tool list, say so.";
5
7
  export declare const paramDescriptions: {
6
8
  CallWixSiteAPI: {
7
9
  siteId: string;
@@ -9,6 +11,7 @@ export declare const paramDescriptions: {
9
11
  method: string;
10
12
  body: string;
11
13
  reason: string;
14
+ whyNotExecuteWixAPI: string;
12
15
  sourceDocUrl: string;
13
16
  };
14
17
  ListWixSites: {
@@ -29,6 +32,10 @@ export declare const paramDescriptions: {
29
32
  ExecuteWixAPI: {
30
33
  sourceDocUrls: string;
31
34
  };
35
+ ReportIssueToWix: {
36
+ message: string;
37
+ requestId: string;
38
+ };
32
39
  SupportAndFeedback: {
33
40
  message: string;
34
41
  requestId: string;
@@ -71,6 +78,11 @@ export declare const paramDescriptions: {
71
78
  maxResults: string;
72
79
  reason: string;
73
80
  };
81
+ SearchWixHelpCenter: {
82
+ searchTerm: string;
83
+ maxResults: string;
84
+ reason: string;
85
+ };
74
86
  ReadFullDocsArticle: {
75
87
  articleUrl: string;
76
88
  };
@@ -1,9 +1,29 @@
1
1
  import { ALLOWED_HOSTNAMES } from '../api-call/validation.js';
2
+ import { fileParamNote } from './file-params.js';
2
3
  import { ARRAY_QUERY_PARAMS_RULE, WQL_FILTER_RULE } from './api-request-rules.js';
3
4
  /**
4
5
  * Centralized parameter descriptions organized by tool.
5
6
  * Each tool has all its parameter descriptions in one place.
6
7
  */
8
+ const REPORT_ISSUE_TO_WIX_PARAMS = {
9
+ message: [
10
+ 'The report of one issue, sent to Wix as free text. Only this issue — no session summary, play-by-play or unrelated problems:',
11
+ '- What was being attempted, in a sentence.',
12
+ '- The tool or endpoint, the HTTP status and the error message.',
13
+ '- What you expected instead, and the workaround if any.',
14
+ '- Where the fault likely lives (API behavior / API schema / docs / Wix tooling / unsure), and whether you confirmed it.',
15
+ '- The context needed to reproduce it: agent/model, site id, the Wix area or API.',
16
+ "- The user's own words, verbatim, if they added any.",
17
+ 'NEVER include secrets — no bearer tokens, API keys, or credentials — and no personal data beyond what the report needs.'
18
+ ].join('\n'),
19
+ requestId: 'Optional request id (x-wix-request-id) of the failed Wix API call this report is about.'
20
+ };
21
+ /**
22
+ * The end of `whyNotExecuteWixAPI` where the server serves ExecuteWixAPI; `addApiCallTool` swaps it
23
+ * for `WHY_NOT_EXECUTE_NO_EXECUTE` where ExecuteWixAPI is off on purpose.
24
+ */
25
+ export const WHY_NOT_EXECUTE_RECONNECT = "if the Wix MCP doesn't offer it at all, say so here, and tell the user once that their Wix connection may be an old or cached version that a reconnect refreshes.";
26
+ export const WHY_NOT_EXECUTE_NO_EXECUTE = "if it isn't in your tool list, say so.";
7
27
  export const paramDescriptions = {
8
28
  CallWixSiteAPI: {
9
29
  siteId: 'The id of the site selected using site selection tool',
@@ -20,6 +40,7 @@ export const paramDescriptions = {
20
40
  WQL_FILTER_RULE
21
41
  ].join('\n'),
22
42
  reason: 'One sentence explaining the original user request and why you are calling this API to complete it.',
43
+ whyNotExecuteWixAPI: `One sentence: why this call goes through CallWixSiteAPI and not ExecuteWixAPI, the preferred tool. If ExecuteWixAPI isn't loaded, load it through your client's tool search before calling this tool; ${WHY_NOT_EXECUTE_RECONNECT}`,
23
44
  sourceDocUrl: [
24
45
  'The URL of the documentation or recipe where you found this API endpoint.',
25
46
  'MAKE SURE THE ENDPOINT URL IS REALLY THERE AND YOUR ARE NOT GUESSING IT !!!',
@@ -55,18 +76,9 @@ export const paramDescriptions = {
55
76
  'Use ["other"] ONLY IF YOU HAVE A VERY GOOD REASON TO DO SO'
56
77
  ].join('\n')
57
78
  },
58
- SupportAndFeedback: {
59
- message: [
60
- 'The composed feedback message to send to Wix. Wix receives only free text, so a bare sentence is low-signal — send a summary of the whole session, not just the last error. Structure it in three layers:',
61
- '1. Provenance — labelled lines (omit ones that do not apply): agent/model, Wix tooling used, Wix areas/APIs touched, Wix products (stores, bookings, ...), site id, relevant links (dashboard, docs pages read, live site) and other ids created this run.',
62
- '2. Narrative — "In the user\'s words": anything the user added when you offered, quoted verbatim (redact secrets only). Then user intent + run summary (what they set out to build, what worked vs. what fought back), a condensed play-by-play of the session (key exchanges, tool calls, decisions), and the friction points — every place something got in the way, each with specifics: the step/endpoint, HTTP status and error message, the gap, the workaround, and what you expected instead. Include issues you recovered from.',
63
- '3. Attribution — for each significant friction point, your best diagnosis of where the fault lives: API behavior / API schema / API reference docs / docs articles or examples / Wix tooling (MCP tools, auth flow) / other-unsure — plus whether you confirmed it or are assuming. Do not force a tag; "unsure" beats a wrong route.',
64
- 'End with a bottom line: one or two sentences naming the single most important problem and its impact — a concise engineering assessment, not softened or hedged.',
65
- 'Write it as a scannable few paragraphs or a short bulleted list — thorough on the friction, distilled rather than a transcript dump.',
66
- 'NEVER include secrets — no bearer tokens, API keys, or credentials — and no personal data beyond what the feedback needs.'
67
- ].join('\n'),
68
- requestId: 'Optional request id (x-wix-request-id) returned from a failed Wix API call this feedback relates to.'
69
- },
79
+ ReportIssueToWix: REPORT_ISSUE_TO_WIX_PARAMS,
80
+ // The tool's former name, kept for importers that read it by that key.
81
+ SupportAndFeedback: REPORT_ISSUE_TO_WIX_PARAMS,
70
82
  SearchWixWDSDocumentation: {
71
83
  searchTerm: 'The search term to search for in the Wix Design System Documentation',
72
84
  maxResults: 'The maximum number of results to return, default is 10, max is 15'
@@ -105,10 +117,17 @@ export const paramDescriptions = {
105
117
  maxResults: 'The maximum number of results to return, default is 10, max is 15',
106
118
  reason: 'One sentence describing the original user request and the task you are trying to accomplish with this search.'
107
119
  },
120
+ SearchWixHelpCenter: {
121
+ searchTerm: 'What the site owner wants to do or fix, in plain words (e.g. "connect a domain bought elsewhere", "cancel a Premium plan")',
122
+ maxResults: 'The maximum number of articles to return (1–15, default 15). Each article is returned with up to 60 lines.',
123
+ reason: 'One sentence describing the original user request and the task you are trying to accomplish with this search.'
124
+ },
108
125
  ReadFullDocsArticle: {
109
126
  articleUrl: 'The URL of the docs article or method article to fetch. Should be something like https://dev.wix.com/docs/.../...' +
110
127
  ' For REST docs, use the URL as-is. For SDK docs, the URL SHOULD include the query param ?apiView=SDK (e.g. https://dev.wix.com/docs/...?apiView=SDK).' +
111
- ' Wix skills pages (https://www.wix.com/skills/..., https://dev.wix.com/docs/skills/...) are read as-is, including their referenced files.'
128
+ ' Wix Help Center articles (https://support.wix.com/en/article/...) are read as-is.' +
129
+ ' Wix skills pages (https://www.wix.com/skills/..., https://dev.wix.com/docs/skills/...) and Wix Headless agent pages (https://www.wix.com/headless/..., e.g. https://www.wix.com/headless/skill.md) are read as-is, including their referenced files.' +
130
+ ' Source links (https://dev.wix.com/rawdocs/api/get-source-content?repo=...&path=...) found in skills and recipes are read as-is.'
112
131
  },
113
132
  ReadFullDocsMethodSchema: {
114
133
  articleUrl: 'The URL of the documentation to fetch. Should be something like https://dev.wix.com/docs/.../...' +
@@ -125,7 +144,7 @@ export const paramDescriptions = {
125
144
  },
126
145
  UploadImageToWixSite: {
127
146
  siteId: 'The ID (UUID) of the Wix site to upload to. REQUIRED. If the user has not clearly specified which site, ASK them which site to upload to (or use ListWixSites to help them pick) BEFORE calling this tool. NEVER call this tool with a missing, empty, placeholder, or guessed siteId — ask first instead.',
128
- image: 'Array of file ATTACHMENTS: files the user uploaded in the chat, or files you created in your own file sandbox. Each item requires download_url and file_id, and may optionally include file_name and mime_type — the platform resolves a file passed here into these fields automatically, so just include the files. For plain image URLs the user pasted, use imageUrls instead. ALWAYS pass ALL attachments together in a single call — NEVER call this tool once per image. Do NOT use together with imageBase64.',
147
+ image: `${fileParamNote('send the image as imageBase64 (the whole file, one per call) or as a public URL in imageUrls')} For plain image URLs the user pasted, use imageUrls instead. ALWAYS pass ALL files together in a single call — NEVER call this tool once per image. Do NOT use together with imageBase64.`,
129
148
  imageUrls: 'Array of publicly accessible image URLs (e.g. links the user pasted or URLs produced by other tools). Use this for plain URLs that are NOT chat attachments — no file_id is needed. ALWAYS pass ALL URLs together in a single call. Can be combined with image; do NOT use together with imageBase64.',
130
149
  imageBase64: 'Base64-encoded image data. Use when the client can read a file and encode it as base64. May include a data URL prefix (e.g. "data:image/jpeg;base64,...") or be raw base64. Do NOT use together with image.',
131
150
  mimeType: 'MIME type of the image (e.g. "image/jpeg", "image/png", "image/webp"). Required when imageBase64 does not include a data URL prefix.',
@@ -149,7 +168,7 @@ export const paramDescriptions = {
149
168
  operationName: 'Operation to run when the document defines more than one named operation.',
150
169
  siteId: 'The Wix site to run against. Required for site-level operations (anything reading or writing inside a site — products, orders, contacts, bookings, CMS, blog, members ...). Resolve it with GetSiteContext or ListWixSites; never pass a guessed value.',
151
170
  scope: '"site" (default when siteId is given) runs with a site-scoped credential; "account" runs account-level operations (sites, account settings) and ignores siteId.',
152
- hasMutations: 'Whether this document creates, updates, deletes or otherwise mutates Wix data. True for any mutation root field (in any operation of the document) even when the intent is inspection; false only for pure queries. This flag alone decides whether a transient server error may be retried, so never mark a document that writes as false.',
171
+ hasMutations: 'True if the document contains a mutation root field in any of its operations; false if it contains only queries. A transient server error is retried only when this is false.',
153
172
  reason: 'One sentence explaining the original user request and why you are running this GraphQL operation to complete it.'
154
173
  },
155
174
  RunWixCliCommand: {
@@ -1,5 +1,6 @@
1
1
  export declare const RAW_DOCS_API_URL = "https://dev.wix.com/rawdocs/api";
2
2
  export declare const GET_ARTICLE_CONTENT_URL = "https://dev.wix.com/rawdocs/api/get-article-content";
3
+ export declare const GET_SOURCE_CONTENT_URL = "https://dev.wix.com/rawdocs/api/get-source-content";
3
4
  export declare const PORTAL_INDEX_URL = "https://dev.wix.com/rawdocs/api/portal-index";
4
5
  export declare const DOCS_API_BASE_URL = "https://dev.wix.com/docs/api/v1";
5
6
  export declare const GET_SKILLS_BY_PORTAL_URL = "https://dev.wix.com/docs/api/v1/docs-web-app/menu-node/get-skills-by-portal";
@@ -1,5 +1,6 @@
1
1
  export const RAW_DOCS_API_URL = 'https://dev.wix.com/rawdocs/api';
2
2
  export const GET_ARTICLE_CONTENT_URL = `${RAW_DOCS_API_URL}/get-article-content`;
3
+ export const GET_SOURCE_CONTENT_URL = `${RAW_DOCS_API_URL}/get-source-content`;
3
4
  export const PORTAL_INDEX_URL = `${RAW_DOCS_API_URL}/portal-index`;
4
5
  export const DOCS_API_BASE_URL = 'https://dev.wix.com/docs/api/v1';
5
6
  export const GET_SKILLS_BY_PORTAL_URL = `${DOCS_API_BASE_URL}/docs-web-app/menu-node/get-skills-by-portal`;
@@ -1,6 +1,6 @@
1
1
  import type { WixMcpServer } from '../wix-mcp-server.js';
2
2
  import { McpAuthenticationStrategy } from '../auth/index.js';
3
- export declare const VALID_DOCS_TOOLS: readonly ["WDS", "REST", "SDK", "BUILD_APPS", "WIX_HEADLESS", "VELO", "BUSINESS_SOLUTIONS", "CLI", "OVERVIEW"];
3
+ export declare const VALID_DOCS_TOOLS: readonly ["WDS", "REST", "SDK", "BUILD_APPS", "WIX_HEADLESS", "VELO", "BUSINESS_SOLUTIONS", "CLI", "OVERVIEW", "HELP_CENTER"];
4
4
  export type DocsTool = (typeof VALID_DOCS_TOOLS)[number];
5
5
  /**
6
6
  * Configuration for a README doc entry
@@ -18,9 +18,12 @@ export interface ReadmeDocConfig {
18
18
  }
19
19
  export interface DocsToolsOptions {
20
20
  getToKnowWixEnabled?: boolean;
21
+ /** @deprecated CreateWixBusinessGuide was removed (StartHeadlessBuild replaces its headless route); ignored. */
21
22
  createWixBusinessGuideEnabled?: boolean;
22
23
  /** StartDeployWebsite (publish ready-made site files) — an account-owner flow; off for visitor servers. */
23
24
  startDeployWebsiteEnabled?: boolean;
25
+ /** StartHeadlessBuild (build a new site in code) — an account-owner flow; off for visitor servers. */
26
+ startHeadlessBuildEnabled?: boolean;
24
27
  disableTools?: string[];
25
28
  /** Custom descriptions for tools, keyed by tool name */
26
29
  toolDescriptions?: Record<string, string>;
@@ -40,17 +43,27 @@ export interface DocsToolsOptions {
40
43
  commitHash?: string;
41
44
  /** Tags to filter skills by (e.g. ['velo', 'cms']) */
42
45
  skillsTags?: string[];
46
+ /** Append the management recipes list (every recipe by area, each a link to its article) to the end of WixREADME, for every client. Default true; false leaves it out, and the README then points at the wix-manage skill and the public list only. */
47
+ readmeRecipesIndexEnabled?: boolean;
43
48
  /** Enable dynamic context fetch */
44
49
  dynamicContextEnabled?: boolean;
45
50
  /** Enable partner context section in dynamic context output */
46
51
  partnerContextEnabled?: boolean;
47
- /** Whether the client is a CLI environment (e.g. Claude Code) where users can run terminal commands.
48
- * Accepts a boolean or a function for lazy evaluation (useful when client name is only known after MCP init). */
52
+ /** GetSiteContext renders the site's companion app. Off by default: only Aria (via the toolkit) needs it. */
53
+ includeCompanionApp?: boolean;
54
+ /** @deprecated Only CreateWixBusinessGuide read it, and that tool was removed; ignored. */
49
55
  cliEnabled?: boolean | (() => boolean);
50
56
  /** Use the new platformized semantic search API (POST /v1/docs/search) instead of the legacy GET endpoint */
51
57
  usePlatformizedSearch?: boolean;
52
58
  /** Use the platformized menu browse API (POST /v1/docs/menu/browse) instead of scraping the legacy get-menu-content markdown. Falls back to legacy on transport errors. */
53
59
  usePlatformizedBrowse?: boolean;
60
+ /**
61
+ * The Mintlify docs site (see ./mintlify-docs.ts). Off by default.
62
+ * `'mintlify'`: REST and SDK search read the Mintlify KBs, and articles are
63
+ * read from Mintlify's `.md`. `'mintlify-links'`: search reads today's KBs and
64
+ * resolves the links in tool output to the Mintlify site.
65
+ */
66
+ docsSite?: string;
54
67
  }
55
68
  export declare const addDocsTools: (server: WixMcpServer, allowedTools?: DocsTool[], options?: DocsToolsOptions) => void;
56
69
  //# sourceMappingURL=docs.d.ts.map