@prostgles/app 2.3.6-dev.1796042315 → 2.3.6-dev.1796082782

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 (161) hide show
  1. package/client/build/index.html +1 -1
  2. package/client/build/js/main.bundle.js +2 -2
  3. package/client/build/static/css/{main.f45d36f6.css → main.d122debc.css} +7 -0
  4. package/dist/common/DBGeneratedSchema.d.ts +16 -15
  5. package/dist/common/DBGeneratedSchema.d.ts.map +1 -1
  6. package/dist/common/Testing.d.ts +1 -1
  7. package/dist/common/Testing.js +1 -1
  8. package/dist/common/llmUtils.d.ts.map +1 -1
  9. package/dist/server/package.json +2 -2
  10. package/dist/server/src/BackupManager/BackupManager.d.ts.map +1 -1
  11. package/dist/server/src/BackupManager/utils.d.ts.map +1 -1
  12. package/dist/server/src/ConnectionManager/ConnectionManager.d.ts.map +1 -1
  13. package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.d.ts +41 -0
  14. package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.d.ts.map +1 -1
  15. package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.js +20 -6
  16. package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.js.map +1 -1
  17. package/dist/server/src/ConnectionManager/getConnectionAuth.d.ts.map +1 -1
  18. package/dist/server/src/ConnectionManager/getHotReloadConfigs.d.ts.map +1 -1
  19. package/dist/server/src/ConnectionManager/startConnection.d.ts +6 -1
  20. package/dist/server/src/ConnectionManager/startConnection.d.ts.map +1 -1
  21. package/dist/server/src/ConnectionManager/startConnection.js +11 -4
  22. package/dist/server/src/ConnectionManager/startConnection.js.map +1 -1
  23. package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.d.ts +6 -0
  24. package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.d.ts.map +1 -0
  25. package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.js +100 -0
  26. package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.js.map +1 -0
  27. package/dist/server/src/ConnectionManager/syncSchemaConfigResources.d.ts +2 -2
  28. package/dist/server/src/ConnectionManager/syncSchemaConfigResources.d.ts.map +1 -1
  29. package/dist/server/src/ConnectionManager/syncSchemaConfigResources.js +14 -18
  30. package/dist/server/src/ConnectionManager/syncSchemaConfigResources.js.map +1 -1
  31. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.d.ts +0 -2
  32. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.d.ts.map +1 -1
  33. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/getConfiguredWorkflow.d.ts.map +1 -1
  34. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.d.ts +0 -2
  35. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.d.ts.map +1 -1
  36. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/getAgentConfigWithDefaults.d.ts.map +1 -1
  37. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.d.ts +0 -2
  38. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.d.ts.map +1 -1
  39. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.d.ts +8 -0
  40. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.d.ts.map +1 -0
  41. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.js +34 -0
  42. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.js.map +1 -0
  43. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.js +1 -1
  44. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.js.map +1 -1
  45. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts +0 -2
  46. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts.map +1 -1
  47. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.d.ts +995 -995
  48. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.d.ts +1010 -1010
  49. package/dist/server/src/McpHub/reloadMcpServerTools.js +3 -3
  50. package/dist/server/src/McpHub/reloadMcpServerTools.js.map +1 -1
  51. package/dist/server/src/Plugins/jobsPlugin.d.ts +1 -0
  52. package/dist/server/src/Plugins/jobsPlugin.d.ts.map +1 -1
  53. package/dist/server/src/Plugins/jobsPlugin.js +11 -2
  54. package/dist/server/src/Plugins/jobsPlugin.js.map +1 -1
  55. package/dist/server/src/Plugins/reportJobUserForeignKeyError.d.ts +9 -0
  56. package/dist/server/src/Plugins/reportJobUserForeignKeyError.d.ts.map +1 -0
  57. package/dist/server/src/Plugins/reportJobUserForeignKeyError.js +31 -0
  58. package/dist/server/src/Plugins/reportJobUserForeignKeyError.js.map +1 -0
  59. package/dist/server/src/authConfig/getAuth.d.ts.map +1 -1
  60. package/dist/server/src/authConfig/sessionUtils.d.ts.map +1 -1
  61. package/dist/server/src/authConfig/subscribeToAuthSetupChanges.d.ts.map +1 -1
  62. package/dist/server/src/cli/cliTemplateFiles.d.ts +2 -1
  63. package/dist/server/src/cli/cliTemplateFiles.d.ts.map +1 -1
  64. package/dist/server/src/cli/cliTemplateFiles.js +6 -4
  65. package/dist/server/src/cli/cliTemplateFiles.js.map +1 -1
  66. package/dist/server/src/cli/overrides/createJobDefiner.d.ts +2 -0
  67. package/dist/server/src/cli/overrides/createJobDefiner.d.ts.map +1 -1
  68. package/dist/server/src/init/initUsers.d.ts.map +1 -1
  69. package/dist/server/src/publish/getBusinessAccessPublish.d.ts +78 -141
  70. package/dist/server/src/publish/getBusinessAccessPublish.d.ts.map +1 -1
  71. package/dist/server/src/publish/getBusinessAccessPublish.js +17 -34
  72. package/dist/server/src/publish/getBusinessAccessPublish.js.map +1 -1
  73. package/dist/server/src/publish/getPublishLLM.d.ts +10 -18
  74. package/dist/server/src/publish/getPublishLLM.d.ts.map +1 -1
  75. package/dist/server/src/publish/getPublishLLM.js +3 -10
  76. package/dist/server/src/publish/getPublishLLM.js.map +1 -1
  77. package/dist/server/src/publish/getPublishLlmChats.d.ts +7 -7
  78. package/dist/server/src/publish/getPublishLlmChats.d.ts.map +1 -1
  79. package/dist/server/src/publish/getPublishLlmChats.js +10 -7
  80. package/dist/server/src/publish/getPublishLlmChats.js.map +1 -1
  81. package/dist/server/src/publish/publish.d.ts.map +1 -1
  82. package/dist/server/src/publish/publish.js +3 -9
  83. package/dist/server/src/publish/publish.js.map +1 -1
  84. package/dist/server/src/schemaConfig.d.ts +27 -15
  85. package/dist/server/src/schemaConfig.d.ts.map +1 -1
  86. package/dist/server/src/schemaConfig.js.map +1 -1
  87. package/dist/server/src/serverFunctions/adminServerFunctions/agenticWorkflowFunctions.d.ts +4 -4
  88. package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts +4 -4
  89. package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts.map +1 -1
  90. package/dist/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.d.ts.map +1 -1
  91. package/dist/server/src/serverFunctions/applySampleSchema.d.ts.map +1 -1
  92. package/dist/server/src/serverFunctions/askLLM/LLMResponseTypes.d.ts +2 -2
  93. package/dist/server/src/serverFunctions/askLLM/LLMResponseTypes.d.ts.map +1 -1
  94. package/dist/server/src/serverFunctions/askLLM/askLLM.d.ts +1 -1
  95. package/dist/server/src/serverFunctions/askLLM/askLLM.d.ts.map +1 -1
  96. package/dist/server/src/serverFunctions/askLLM/askLLM.js +22 -25
  97. package/dist/server/src/serverFunctions/askLLM/askLLM.js.map +1 -1
  98. package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.d.ts +1 -1
  99. package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.d.ts.map +1 -1
  100. package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.js +1 -11
  101. package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.js.map +1 -1
  102. package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.d.ts +10 -0
  103. package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.d.ts.map +1 -0
  104. package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.js +47 -0
  105. package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.js.map +1 -0
  106. package/dist/server/src/serverFunctions/askLLM/fetchModels.d.ts +8 -1
  107. package/dist/server/src/serverFunctions/askLLM/fetchModels.d.ts.map +1 -1
  108. package/dist/server/src/serverFunctions/askLLM/fetchModels.js +15 -13
  109. package/dist/server/src/serverFunctions/askLLM/fetchModels.js.map +1 -1
  110. package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.d.ts +19 -0
  111. package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.d.ts.map +1 -0
  112. package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.js +32 -0
  113. package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.js.map +1 -0
  114. package/dist/server/src/serverFunctions/askLLM/getCreateAgentInputWithDefaults.d.ts +2 -2
  115. package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.d.ts +1 -1
  116. package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.d.ts.map +1 -1
  117. package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.js +14 -30
  118. package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.js.map +1 -1
  119. package/dist/server/src/serverFunctions/askLLM/getPastMessages.d.ts.map +1 -1
  120. package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.d.ts +5 -6
  121. package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.d.ts.map +1 -1
  122. package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.js +21 -22
  123. package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.js.map +1 -1
  124. package/dist/server/src/serverFunctions/askLLM/handleToolUseResultConfirmation.d.ts.map +1 -1
  125. package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.d.ts.map +1 -1
  126. package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.js +18 -9
  127. package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.js.map +1 -1
  128. package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMCPServerTools.d.ts.map +1 -1
  129. package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMcpToolsWithDynamicDescription.d.ts.map +1 -1
  130. package/dist/server/src/serverFunctions/askLLM/saveToolUseResults.d.ts.map +1 -1
  131. package/dist/server/src/serverFunctions/askLLM/setupLLM.d.ts.map +1 -1
  132. package/dist/server/src/serverFunctions/askLLM/setupLLM.js +4 -0
  133. package/dist/server/src/serverFunctions/askLLM/setupLLM.js.map +1 -1
  134. package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.d.ts +2 -1
  135. package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.d.ts.map +1 -1
  136. package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.js +23 -19
  137. package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.js.map +1 -1
  138. package/dist/server/src/serverFunctions/deleteConnection.d.ts.map +1 -1
  139. package/dist/server/src/serverFunctions/getConnectionAndDatabaseConfig.d.ts.map +1 -1
  140. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspaces.d.ts.map +1 -1
  141. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspacesFunction.d.ts.map +1 -1
  142. package/dist/server/src/serverFunctions/stateServerFunctions.d.ts +4 -4
  143. package/dist/server/src/serverFunctions/stateServerFunctions.d.ts.map +1 -1
  144. package/dist/server/src/tableConfig/tableConfigAccessControl.d.ts.map +1 -1
  145. package/dist/server/src/tableConfig/tableConfigAccessControl.js +11 -4
  146. package/dist/server/src/tableConfig/tableConfigAccessControl.js.map +1 -1
  147. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.d.ts.map +1 -1
  148. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.js +17 -13
  149. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.js.map +1 -1
  150. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.d.ts.map +1 -1
  151. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.js +0 -8
  152. package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.js.map +1 -1
  153. package/dist/server/src/tableHooks/database_configs.tableHooks.d.ts.map +1 -1
  154. package/dist/server/src/tableHooks/llm_credentials.tableHooks.d.ts.map +1 -1
  155. package/dist/server/src/tableHooks/tableHooks.d.ts +38 -23
  156. package/dist/server/src/tableHooks/tableHooks.d.ts.map +1 -1
  157. package/dist/server/src/tableHooks/users.tableHooks.d.ts +13 -8
  158. package/dist/server/src/tableHooks/users.tableHooks.d.ts.map +1 -1
  159. package/dist/server/src/upsertConnection.d.ts.map +1 -1
  160. package/package.json +2 -2
  161. package/sample_schemas/crypto/onMount.ts +8 -1
@@ -3462,23 +3462,84 @@ export declare const ProstglesMCPServers: {
3462
3462
  };
3463
3463
  export declare const getProstglesMCPServer: (serverName: string) => {
3464
3464
  definition: {
3465
- readonly icon_path: "DatabaseOutline";
3466
- readonly label: "Database";
3467
- readonly description: "Tools to interact with your database";
3465
+ readonly icon_path: "Web";
3466
+ readonly label: "Web Search";
3467
+ readonly description: "Search the web for information";
3468
+ readonly config_schema: {
3469
+ readonly access: {
3470
+ readonly renderWithComponent: "WebMcpConfig";
3471
+ readonly type: {
3472
+ readonly mode: {
3473
+ readonly enum: readonly ["allow", "deny", "unrestricted"];
3474
+ readonly description: "Access control mode. 'allow' means only URLs matching the patterns in 'hosts' are allowed. 'deny' means URLs matching the patterns are blocked. 'unrestricted' means no URL filtering or blockedSubnet check is applied.";
3475
+ };
3476
+ readonly urls: {
3477
+ readonly type: "string[]";
3478
+ readonly description: "URL Patterns can be simple substrings (e.g., 'example.com') or wildcard patterns (e.g., '*.example.com'). The 'mode' field determines whether these patterns define allowed URLs or blocked URLs.";
3479
+ };
3480
+ readonly blockInternalSubnets: {
3481
+ readonly type: "boolean";
3482
+ readonly optional: true;
3483
+ readonly description: "If true, the server will block requests to IP addresses in common internal subnets (e.g., localhost, private network ranges) in addition to any user-defined blocked subnets. Defaults to true.";
3484
+ };
3485
+ readonly internalSubnets: {
3486
+ readonly optional: true;
3487
+ readonly type: "string[]";
3488
+ readonly description: "Optional list of IP subnets in CIDR notation";
3489
+ };
3490
+ };
3491
+ readonly defaultValue: {
3492
+ readonly mode: "deny";
3493
+ readonly urls: readonly [];
3494
+ readonly blockInternalSubnets: true;
3495
+ readonly internalSubnets: string[];
3496
+ };
3497
+ };
3498
+ };
3468
3499
  readonly tools: {
3469
- readonly get_existing_tables_schema: {
3470
- readonly icon: "DatabaseEyeOutline";
3471
- readonly description: string;
3500
+ readonly fetch: {
3501
+ readonly description: "Fetches from a URL, with optional conversion for documents. DO NOT USE THIS TO FETCH WEBSITE HTML. Use the get_snapshot tool instead.";
3472
3502
  readonly schema: {
3473
3503
  readonly type: {
3474
- readonly tableNames: {
3475
- readonly optional: true;
3476
- readonly type: "string[]";
3504
+ readonly url: {
3505
+ readonly type: "string";
3506
+ readonly description: "URL of the content to fetch";
3477
3507
  };
3478
- readonly tableNameRegex: {
3508
+ readonly method: {
3509
+ readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH"];
3479
3510
  readonly optional: true;
3511
+ readonly description: "HTTP method to use for the request. Defaults to GET.";
3512
+ };
3513
+ readonly body: {
3480
3514
  readonly type: "string";
3481
- readonly description: "Regular expression to match table names. For example, 'user' will match tables with names like 'user', 'users', 'app_user', etc.";
3515
+ readonly optional: true;
3516
+ readonly description: "Request body for POST, PUT, or PATCH requests. Ignored for GET and DELETE requests.";
3517
+ };
3518
+ readonly mode: {
3519
+ readonly enum: readonly ["raw", "convert"];
3520
+ readonly optional: true;
3521
+ readonly description: "Defaults to raw. raw = fetch raw content without conversion. convert = attempt document conversion if the URL points to a document. Supported formats include txt, pdf, docx, pptx, jpg, png, and more.";
3522
+ };
3523
+ readonly headers: {
3524
+ readonly optional: true;
3525
+ readonly record: {
3526
+ readonly values: "string";
3527
+ };
3528
+ };
3529
+ readonly start_index: {
3530
+ readonly type: "integer";
3531
+ readonly optional: true;
3532
+ readonly description: "Starting index for slicing the fetched content. Defaults to 0.";
3533
+ };
3534
+ readonly max_length: {
3535
+ readonly type: "integer";
3536
+ readonly optional: true;
3537
+ readonly description: "Maximum length of the returned content slice. Defaults to returning the full content.";
3538
+ };
3539
+ readonly timeout: {
3540
+ readonly type: "integer";
3541
+ readonly optional: true;
3542
+ readonly description: "Maximum time in milliseconds to wait for the fetch operation. Defaults to 15000 (15 seconds).";
3482
3543
  };
3483
3544
  };
3484
3545
  };
@@ -3486,1114 +3547,400 @@ export declare const getProstglesMCPServer: (serverName: string) => {
3486
3547
  readonly type: "string";
3487
3548
  };
3488
3549
  };
3489
- readonly execute_readonly_sql: {
3490
- readonly icon: "DatabaseSearchOutline";
3491
- readonly annotations: {
3492
- readonly readOnlyHint: true;
3493
- };
3494
- readonly description: "Executes a SQL query on the connected database in readonly mode (no data can be changed, the transaction is rolled back at the end).";
3550
+ readonly websearch: {
3551
+ readonly description: "Performs a web search and return results. Powered by [SearXNG](https://docs.searxng.org/)";
3495
3552
  readonly schema: {
3496
3553
  readonly type: {
3497
- readonly sql: {
3554
+ readonly q: {
3498
3555
  readonly type: "string";
3499
- readonly description: "SQL query to execute";
3556
+ readonly description: "The search query. This string is passed to external search services. Supports service-specific syntax (e.g., \"site:github.com SearXNG\" for Google)";
3500
3557
  };
3501
- readonly query_timeout: {
3502
- readonly type: "number";
3558
+ readonly categories: {
3559
+ readonly type: "string";
3503
3560
  readonly optional: true;
3504
- readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
3561
+ readonly description: " Comma-separated list of active search categories. Categories to search in (e.g., 'general,images,videos')";
3505
3562
  };
3506
- readonly query_params: {
3563
+ readonly engines: {
3564
+ readonly type: "string";
3507
3565
  readonly optional: true;
3508
- readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
3509
- readonly oneOf: readonly ["any[]", {
3510
- readonly record: {
3511
- readonly values: "any";
3512
- };
3513
- }];
3566
+ readonly description: "Comma-separated list of active search engines (e.g., 'google,bing,duckduckgo')";
3567
+ };
3568
+ readonly language: {
3569
+ readonly type: "string";
3570
+ readonly optional: true;
3571
+ readonly description: "Language code for the search results (e.g., 'en' for English, 'fr' for French)";
3572
+ };
3573
+ readonly pageno: {
3574
+ readonly type: "integer";
3575
+ readonly optional: true;
3576
+ readonly description: "Search result page number. Defaults to 1.";
3577
+ };
3578
+ readonly time_range: {
3579
+ readonly enum: readonly ["day", "month", "year"];
3580
+ readonly optional: true;
3581
+ readonly description: "Time range filter for results ('day' = past day, 'month' = past month, 'year' = past year). Only supported by engines that implement time range filtering";
3514
3582
  };
3515
3583
  };
3516
3584
  };
3517
3585
  readonly outputSchema: {
3518
- readonly arrayOf: {
3519
- readonly record: {
3520
- readonly values: "any";
3586
+ readonly arrayOfType: {
3587
+ readonly title: "string";
3588
+ readonly content: "string";
3589
+ readonly url: "string";
3590
+ readonly score: "number";
3591
+ readonly category: "string";
3592
+ readonly engine: "string";
3593
+ readonly img_src: "string";
3594
+ readonly thumbnail: "any";
3595
+ readonly template: {
3596
+ readonly optional: true;
3597
+ readonly type: "any";
3598
+ };
3599
+ readonly publishedDate: {
3600
+ readonly optional: true;
3601
+ readonly type: "any";
3602
+ };
3603
+ readonly parsed_url: {
3604
+ readonly optional: true;
3605
+ readonly type: "any";
3606
+ };
3607
+ readonly priority: {
3608
+ readonly optional: true;
3609
+ readonly type: "any";
3610
+ };
3611
+ readonly engines: {
3612
+ readonly optional: true;
3613
+ readonly type: "any";
3614
+ };
3615
+ readonly positions: {
3616
+ readonly optional: true;
3617
+ readonly type: "any";
3618
+ };
3619
+ readonly pubdate: {
3620
+ readonly optional: true;
3621
+ readonly type: "any";
3521
3622
  };
3522
3623
  };
3523
3624
  };
3524
3625
  };
3525
- readonly execute_sql: {
3526
- readonly icon: "DatabaseEditOutline";
3527
- readonly annotations: {
3528
- readonly readOnlyHint: false;
3529
- readonly destructiveHint: true;
3530
- };
3531
- readonly description: "Executes a SQL query on the connected database in commit mode (data can be changed, the transaction committed at the end).";
3626
+ readonly get_snapshot: {
3627
+ readonly description: "Get a snapshot of a web page";
3532
3628
  readonly schema: {
3533
3629
  readonly type: {
3534
- readonly sql: {
3630
+ readonly url: {
3535
3631
  readonly type: "string";
3536
- readonly description: "SQL query to execute";
3537
- };
3538
- readonly query_timeout: {
3539
- readonly type: "number";
3540
- readonly optional: true;
3541
- readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
3542
- };
3543
- readonly query_params: {
3544
- readonly optional: true;
3545
- readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
3546
- readonly oneOf: readonly ["any[]", {
3547
- readonly record: {
3548
- readonly values: "any";
3549
- };
3550
- }];
3632
+ readonly description: "URL of the web page to snapshot";
3551
3633
  };
3552
3634
  };
3553
3635
  };
3554
3636
  readonly outputSchema: {
3555
- readonly arrayOf: {
3556
- readonly record: {
3557
- readonly values: "any";
3558
- };
3559
- };
3637
+ readonly type: "string";
3560
3638
  };
3561
3639
  };
3562
- readonly count: {
3563
- readonly icon: "DatabaseEyeOutline";
3564
- readonly description: "Counts rows in a table that satisfy a filter.";
3565
- readonly annotations: {
3566
- readonly readOnlyHint: true;
3567
- };
3640
+ readonly get_document_text: {
3641
+ readonly description: "Get text contents of a document";
3568
3642
  readonly schema: {
3569
3643
  readonly type: {
3570
- readonly select: {
3644
+ readonly url: {
3645
+ readonly type: "string";
3646
+ };
3647
+ readonly from_formats: {
3571
3648
  readonly optional: true;
3572
- readonly oneOf: readonly [{
3573
- readonly enum: readonly ["*", ""];
3574
- }, "string[]", {
3575
- readonly record: {
3576
- readonly values: "any";
3577
- };
3578
- }];
3579
- readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
3649
+ readonly type: "string[]";
3650
+ readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
3580
3651
  };
3581
- readonly orderBy: {
3652
+ readonly image_export_mode: {
3582
3653
  readonly optional: true;
3583
- readonly oneOf: readonly ["string", "string[]", {
3584
- readonly record: {
3585
- readonly values: {
3586
- readonly oneOf: readonly [{
3587
- readonly enum: readonly [1, -1];
3588
- }, "boolean"];
3589
- };
3590
- };
3591
- }, {
3592
- readonly arrayOf: {
3593
- readonly record: {
3594
- readonly values: {
3595
- readonly oneOf: readonly [{
3596
- readonly enum: readonly [1, -1];
3597
- }, "boolean"];
3598
- };
3599
- };
3600
- };
3601
- }, {
3602
- readonly arrayOfType: {
3603
- readonly key: "string";
3604
- readonly asc: {
3605
- readonly optional: true;
3606
- readonly nullable: true;
3607
- readonly oneOf: readonly [{
3608
- readonly enum: readonly [1, -1];
3609
- }, "boolean"];
3610
- };
3611
- readonly nulls: {
3612
- readonly enum: readonly ["first", "last"];
3613
- readonly optional: true;
3614
- readonly nullable: true;
3615
- };
3616
- readonly nullEmpty: {
3617
- readonly type: "boolean";
3618
- readonly optional: true;
3619
- readonly nullable: true;
3620
- };
3621
- };
3622
- }, {
3623
- readonly type: {
3624
- readonly key: "string";
3625
- readonly asc: {
3626
- readonly optional: true;
3627
- readonly nullable: true;
3628
- readonly oneOf: readonly [{
3629
- readonly enum: readonly [1, -1];
3630
- }, "boolean"];
3631
- };
3632
- readonly nulls: {
3633
- readonly enum: readonly ["first", "last"];
3634
- readonly optional: true;
3635
- readonly nullable: true;
3636
- };
3637
- readonly nullEmpty: {
3638
- readonly type: "boolean";
3639
- readonly optional: true;
3640
- readonly nullable: true;
3641
- };
3642
- };
3643
- }];
3654
+ readonly enum: readonly ["placeholder", "embedded", "referenced"];
3655
+ readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
3644
3656
  };
3645
- readonly limit: {
3657
+ readonly page_range: {
3658
+ readonly tuple: readonly ["integer", "integer"];
3646
3659
  readonly optional: true;
3647
- readonly nullable: true;
3648
- readonly type: "integer";
3660
+ readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
3649
3661
  };
3650
- readonly offset: {
3662
+ readonly do_ocr: {
3663
+ readonly type: "boolean";
3651
3664
  readonly optional: true;
3652
- readonly type: "integer";
3665
+ readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
3653
3666
  };
3654
- readonly groupBy: {
3655
- readonly optional: true;
3667
+ readonly force_ocr: {
3656
3668
  readonly type: "boolean";
3657
- };
3658
- readonly having: {
3659
3669
  readonly optional: true;
3660
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3661
- readonly record: {
3662
- readonly values: "any";
3663
- };
3670
+ readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
3664
3671
  };
3665
- readonly tableName: "string";
3666
- readonly filter: {
3672
+ readonly ocr_engine: {
3673
+ readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
3667
3674
  readonly optional: true;
3668
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3669
- readonly record: {
3670
- readonly values: "any";
3671
- };
3675
+ readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
3672
3676
  };
3673
- };
3674
- };
3675
- readonly outputSchema: "number";
3676
- };
3677
- readonly find: {
3678
- readonly icon: "TableSearch";
3679
- readonly description: "Selects rows from a table.";
3680
- readonly annotations: {
3681
- readonly readOnlyHint: true;
3682
- };
3683
- readonly schema: {
3684
- readonly type: {
3685
- readonly limit: {
3686
- readonly description: "Defaults to 10. Use null for no limit.";
3677
+ readonly ocr_lang: {
3678
+ readonly type: "string[]";
3687
3679
  readonly optional: true;
3688
- readonly nullable: true;
3689
- readonly type: "integer";
3680
+ readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
3690
3681
  };
3691
- readonly select: {
3682
+ readonly document_timeout: {
3692
3683
  readonly optional: true;
3693
- readonly oneOf: readonly [{
3694
- readonly enum: readonly ["*", ""];
3695
- }, "string[]", {
3696
- readonly record: {
3697
- readonly values: "any";
3698
- };
3699
- }];
3700
- readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
3684
+ readonly type: "number";
3685
+ readonly description: "The timeout for processing each document, in seconds.";
3701
3686
  };
3702
- readonly orderBy: {
3687
+ readonly pdf_backend: {
3688
+ readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
3703
3689
  readonly optional: true;
3704
- readonly oneOf: readonly ["string", "string[]", {
3705
- readonly record: {
3706
- readonly values: {
3707
- readonly oneOf: readonly [{
3708
- readonly enum: readonly [1, -1];
3709
- }, "boolean"];
3710
- };
3711
- };
3712
- }, {
3713
- readonly arrayOf: {
3714
- readonly record: {
3715
- readonly values: {
3716
- readonly oneOf: readonly [{
3717
- readonly enum: readonly [1, -1];
3718
- }, "boolean"];
3719
- };
3720
- };
3721
- };
3722
- }, {
3723
- readonly arrayOfType: {
3724
- readonly key: "string";
3725
- readonly asc: {
3726
- readonly optional: true;
3727
- readonly nullable: true;
3728
- readonly oneOf: readonly [{
3729
- readonly enum: readonly [1, -1];
3730
- }, "boolean"];
3731
- };
3732
- readonly nulls: {
3733
- readonly enum: readonly ["first", "last"];
3734
- readonly optional: true;
3735
- readonly nullable: true;
3736
- };
3737
- readonly nullEmpty: {
3738
- readonly type: "boolean";
3739
- readonly optional: true;
3740
- readonly nullable: true;
3741
- };
3742
- };
3743
- }, {
3744
- readonly type: {
3745
- readonly key: "string";
3746
- readonly asc: {
3747
- readonly optional: true;
3748
- readonly nullable: true;
3749
- readonly oneOf: readonly [{
3750
- readonly enum: readonly [1, -1];
3751
- }, "boolean"];
3752
- };
3753
- readonly nulls: {
3754
- readonly enum: readonly ["first", "last"];
3755
- readonly optional: true;
3756
- readonly nullable: true;
3757
- };
3758
- readonly nullEmpty: {
3759
- readonly type: "boolean";
3760
- readonly optional: true;
3761
- readonly nullable: true;
3762
- };
3763
- };
3764
- }];
3690
+ readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
3765
3691
  };
3766
- readonly offset: {
3692
+ readonly table_mode: {
3693
+ readonly enum: readonly ["fast", "accurate"];
3767
3694
  readonly optional: true;
3768
- readonly type: "integer";
3695
+ readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
3769
3696
  };
3770
- readonly groupBy: {
3697
+ readonly do_table_structure: {
3698
+ readonly type: "boolean";
3771
3699
  readonly optional: true;
3700
+ readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
3701
+ };
3702
+ readonly include_images: {
3772
3703
  readonly type: "boolean";
3704
+ readonly optional: true;
3705
+ readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
3773
3706
  };
3774
- readonly having: {
3707
+ readonly md_page_break_placeholder: {
3708
+ readonly type: "string";
3775
3709
  readonly optional: true;
3776
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3777
- readonly record: {
3778
- readonly values: "any";
3779
- };
3710
+ readonly description: "Add this placeholder between pages in the markdown output.";
3780
3711
  };
3781
- readonly tableName: "string";
3782
- readonly filter: {
3783
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3784
- readonly record: {
3785
- readonly values: "any";
3786
- };
3712
+ readonly images_scale: {
3713
+ readonly type: "number";
3787
3714
  readonly optional: true;
3715
+ readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
3788
3716
  };
3789
3717
  };
3790
3718
  };
3791
3719
  readonly outputSchema: {
3792
- readonly arrayOf: {
3793
- readonly record: {
3794
- readonly values: "any";
3795
- };
3796
- };
3720
+ readonly type: "string";
3797
3721
  };
3798
3722
  };
3799
- readonly insert: {
3800
- readonly icon: "TablePlus";
3801
- readonly description: "Inserts a row into a table. Also uploads a file when tableName is the connection's enabled managed file table: data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
3802
- readonly annotations: {
3803
- readonly readOnlyHint: false;
3804
- };
3723
+ };
3724
+ };
3725
+ handler: ProstglesMcpServerHandler;
3726
+ } | {
3727
+ definition: {
3728
+ readonly icon_path: "React";
3729
+ readonly label: "Web Dev Environment";
3730
+ readonly description: "React vite based web development environment.";
3731
+ readonly config_schema: undefined;
3732
+ readonly tools: {
3733
+ readonly list_directory: {
3734
+ readonly description: "List files in the web app directory. Will truncate long lists.";
3805
3735
  readonly schema: {
3806
3736
  readonly type: {
3807
- readonly tableName: "string";
3808
- readonly data: {
3809
- readonly description: "Data to insert into the table. Must satisfy the table schema.";
3810
- readonly record: {
3811
- readonly values: "any";
3812
- };
3813
- };
3814
- readonly onConflict: {
3815
- readonly optional: true;
3816
- readonly oneOf: readonly [{
3817
- readonly enum: readonly ["DoNothing", "DoUpdate"];
3818
- }, {
3819
- readonly type: {
3820
- readonly action: {
3821
- readonly enum: readonly ["DoNothing", "DoUpdate"];
3822
- };
3823
- readonly conflictColumns: "string[]";
3824
- };
3825
- }];
3826
- readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
3827
- };
3828
- readonly removeDisallowedFields: {
3829
- readonly type: "boolean";
3830
- readonly optional: true;
3831
- };
3832
- readonly returning: {
3737
+ readonly directoryPath: {
3738
+ readonly type: "string";
3739
+ readonly description: "Directory path to list files from the web app directory. Example: 'src/components'";
3833
3740
  readonly optional: true;
3834
- readonly oneOf: readonly [{
3835
- readonly enum: readonly ["*", ""];
3836
- }, "string[]", {
3837
- readonly record: {
3838
- readonly values: "any";
3839
- };
3840
- }];
3841
- readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
3842
3741
  };
3843
3742
  };
3844
3743
  };
3845
3744
  readonly outputSchema: {
3846
- readonly optional: true;
3847
- readonly description: "Inserted row returned based on the returning fields. Nothing will be returned if returning is not provided.";
3848
- readonly record: {
3849
- readonly values: "any";
3850
- };
3745
+ readonly arrayOf: "string";
3851
3746
  };
3852
3747
  };
3853
- readonly insertMany: {
3854
- readonly icon: "TablePlus";
3855
- readonly description: "Inserts rows into a table. Also uploads files when tableName is the connection's enabled managed file table: each item in data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
3856
- readonly annotations: {
3857
- readonly readOnlyHint: false;
3858
- };
3748
+ readonly read_files: {
3749
+ readonly description: "Read files from the web app directory";
3859
3750
  readonly schema: {
3860
3751
  readonly type: {
3861
- readonly tableName: "string";
3862
- readonly data: {
3863
- readonly description: "Data to insert into the table. Must satisfy the table schema.";
3864
- readonly arrayOf: {
3865
- readonly record: {
3866
- readonly values: "any";
3867
- };
3868
- };
3752
+ readonly filePaths: {
3753
+ readonly description: "File paths to read from the web app directory.";
3754
+ readonly arrayOf: "string";
3869
3755
  };
3870
- readonly onConflict: {
3756
+ };
3757
+ };
3758
+ readonly outputSchema: {
3759
+ readonly arrayOfType: {
3760
+ readonly filePath: "string";
3761
+ readonly content: "string";
3762
+ };
3763
+ };
3764
+ };
3765
+ readonly search_files: {
3766
+ readonly description: "Search files by content and/or file name in the web app directory";
3767
+ readonly schema: {
3768
+ readonly type: {
3769
+ readonly contentQuery: {
3770
+ readonly type: "string";
3771
+ readonly description: "File content search query. Example: 'useState' to search for files that include 'useState'";
3871
3772
  readonly optional: true;
3872
- readonly oneOf: readonly [{
3873
- readonly enum: readonly ["DoNothing", "DoUpdate"];
3874
- }, {
3875
- readonly type: {
3876
- readonly action: {
3877
- readonly enum: readonly ["DoNothing", "DoUpdate"];
3878
- };
3879
- readonly conflictColumns: "string[]";
3880
- };
3881
- }];
3882
- readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
3883
3773
  };
3884
- readonly removeDisallowedFields: {
3885
- readonly type: "boolean";
3774
+ readonly fileNameQuery: {
3775
+ readonly type: "string";
3886
3776
  readonly optional: true;
3777
+ readonly description: "File name search query to further filter search results. Example: 'Counter' to only include files with 'Counter' in the file name.";
3887
3778
  };
3888
- readonly returning: {
3779
+ readonly extensions: {
3780
+ readonly description: "File extensions to limit the search to (e.g., ['ts', 'tsx', 'js', 'jsx'])";
3781
+ readonly arrayOf: "string";
3889
3782
  readonly optional: true;
3890
- readonly oneOf: readonly [{
3891
- readonly enum: readonly ["*", ""];
3892
- }, "string[]", {
3893
- readonly record: {
3894
- readonly values: "any";
3895
- };
3896
- }];
3897
- readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
3898
3783
  };
3899
3784
  };
3900
3785
  };
3901
3786
  readonly outputSchema: {
3902
- readonly arrayOf: {
3903
- readonly record: {
3904
- readonly values: "any";
3905
- };
3787
+ readonly arrayOfType: {
3788
+ readonly filePath: "string";
3789
+ readonly matchedContent: "string";
3906
3790
  };
3907
- readonly optional: true;
3908
- readonly description: "Inserted rows returned based on the returning fields. Nothing will be returned if returning is not provided.";
3909
3791
  };
3910
3792
  };
3911
- readonly update: {
3912
- readonly icon: "TableEdit";
3913
- readonly description: "Updates rows in a table.";
3914
- readonly annotations: {
3915
- readonly destructiveHint: true;
3916
- readonly readOnlyHint: false;
3917
- };
3793
+ readonly create_component_quick_feedback_preview: {
3794
+ readonly description: string;
3918
3795
  readonly schema: {
3919
3796
  readonly type: {
3920
- readonly data: {
3921
- readonly description: "Data to insert into the table. Must satisfy the table schema.";
3922
- readonly record: {
3923
- readonly values: "any";
3924
- };
3925
- };
3926
- readonly removeDisallowedFields: {
3927
- readonly type: "boolean";
3928
- readonly optional: true;
3929
- readonly description: "Whether to remove fields that are not allowed to be updated instead of throwing an error.";
3797
+ readonly indexTsx: {
3798
+ readonly type: "string";
3799
+ readonly description: "tsx code for the component. Example: 'import { useState } from \"react\"; ...'";
3930
3800
  };
3931
- readonly multi: {
3932
- readonly description: "true by default. When set to false the update will throw an error if more than one row is updated (but the update will commit).";
3933
- readonly type: "boolean";
3801
+ readonly css: {
3802
+ readonly type: "string";
3934
3803
  readonly optional: true;
3804
+ readonly description: "css code for the component. Example: '.container { display: flex; }'";
3935
3805
  };
3936
- readonly returning: {
3806
+ readonly dependencies: {
3807
+ readonly description: "Dependencies to install in the environment (e.g., react, axios)";
3808
+ readonly arrayOf: "string";
3937
3809
  readonly optional: true;
3938
- readonly oneOf: readonly [{
3939
- readonly enum: readonly ["*", ""];
3940
- }, "string[]", {
3941
- readonly record: {
3942
- readonly values: "any";
3943
- };
3944
- }];
3945
- readonly description: "Fields to return for updated data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
3946
- };
3947
- readonly filter: {
3948
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3949
- readonly record: {
3950
- readonly values: "any";
3951
- };
3952
3810
  };
3953
- readonly tableName: "string";
3954
3811
  };
3955
3812
  };
3956
3813
  readonly outputSchema: {
3957
- readonly optional: true;
3958
- readonly oneOf: readonly [{
3959
- readonly record: {
3960
- readonly values: "any";
3961
- };
3962
- }, {
3963
- readonly arrayOf: {
3964
- readonly record: {
3965
- readonly values: "any";
3966
- };
3967
- };
3968
- }];
3814
+ readonly type: "unknown";
3969
3815
  };
3970
3816
  };
3971
- readonly delete: {
3972
- readonly icon: "TableRemove";
3973
- readonly annotations: {
3974
- readonly destructiveHint: true;
3975
- readonly readOnlyHint: false;
3976
- };
3977
- readonly description: "Deletes rows from a table.";
3817
+ readonly create_component: {
3818
+ readonly description: "Create a react component";
3978
3819
  readonly schema: {
3979
3820
  readonly type: {
3980
- readonly returning: {
3981
- readonly optional: true;
3982
- readonly oneOf: readonly [{
3983
- readonly enum: readonly ["*", ""];
3984
- }, "string[]", {
3985
- readonly record: {
3986
- readonly values: "any";
3987
- };
3988
- }];
3989
- readonly description: "Fields to return for the deleted rows. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
3821
+ readonly entryPoint: {
3822
+ readonly type: "string";
3823
+ readonly description: "Entry point file for the component. Example: '@/components/Counter/Counter.tsx'";
3990
3824
  };
3991
- readonly filter: {
3992
- readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
3825
+ readonly files: {
3826
+ readonly description: "tsx/css and other files for the component. Example: { \"@/components/Counter/Counter.tsx\": \"import { useState } from \"react\"; ...\" } ";
3993
3827
  readonly record: {
3994
- readonly values: "any";
3828
+ readonly values: "string";
3995
3829
  };
3996
3830
  };
3997
- readonly tableName: "string";
3831
+ readonly dependencies: {
3832
+ readonly description: "Dependencies to install in the environment (e.g., react, axios)";
3833
+ readonly arrayOf: "string";
3834
+ readonly optional: true;
3835
+ };
3836
+ readonly devDependencies: {
3837
+ readonly description: "Dev Dependencies to install in the environment (e.g., @types/pkg)";
3838
+ readonly arrayOf: "string";
3839
+ readonly optional: true;
3840
+ };
3841
+ readonly test: {
3842
+ readonly description: "Playwright test to run against the component. Example: 'import { test, expect } from \"@playwright/react\"; ...'";
3843
+ readonly type: "string";
3844
+ };
3998
3845
  };
3999
3846
  };
4000
3847
  readonly outputSchema: {
4001
- readonly oneOf: readonly [{
4002
- readonly arrayOf: {
4003
- readonly record: {
4004
- readonly values: "any";
4005
- };
4006
- };
4007
- }, {
4008
- readonly enum: readonly [undefined];
4009
- }];
3848
+ readonly type: "unknown";
4010
3849
  };
4011
3850
  };
4012
3851
  };
4013
- readonly config_schema: undefined;
4014
3852
  };
4015
3853
  handler: ProstglesMcpServerHandler;
4016
3854
  } | {
4017
3855
  definition: {
4018
- readonly icon_path: "TextBoxSearchOutline";
4019
- readonly label: "Documents";
4020
- readonly description: "Convert documents to text and extract information from them";
3856
+ readonly icon_path: "CubeOutline";
3857
+ readonly label: "Prostgles";
3858
+ readonly description: "Tools to assist with Prostgles UI tasks";
3859
+ readonly config_schema: undefined;
4021
3860
  readonly tools: {
4022
- readonly get_document_text: {
3861
+ readonly compact_context: {
3862
+ readonly icon: "ArrowCollapse";
4023
3863
  readonly mode: undefined;
4024
- readonly description: "Converts documents/images into structured data. Supported formats: txt, pdf, docx, pptx, jpg, png, and more. Powered by [docling](https://www.docling.ai/).";
3864
+ readonly description: string;
4025
3865
  readonly schema: {
4026
3866
  readonly type: {
4027
- readonly to_format: {
4028
- readonly optional: true;
4029
- readonly description: "Defaults to \"md\". Convert the document to a specific format.";
4030
- readonly enum: readonly ["md", "json", "yaml", "html", "html_split_page", "text", "doctags"];
3867
+ readonly type: {
3868
+ readonly enum: readonly ["conversation", "previous-message"];
4031
3869
  };
4032
- readonly from_formats: {
4033
- readonly optional: true;
4034
- readonly type: "string[]";
4035
- readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
3870
+ readonly summary: {
3871
+ readonly type: "string";
3872
+ readonly description: "When type=conversation it is a summary of the conversation so far. When type=previous-message it is a summary of the previous message.";
4036
3873
  };
4037
- readonly image_export_mode: {
3874
+ };
3875
+ };
3876
+ readonly outputSchema: "string";
3877
+ };
3878
+ readonly run_code_in_sandbox: {
3879
+ readonly icon: "Docker";
3880
+ readonly annotations: {
3881
+ readonly openWorldHint: true;
3882
+ };
3883
+ readonly mode: undefined;
3884
+ readonly description: string;
3885
+ readonly schema: {
3886
+ readonly type: {
3887
+ readonly reason: {
3888
+ readonly type: "string";
4038
3889
  readonly optional: true;
4039
- readonly enum: readonly ["placeholder", "embedded", "referenced"];
4040
- readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
3890
+ readonly description: "Reason for executing the code to provide context to the user. One short sentence is enough. ";
4041
3891
  };
4042
- readonly page_range: {
4043
- readonly tuple: readonly ["integer", "integer"];
4044
- readonly optional: true;
4045
- readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
3892
+ readonly files: {
3893
+ readonly description: string;
3894
+ readonly record: {
3895
+ readonly partial: true;
3896
+ readonly values: {
3897
+ readonly type: "string";
3898
+ readonly description: "File content. E.g.: 'import type { JSONB } from \"prostgles-types\";' ";
3899
+ };
3900
+ };
4046
3901
  };
4047
- readonly do_ocr: {
4048
- readonly type: "boolean";
3902
+ readonly userInputValue: {
4049
3903
  readonly optional: true;
4050
- readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
3904
+ readonly description: "User populated values for the userInput keys. It will override the default values in userInput if provided. ";
3905
+ readonly record: {
3906
+ readonly values: "unknown";
3907
+ };
4051
3908
  };
4052
- readonly force_ocr: {
4053
- readonly type: "boolean";
3909
+ readonly timeout: {
4054
3910
  readonly optional: true;
4055
- readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
3911
+ readonly type: "integer";
3912
+ readonly description: "Maximum time in milliseconds the container will be allowed to run. Defaults to 30000. ";
4056
3913
  };
4057
- readonly ocr_engine: {
4058
- readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
4059
- readonly optional: true;
4060
- readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
4061
- };
4062
- readonly ocr_lang: {
4063
- readonly type: "string[]";
4064
- readonly optional: true;
4065
- readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
4066
- };
4067
- readonly document_timeout: {
4068
- readonly optional: true;
4069
- readonly type: "number";
4070
- readonly description: "The timeout for processing each document, in seconds.";
4071
- };
4072
- readonly pdf_backend: {
4073
- readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
4074
- readonly optional: true;
4075
- readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
4076
- };
4077
- readonly table_mode: {
4078
- readonly enum: readonly ["fast", "accurate"];
4079
- readonly optional: true;
4080
- readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
4081
- };
4082
- readonly do_table_structure: {
4083
- readonly type: "boolean";
4084
- readonly optional: true;
4085
- readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
4086
- };
4087
- readonly include_images: {
4088
- readonly type: "boolean";
4089
- readonly optional: true;
4090
- readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
4091
- };
4092
- readonly md_page_break_placeholder: {
4093
- readonly type: "string";
4094
- readonly optional: true;
4095
- readonly description: "Add this placeholder between pages in the markdown output.";
4096
- };
4097
- readonly images_scale: {
4098
- readonly type: "number";
4099
- readonly optional: true;
4100
- readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
4101
- };
4102
- readonly fileAsBase64: "string";
4103
- readonly contentType: {
4104
- readonly enum: readonly ["application/pdf", "text/plain", "text/markdown", "text/x-markdown", "text/html", "application/xhtml+xml", "text/asciidoc", "text/x-asciidoc", "text/csv", "text/vtt", "text/x-tex", "application/x-tex", "text/x-latex", "application/xml", "text/xml", "application/mets+xml", "application/json", "application/msword", "application/x-msword", "application/rtf", "text/rtf", "application/x-rtf", "application/vnd.ms-excel", "application/x-msexcel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.presentation-template", "application/epub+zip", "message/rfc822", "application/vnd.ms-outlook", "application/x-mimearchive", "multipart/related", "image/png", "image/jpeg", "image/tiff", "image/gif", "image/bmp", "image/webp"];
4105
- };
4106
- };
4107
- };
4108
- readonly outputSchema: {
4109
- readonly type: "string";
4110
- };
4111
- };
4112
- };
4113
- readonly config_schema: undefined;
4114
- };
4115
- handler: ProstglesMcpServerHandler;
4116
- } | {
4117
- definition: {
4118
- readonly icon_path: "Web";
4119
- readonly label: "Web Search";
4120
- readonly description: "Search the web for information";
4121
- readonly config_schema: {
4122
- readonly access: {
4123
- readonly renderWithComponent: "WebMcpConfig";
4124
- readonly type: {
4125
- readonly mode: {
4126
- readonly enum: readonly ["allow", "deny", "unrestricted"];
4127
- readonly description: "Access control mode. 'allow' means only URLs matching the patterns in 'hosts' are allowed. 'deny' means URLs matching the patterns are blocked. 'unrestricted' means no URL filtering or blockedSubnet check is applied.";
4128
- };
4129
- readonly urls: {
4130
- readonly type: "string[]";
4131
- readonly description: "URL Patterns can be simple substrings (e.g., 'example.com') or wildcard patterns (e.g., '*.example.com'). The 'mode' field determines whether these patterns define allowed URLs or blocked URLs.";
4132
- };
4133
- readonly blockInternalSubnets: {
4134
- readonly type: "boolean";
4135
- readonly optional: true;
4136
- readonly description: "If true, the server will block requests to IP addresses in common internal subnets (e.g., localhost, private network ranges) in addition to any user-defined blocked subnets. Defaults to true.";
4137
- };
4138
- readonly internalSubnets: {
4139
- readonly optional: true;
4140
- readonly type: "string[]";
4141
- readonly description: "Optional list of IP subnets in CIDR notation";
4142
- };
4143
- };
4144
- readonly defaultValue: {
4145
- readonly mode: "deny";
4146
- readonly urls: readonly [];
4147
- readonly blockInternalSubnets: true;
4148
- readonly internalSubnets: string[];
4149
- };
4150
- };
4151
- };
4152
- readonly tools: {
4153
- readonly fetch: {
4154
- readonly description: "Fetches from a URL, with optional conversion for documents. DO NOT USE THIS TO FETCH WEBSITE HTML. Use the get_snapshot tool instead.";
4155
- readonly schema: {
4156
- readonly type: {
4157
- readonly url: {
4158
- readonly type: "string";
4159
- readonly description: "URL of the content to fetch";
4160
- };
4161
- readonly method: {
4162
- readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH"];
4163
- readonly optional: true;
4164
- readonly description: "HTTP method to use for the request. Defaults to GET.";
4165
- };
4166
- readonly body: {
4167
- readonly type: "string";
4168
- readonly optional: true;
4169
- readonly description: "Request body for POST, PUT, or PATCH requests. Ignored for GET and DELETE requests.";
4170
- };
4171
- readonly mode: {
4172
- readonly enum: readonly ["raw", "convert"];
3914
+ readonly networkMode: {
4173
3915
  readonly optional: true;
4174
- readonly description: "Defaults to raw. raw = fetch raw content without conversion. convert = attempt document conversion if the URL points to a document. Supported formats include txt, pdf, docx, pptx, jpg, png, and more.";
3916
+ readonly enum: readonly ["none", "bridge", "bridge-internal", "host"];
3917
+ readonly description: "Network mode for the container. Defaults to 'bridge-internal'. Use 'bridge' mode to be able to access the database. Use 'bridge-internal' to access the database but not the internet.";
4175
3918
  };
4176
- readonly headers: {
3919
+ readonly environment: {
4177
3920
  readonly optional: true;
3921
+ readonly description: "Environment variables to set in the container";
4178
3922
  readonly record: {
4179
3923
  readonly values: "string";
3924
+ readonly partial: true;
4180
3925
  };
4181
3926
  };
4182
- readonly start_index: {
4183
- readonly type: "integer";
4184
- readonly optional: true;
4185
- readonly description: "Starting index for slicing the fetched content. Defaults to 0.";
4186
- };
4187
- readonly max_length: {
4188
- readonly type: "integer";
4189
- readonly optional: true;
4190
- readonly description: "Maximum length of the returned content slice. Defaults to returning the full content.";
4191
- };
4192
- readonly timeout: {
4193
- readonly type: "integer";
4194
- readonly optional: true;
4195
- readonly description: "Maximum time in milliseconds to wait for the fetch operation. Defaults to 15000 (15 seconds).";
4196
- };
4197
- };
4198
- };
4199
- readonly outputSchema: {
4200
- readonly type: "string";
4201
- };
4202
- };
4203
- readonly websearch: {
4204
- readonly description: "Performs a web search and return results. Powered by [SearXNG](https://docs.searxng.org/)";
4205
- readonly schema: {
4206
- readonly type: {
4207
- readonly q: {
4208
- readonly type: "string";
4209
- readonly description: "The search query. This string is passed to external search services. Supports service-specific syntax (e.g., \"site:github.com SearXNG\" for Google)";
4210
- };
4211
- readonly categories: {
4212
- readonly type: "string";
4213
- readonly optional: true;
4214
- readonly description: " Comma-separated list of active search categories. Categories to search in (e.g., 'general,images,videos')";
4215
- };
4216
- readonly engines: {
4217
- readonly type: "string";
3927
+ readonly memory: {
4218
3928
  readonly optional: true;
4219
- readonly description: "Comma-separated list of active search engines (e.g., 'google,bing,duckduckgo')";
4220
- };
4221
- readonly language: {
4222
3929
  readonly type: "string";
4223
- readonly optional: true;
4224
- readonly description: "Language code for the search results (e.g., 'en' for English, 'fr' for French)";
4225
- };
4226
- readonly pageno: {
4227
- readonly type: "integer";
4228
- readonly optional: true;
4229
- readonly description: "Search result page number. Defaults to 1.";
4230
- };
4231
- readonly time_range: {
4232
- readonly enum: readonly ["day", "month", "year"];
4233
- readonly optional: true;
4234
- readonly description: "Time range filter for results ('day' = past day, 'month' = past month, 'year' = past year). Only supported by engines that implement time range filtering";
4235
- };
4236
- };
4237
- };
4238
- readonly outputSchema: {
4239
- readonly arrayOfType: {
4240
- readonly title: "string";
4241
- readonly content: "string";
4242
- readonly url: "string";
4243
- readonly score: "number";
4244
- readonly category: "string";
4245
- readonly engine: "string";
4246
- readonly img_src: "string";
4247
- readonly thumbnail: "any";
4248
- readonly template: {
4249
- readonly optional: true;
4250
- readonly type: "any";
4251
- };
4252
- readonly publishedDate: {
4253
- readonly optional: true;
4254
- readonly type: "any";
4255
- };
4256
- readonly parsed_url: {
4257
- readonly optional: true;
4258
- readonly type: "any";
4259
- };
4260
- readonly priority: {
4261
- readonly optional: true;
4262
- readonly type: "any";
4263
- };
4264
- readonly engines: {
4265
- readonly optional: true;
4266
- readonly type: "any";
4267
- };
4268
- readonly positions: {
4269
- readonly optional: true;
4270
- readonly type: "any";
3930
+ readonly description: "Memory limit (e.g., '512m', '1g'). Defaults to 512m";
4271
3931
  };
4272
- readonly pubdate: {
3932
+ readonly cpus: {
4273
3933
  readonly optional: true;
4274
- readonly type: "any";
4275
- };
4276
- };
4277
- };
4278
- };
4279
- readonly get_snapshot: {
4280
- readonly description: "Get a snapshot of a web page";
4281
- readonly schema: {
4282
- readonly type: {
4283
- readonly url: {
4284
3934
  readonly type: "string";
4285
- readonly description: "URL of the web page to snapshot";
4286
- };
4287
- };
4288
- };
4289
- readonly outputSchema: {
4290
- readonly type: "string";
4291
- };
4292
- };
4293
- readonly get_document_text: {
4294
- readonly description: "Get text contents of a document";
4295
- readonly schema: {
4296
- readonly type: {
4297
- readonly url: {
4298
- readonly type: "string";
4299
- };
4300
- readonly from_formats: {
4301
- readonly optional: true;
4302
- readonly type: "string[]";
4303
- readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
3935
+ readonly description: "CPU limit (e.g., '0.5', '1'). Defaults to 1";
4304
3936
  };
4305
- readonly image_export_mode: {
3937
+ readonly readOnly: {
4306
3938
  readonly optional: true;
4307
- readonly enum: readonly ["placeholder", "embedded", "referenced"];
4308
- readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
3939
+ readonly type: "boolean";
3940
+ readonly description: "Whether to mount the filesystem as read-only. Defaults to true";
4309
3941
  };
4310
- readonly page_range: {
4311
- readonly tuple: readonly ["integer", "integer"];
4312
- readonly optional: true;
4313
- readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
4314
- };
4315
- readonly do_ocr: {
4316
- readonly type: "boolean";
4317
- readonly optional: true;
4318
- readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
4319
- };
4320
- readonly force_ocr: {
4321
- readonly type: "boolean";
4322
- readonly optional: true;
4323
- readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
4324
- };
4325
- readonly ocr_engine: {
4326
- readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
4327
- readonly optional: true;
4328
- readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
4329
- };
4330
- readonly ocr_lang: {
4331
- readonly type: "string[]";
4332
- readonly optional: true;
4333
- readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
4334
- };
4335
- readonly document_timeout: {
4336
- readonly optional: true;
4337
- readonly type: "number";
4338
- readonly description: "The timeout for processing each document, in seconds.";
4339
- };
4340
- readonly pdf_backend: {
4341
- readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
4342
- readonly optional: true;
4343
- readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
4344
- };
4345
- readonly table_mode: {
4346
- readonly enum: readonly ["fast", "accurate"];
4347
- readonly optional: true;
4348
- readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
4349
- };
4350
- readonly do_table_structure: {
4351
- readonly type: "boolean";
4352
- readonly optional: true;
4353
- readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
4354
- };
4355
- readonly include_images: {
4356
- readonly type: "boolean";
4357
- readonly optional: true;
4358
- readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
4359
- };
4360
- readonly md_page_break_placeholder: {
4361
- readonly type: "string";
4362
- readonly optional: true;
4363
- readonly description: "Add this placeholder between pages in the markdown output.";
4364
- };
4365
- readonly images_scale: {
4366
- readonly type: "number";
4367
- readonly optional: true;
4368
- readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
4369
- };
4370
- };
4371
- };
4372
- readonly outputSchema: {
4373
- readonly type: "string";
4374
- };
4375
- };
4376
- };
4377
- };
4378
- handler: ProstglesMcpServerHandler;
4379
- } | {
4380
- definition: {
4381
- readonly icon_path: "React";
4382
- readonly label: "Web Dev Environment";
4383
- readonly description: "React vite based web development environment.";
4384
- readonly config_schema: undefined;
4385
- readonly tools: {
4386
- readonly list_directory: {
4387
- readonly description: "List files in the web app directory. Will truncate long lists.";
4388
- readonly schema: {
4389
- readonly type: {
4390
- readonly directoryPath: {
4391
- readonly type: "string";
4392
- readonly description: "Directory path to list files from the web app directory. Example: 'src/components'";
4393
- readonly optional: true;
4394
- };
4395
- };
4396
- };
4397
- readonly outputSchema: {
4398
- readonly arrayOf: "string";
4399
- };
4400
- };
4401
- readonly read_files: {
4402
- readonly description: "Read files from the web app directory";
4403
- readonly schema: {
4404
- readonly type: {
4405
- readonly filePaths: {
4406
- readonly description: "File paths to read from the web app directory.";
4407
- readonly arrayOf: "string";
4408
- };
4409
- };
4410
- };
4411
- readonly outputSchema: {
4412
- readonly arrayOfType: {
4413
- readonly filePath: "string";
4414
- readonly content: "string";
4415
- };
4416
- };
4417
- };
4418
- readonly search_files: {
4419
- readonly description: "Search files by content and/or file name in the web app directory";
4420
- readonly schema: {
4421
- readonly type: {
4422
- readonly contentQuery: {
4423
- readonly type: "string";
4424
- readonly description: "File content search query. Example: 'useState' to search for files that include 'useState'";
4425
- readonly optional: true;
4426
- };
4427
- readonly fileNameQuery: {
4428
- readonly type: "string";
4429
- readonly optional: true;
4430
- readonly description: "File name search query to further filter search results. Example: 'Counter' to only include files with 'Counter' in the file name.";
4431
- };
4432
- readonly extensions: {
4433
- readonly description: "File extensions to limit the search to (e.g., ['ts', 'tsx', 'js', 'jsx'])";
4434
- readonly arrayOf: "string";
4435
- readonly optional: true;
4436
- };
4437
- };
4438
- };
4439
- readonly outputSchema: {
4440
- readonly arrayOfType: {
4441
- readonly filePath: "string";
4442
- readonly matchedContent: "string";
4443
- };
4444
- };
4445
- };
4446
- readonly create_component_quick_feedback_preview: {
4447
- readonly description: string;
4448
- readonly schema: {
4449
- readonly type: {
4450
- readonly indexTsx: {
4451
- readonly type: "string";
4452
- readonly description: "tsx code for the component. Example: 'import { useState } from \"react\"; ...'";
4453
- };
4454
- readonly css: {
4455
- readonly type: "string";
4456
- readonly optional: true;
4457
- readonly description: "css code for the component. Example: '.container { display: flex; }'";
4458
- };
4459
- readonly dependencies: {
4460
- readonly description: "Dependencies to install in the environment (e.g., react, axios)";
4461
- readonly arrayOf: "string";
4462
- readonly optional: true;
4463
- };
4464
- };
4465
- };
4466
- readonly outputSchema: {
4467
- readonly type: "unknown";
4468
- };
4469
- };
4470
- readonly create_component: {
4471
- readonly description: "Create a react component";
4472
- readonly schema: {
4473
- readonly type: {
4474
- readonly entryPoint: {
4475
- readonly type: "string";
4476
- readonly description: "Entry point file for the component. Example: '@/components/Counter/Counter.tsx'";
4477
- };
4478
- readonly files: {
4479
- readonly description: "tsx/css and other files for the component. Example: { \"@/components/Counter/Counter.tsx\": \"import { useState } from \"react\"; ...\" } ";
4480
- readonly record: {
4481
- readonly values: "string";
4482
- };
4483
- };
4484
- readonly dependencies: {
4485
- readonly description: "Dependencies to install in the environment (e.g., react, axios)";
4486
- readonly arrayOf: "string";
4487
- readonly optional: true;
4488
- };
4489
- readonly devDependencies: {
4490
- readonly description: "Dev Dependencies to install in the environment (e.g., @types/pkg)";
4491
- readonly arrayOf: "string";
4492
- readonly optional: true;
4493
- };
4494
- readonly test: {
4495
- readonly description: "Playwright test to run against the component. Example: 'import { test, expect } from \"@playwright/react\"; ...'";
4496
- readonly type: "string";
4497
- };
4498
- };
4499
- };
4500
- readonly outputSchema: {
4501
- readonly type: "unknown";
4502
- };
4503
- };
4504
- };
4505
- };
4506
- handler: ProstglesMcpServerHandler;
4507
- } | {
4508
- definition: {
4509
- readonly icon_path: "CubeOutline";
4510
- readonly label: "Prostgles";
4511
- readonly description: "Tools to assist with Prostgles UI tasks";
4512
- readonly config_schema: undefined;
4513
- readonly tools: {
4514
- readonly compact_context: {
4515
- readonly icon: "ArrowCollapse";
4516
- readonly mode: undefined;
4517
- readonly description: string;
4518
- readonly schema: {
4519
- readonly type: {
4520
- readonly type: {
4521
- readonly enum: readonly ["conversation", "previous-message"];
4522
- };
4523
- readonly summary: {
4524
- readonly type: "string";
4525
- readonly description: "When type=conversation it is a summary of the conversation so far. When type=previous-message it is a summary of the previous message.";
4526
- };
4527
- };
4528
- };
4529
- readonly outputSchema: "string";
4530
- };
4531
- readonly run_code_in_sandbox: {
4532
- readonly icon: "Docker";
4533
- readonly annotations: {
4534
- readonly openWorldHint: true;
4535
- };
4536
- readonly mode: undefined;
4537
- readonly description: string;
4538
- readonly schema: {
4539
- readonly type: {
4540
- readonly reason: {
4541
- readonly type: "string";
4542
- readonly optional: true;
4543
- readonly description: "Reason for executing the code to provide context to the user. One short sentence is enough. ";
4544
- };
4545
- readonly files: {
4546
- readonly description: string;
4547
- readonly record: {
4548
- readonly partial: true;
4549
- readonly values: {
4550
- readonly type: "string";
4551
- readonly description: "File content. E.g.: 'import type { JSONB } from \"prostgles-types\";' ";
4552
- };
4553
- };
4554
- };
4555
- readonly userInputValue: {
4556
- readonly optional: true;
4557
- readonly description: "User populated values for the userInput keys. It will override the default values in userInput if provided. ";
4558
- readonly record: {
4559
- readonly values: "unknown";
4560
- };
4561
- };
4562
- readonly timeout: {
4563
- readonly optional: true;
4564
- readonly type: "integer";
4565
- readonly description: "Maximum time in milliseconds the container will be allowed to run. Defaults to 30000. ";
4566
- };
4567
- readonly networkMode: {
4568
- readonly optional: true;
4569
- readonly enum: readonly ["none", "bridge", "bridge-internal", "host"];
4570
- readonly description: "Network mode for the container. Defaults to 'bridge-internal'. Use 'bridge' mode to be able to access the database. Use 'bridge-internal' to access the database but not the internet.";
4571
- };
4572
- readonly environment: {
4573
- readonly optional: true;
4574
- readonly description: "Environment variables to set in the container";
4575
- readonly record: {
4576
- readonly values: "string";
4577
- readonly partial: true;
4578
- };
4579
- };
4580
- readonly memory: {
4581
- readonly optional: true;
4582
- readonly type: "string";
4583
- readonly description: "Memory limit (e.g., '512m', '1g'). Defaults to 512m";
4584
- };
4585
- readonly cpus: {
4586
- readonly optional: true;
4587
- readonly type: "string";
4588
- readonly description: "CPU limit (e.g., '0.5', '1'). Defaults to 1";
4589
- };
4590
- readonly readOnly: {
4591
- readonly optional: true;
4592
- readonly type: "boolean";
4593
- readonly description: "Whether to mount the filesystem as read-only. Defaults to true";
4594
- };
4595
- readonly userInput: {
4596
- readonly description: string;
3942
+ readonly userInput: {
3943
+ readonly description: string;
4597
3944
  readonly optional: true;
4598
3945
  readonly record: {
4599
3946
  readonly values: {
@@ -6881,37 +6228,690 @@ export declare const getProstglesMCPServer: (serverName: string) => {
6881
6228
  };
6882
6229
  };
6883
6230
  readonly outputSchema: {
6884
- readonly type: "unknown";
6231
+ readonly type: "unknown";
6232
+ };
6233
+ };
6234
+ readonly find_icons: {
6235
+ readonly icon: "ImageSearch";
6236
+ readonly mode: undefined;
6237
+ readonly description: "Search for icons by name. Returns a list of icon names that match the search query.";
6238
+ readonly schema: {
6239
+ readonly type: {
6240
+ readonly query: "string";
6241
+ };
6242
+ };
6243
+ readonly outputSchema: {
6244
+ readonly type: "string[]";
6245
+ };
6246
+ };
6247
+ readonly create_dashboards: {
6248
+ readonly icon: "ViewCarousel";
6249
+ readonly mode: "auto-approved-user-actionable";
6250
+ readonly description: "Suggest Prostgles UI dashboards to visualize data for the specified task.";
6251
+ readonly schema: {
6252
+ readonly type: {
6253
+ readonly prostglesWorkspaces: {
6254
+ readonly description: "Workspace to create. Must satisfy the typescript WorkspaceInsertModel type";
6255
+ readonly arrayOf: "any";
6256
+ };
6257
+ };
6258
+ };
6259
+ readonly outputSchema: "string";
6260
+ };
6261
+ };
6262
+ };
6263
+ handler: ProstglesMcpServerHandler;
6264
+ } | {
6265
+ definition: {
6266
+ readonly icon_path: "DatabaseOutline";
6267
+ readonly label: "Database";
6268
+ readonly description: "Tools to interact with your database";
6269
+ readonly tools: {
6270
+ readonly get_existing_tables_schema: {
6271
+ readonly icon: "DatabaseEyeOutline";
6272
+ readonly description: string;
6273
+ readonly schema: {
6274
+ readonly type: {
6275
+ readonly tableNames: {
6276
+ readonly optional: true;
6277
+ readonly type: "string[]";
6278
+ };
6279
+ readonly tableNameRegex: {
6280
+ readonly optional: true;
6281
+ readonly type: "string";
6282
+ readonly description: "Regular expression to match table names. For example, 'user' will match tables with names like 'user', 'users', 'app_user', etc.";
6283
+ };
6284
+ };
6285
+ };
6286
+ readonly outputSchema: {
6287
+ readonly type: "string";
6288
+ };
6289
+ };
6290
+ readonly execute_readonly_sql: {
6291
+ readonly icon: "DatabaseSearchOutline";
6292
+ readonly annotations: {
6293
+ readonly readOnlyHint: true;
6294
+ };
6295
+ readonly description: "Executes a SQL query on the connected database in readonly mode (no data can be changed, the transaction is rolled back at the end).";
6296
+ readonly schema: {
6297
+ readonly type: {
6298
+ readonly sql: {
6299
+ readonly type: "string";
6300
+ readonly description: "SQL query to execute";
6301
+ };
6302
+ readonly query_timeout: {
6303
+ readonly type: "number";
6304
+ readonly optional: true;
6305
+ readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
6306
+ };
6307
+ readonly query_params: {
6308
+ readonly optional: true;
6309
+ readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
6310
+ readonly oneOf: readonly ["any[]", {
6311
+ readonly record: {
6312
+ readonly values: "any";
6313
+ };
6314
+ }];
6315
+ };
6316
+ };
6317
+ };
6318
+ readonly outputSchema: {
6319
+ readonly arrayOf: {
6320
+ readonly record: {
6321
+ readonly values: "any";
6322
+ };
6323
+ };
6324
+ };
6325
+ };
6326
+ readonly execute_sql: {
6327
+ readonly icon: "DatabaseEditOutline";
6328
+ readonly annotations: {
6329
+ readonly readOnlyHint: false;
6330
+ readonly destructiveHint: true;
6331
+ };
6332
+ readonly description: "Executes a SQL query on the connected database in commit mode (data can be changed, the transaction committed at the end).";
6333
+ readonly schema: {
6334
+ readonly type: {
6335
+ readonly sql: {
6336
+ readonly type: "string";
6337
+ readonly description: "SQL query to execute";
6338
+ };
6339
+ readonly query_timeout: {
6340
+ readonly type: "number";
6341
+ readonly optional: true;
6342
+ readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
6343
+ };
6344
+ readonly query_params: {
6345
+ readonly optional: true;
6346
+ readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
6347
+ readonly oneOf: readonly ["any[]", {
6348
+ readonly record: {
6349
+ readonly values: "any";
6350
+ };
6351
+ }];
6352
+ };
6353
+ };
6354
+ };
6355
+ readonly outputSchema: {
6356
+ readonly arrayOf: {
6357
+ readonly record: {
6358
+ readonly values: "any";
6359
+ };
6360
+ };
6361
+ };
6362
+ };
6363
+ readonly count: {
6364
+ readonly icon: "DatabaseEyeOutline";
6365
+ readonly description: "Counts rows in a table that satisfy a filter.";
6366
+ readonly annotations: {
6367
+ readonly readOnlyHint: true;
6368
+ };
6369
+ readonly schema: {
6370
+ readonly type: {
6371
+ readonly select: {
6372
+ readonly optional: true;
6373
+ readonly oneOf: readonly [{
6374
+ readonly enum: readonly ["*", ""];
6375
+ }, "string[]", {
6376
+ readonly record: {
6377
+ readonly values: "any";
6378
+ };
6379
+ }];
6380
+ readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
6381
+ };
6382
+ readonly orderBy: {
6383
+ readonly optional: true;
6384
+ readonly oneOf: readonly ["string", "string[]", {
6385
+ readonly record: {
6386
+ readonly values: {
6387
+ readonly oneOf: readonly [{
6388
+ readonly enum: readonly [1, -1];
6389
+ }, "boolean"];
6390
+ };
6391
+ };
6392
+ }, {
6393
+ readonly arrayOf: {
6394
+ readonly record: {
6395
+ readonly values: {
6396
+ readonly oneOf: readonly [{
6397
+ readonly enum: readonly [1, -1];
6398
+ }, "boolean"];
6399
+ };
6400
+ };
6401
+ };
6402
+ }, {
6403
+ readonly arrayOfType: {
6404
+ readonly key: "string";
6405
+ readonly asc: {
6406
+ readonly optional: true;
6407
+ readonly nullable: true;
6408
+ readonly oneOf: readonly [{
6409
+ readonly enum: readonly [1, -1];
6410
+ }, "boolean"];
6411
+ };
6412
+ readonly nulls: {
6413
+ readonly enum: readonly ["first", "last"];
6414
+ readonly optional: true;
6415
+ readonly nullable: true;
6416
+ };
6417
+ readonly nullEmpty: {
6418
+ readonly type: "boolean";
6419
+ readonly optional: true;
6420
+ readonly nullable: true;
6421
+ };
6422
+ };
6423
+ }, {
6424
+ readonly type: {
6425
+ readonly key: "string";
6426
+ readonly asc: {
6427
+ readonly optional: true;
6428
+ readonly nullable: true;
6429
+ readonly oneOf: readonly [{
6430
+ readonly enum: readonly [1, -1];
6431
+ }, "boolean"];
6432
+ };
6433
+ readonly nulls: {
6434
+ readonly enum: readonly ["first", "last"];
6435
+ readonly optional: true;
6436
+ readonly nullable: true;
6437
+ };
6438
+ readonly nullEmpty: {
6439
+ readonly type: "boolean";
6440
+ readonly optional: true;
6441
+ readonly nullable: true;
6442
+ };
6443
+ };
6444
+ }];
6445
+ };
6446
+ readonly limit: {
6447
+ readonly optional: true;
6448
+ readonly nullable: true;
6449
+ readonly type: "integer";
6450
+ };
6451
+ readonly offset: {
6452
+ readonly optional: true;
6453
+ readonly type: "integer";
6454
+ };
6455
+ readonly groupBy: {
6456
+ readonly optional: true;
6457
+ readonly type: "boolean";
6458
+ };
6459
+ readonly having: {
6460
+ readonly optional: true;
6461
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6462
+ readonly record: {
6463
+ readonly values: "any";
6464
+ };
6465
+ };
6466
+ readonly tableName: "string";
6467
+ readonly filter: {
6468
+ readonly optional: true;
6469
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6470
+ readonly record: {
6471
+ readonly values: "any";
6472
+ };
6473
+ };
6474
+ };
6475
+ };
6476
+ readonly outputSchema: "number";
6477
+ };
6478
+ readonly find: {
6479
+ readonly icon: "TableSearch";
6480
+ readonly description: "Selects rows from a table.";
6481
+ readonly annotations: {
6482
+ readonly readOnlyHint: true;
6483
+ };
6484
+ readonly schema: {
6485
+ readonly type: {
6486
+ readonly limit: {
6487
+ readonly description: "Defaults to 10. Use null for no limit.";
6488
+ readonly optional: true;
6489
+ readonly nullable: true;
6490
+ readonly type: "integer";
6491
+ };
6492
+ readonly select: {
6493
+ readonly optional: true;
6494
+ readonly oneOf: readonly [{
6495
+ readonly enum: readonly ["*", ""];
6496
+ }, "string[]", {
6497
+ readonly record: {
6498
+ readonly values: "any";
6499
+ };
6500
+ }];
6501
+ readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
6502
+ };
6503
+ readonly orderBy: {
6504
+ readonly optional: true;
6505
+ readonly oneOf: readonly ["string", "string[]", {
6506
+ readonly record: {
6507
+ readonly values: {
6508
+ readonly oneOf: readonly [{
6509
+ readonly enum: readonly [1, -1];
6510
+ }, "boolean"];
6511
+ };
6512
+ };
6513
+ }, {
6514
+ readonly arrayOf: {
6515
+ readonly record: {
6516
+ readonly values: {
6517
+ readonly oneOf: readonly [{
6518
+ readonly enum: readonly [1, -1];
6519
+ }, "boolean"];
6520
+ };
6521
+ };
6522
+ };
6523
+ }, {
6524
+ readonly arrayOfType: {
6525
+ readonly key: "string";
6526
+ readonly asc: {
6527
+ readonly optional: true;
6528
+ readonly nullable: true;
6529
+ readonly oneOf: readonly [{
6530
+ readonly enum: readonly [1, -1];
6531
+ }, "boolean"];
6532
+ };
6533
+ readonly nulls: {
6534
+ readonly enum: readonly ["first", "last"];
6535
+ readonly optional: true;
6536
+ readonly nullable: true;
6537
+ };
6538
+ readonly nullEmpty: {
6539
+ readonly type: "boolean";
6540
+ readonly optional: true;
6541
+ readonly nullable: true;
6542
+ };
6543
+ };
6544
+ }, {
6545
+ readonly type: {
6546
+ readonly key: "string";
6547
+ readonly asc: {
6548
+ readonly optional: true;
6549
+ readonly nullable: true;
6550
+ readonly oneOf: readonly [{
6551
+ readonly enum: readonly [1, -1];
6552
+ }, "boolean"];
6553
+ };
6554
+ readonly nulls: {
6555
+ readonly enum: readonly ["first", "last"];
6556
+ readonly optional: true;
6557
+ readonly nullable: true;
6558
+ };
6559
+ readonly nullEmpty: {
6560
+ readonly type: "boolean";
6561
+ readonly optional: true;
6562
+ readonly nullable: true;
6563
+ };
6564
+ };
6565
+ }];
6566
+ };
6567
+ readonly offset: {
6568
+ readonly optional: true;
6569
+ readonly type: "integer";
6570
+ };
6571
+ readonly groupBy: {
6572
+ readonly optional: true;
6573
+ readonly type: "boolean";
6574
+ };
6575
+ readonly having: {
6576
+ readonly optional: true;
6577
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6578
+ readonly record: {
6579
+ readonly values: "any";
6580
+ };
6581
+ };
6582
+ readonly tableName: "string";
6583
+ readonly filter: {
6584
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6585
+ readonly record: {
6586
+ readonly values: "any";
6587
+ };
6588
+ readonly optional: true;
6589
+ };
6590
+ };
6591
+ };
6592
+ readonly outputSchema: {
6593
+ readonly arrayOf: {
6594
+ readonly record: {
6595
+ readonly values: "any";
6596
+ };
6597
+ };
6598
+ };
6599
+ };
6600
+ readonly insert: {
6601
+ readonly icon: "TablePlus";
6602
+ readonly description: "Inserts a row into a table. Also uploads a file when tableName is the connection's enabled managed file table: data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
6603
+ readonly annotations: {
6604
+ readonly readOnlyHint: false;
6605
+ };
6606
+ readonly schema: {
6607
+ readonly type: {
6608
+ readonly tableName: "string";
6609
+ readonly data: {
6610
+ readonly description: "Data to insert into the table. Must satisfy the table schema.";
6611
+ readonly record: {
6612
+ readonly values: "any";
6613
+ };
6614
+ };
6615
+ readonly onConflict: {
6616
+ readonly optional: true;
6617
+ readonly oneOf: readonly [{
6618
+ readonly enum: readonly ["DoNothing", "DoUpdate"];
6619
+ }, {
6620
+ readonly type: {
6621
+ readonly action: {
6622
+ readonly enum: readonly ["DoNothing", "DoUpdate"];
6623
+ };
6624
+ readonly conflictColumns: "string[]";
6625
+ };
6626
+ }];
6627
+ readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
6628
+ };
6629
+ readonly removeDisallowedFields: {
6630
+ readonly type: "boolean";
6631
+ readonly optional: true;
6632
+ };
6633
+ readonly returning: {
6634
+ readonly optional: true;
6635
+ readonly oneOf: readonly [{
6636
+ readonly enum: readonly ["*", ""];
6637
+ }, "string[]", {
6638
+ readonly record: {
6639
+ readonly values: "any";
6640
+ };
6641
+ }];
6642
+ readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
6643
+ };
6644
+ };
6645
+ };
6646
+ readonly outputSchema: {
6647
+ readonly optional: true;
6648
+ readonly description: "Inserted row returned based on the returning fields. Nothing will be returned if returning is not provided.";
6649
+ readonly record: {
6650
+ readonly values: "any";
6651
+ };
6652
+ };
6653
+ };
6654
+ readonly insertMany: {
6655
+ readonly icon: "TablePlus";
6656
+ readonly description: "Inserts rows into a table. Also uploads files when tableName is the connection's enabled managed file table: each item in data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
6657
+ readonly annotations: {
6658
+ readonly readOnlyHint: false;
6659
+ };
6660
+ readonly schema: {
6661
+ readonly type: {
6662
+ readonly tableName: "string";
6663
+ readonly data: {
6664
+ readonly description: "Data to insert into the table. Must satisfy the table schema.";
6665
+ readonly arrayOf: {
6666
+ readonly record: {
6667
+ readonly values: "any";
6668
+ };
6669
+ };
6670
+ };
6671
+ readonly onConflict: {
6672
+ readonly optional: true;
6673
+ readonly oneOf: readonly [{
6674
+ readonly enum: readonly ["DoNothing", "DoUpdate"];
6675
+ }, {
6676
+ readonly type: {
6677
+ readonly action: {
6678
+ readonly enum: readonly ["DoNothing", "DoUpdate"];
6679
+ };
6680
+ readonly conflictColumns: "string[]";
6681
+ };
6682
+ }];
6683
+ readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
6684
+ };
6685
+ readonly removeDisallowedFields: {
6686
+ readonly type: "boolean";
6687
+ readonly optional: true;
6688
+ };
6689
+ readonly returning: {
6690
+ readonly optional: true;
6691
+ readonly oneOf: readonly [{
6692
+ readonly enum: readonly ["*", ""];
6693
+ }, "string[]", {
6694
+ readonly record: {
6695
+ readonly values: "any";
6696
+ };
6697
+ }];
6698
+ readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
6699
+ };
6700
+ };
6701
+ };
6702
+ readonly outputSchema: {
6703
+ readonly arrayOf: {
6704
+ readonly record: {
6705
+ readonly values: "any";
6706
+ };
6707
+ };
6708
+ readonly optional: true;
6709
+ readonly description: "Inserted rows returned based on the returning fields. Nothing will be returned if returning is not provided.";
6710
+ };
6711
+ };
6712
+ readonly update: {
6713
+ readonly icon: "TableEdit";
6714
+ readonly description: "Updates rows in a table.";
6715
+ readonly annotations: {
6716
+ readonly destructiveHint: true;
6717
+ readonly readOnlyHint: false;
6718
+ };
6719
+ readonly schema: {
6720
+ readonly type: {
6721
+ readonly data: {
6722
+ readonly description: "Data to insert into the table. Must satisfy the table schema.";
6723
+ readonly record: {
6724
+ readonly values: "any";
6725
+ };
6726
+ };
6727
+ readonly removeDisallowedFields: {
6728
+ readonly type: "boolean";
6729
+ readonly optional: true;
6730
+ readonly description: "Whether to remove fields that are not allowed to be updated instead of throwing an error.";
6731
+ };
6732
+ readonly multi: {
6733
+ readonly description: "true by default. When set to false the update will throw an error if more than one row is updated (but the update will commit).";
6734
+ readonly type: "boolean";
6735
+ readonly optional: true;
6736
+ };
6737
+ readonly returning: {
6738
+ readonly optional: true;
6739
+ readonly oneOf: readonly [{
6740
+ readonly enum: readonly ["*", ""];
6741
+ }, "string[]", {
6742
+ readonly record: {
6743
+ readonly values: "any";
6744
+ };
6745
+ }];
6746
+ readonly description: "Fields to return for updated data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
6747
+ };
6748
+ readonly filter: {
6749
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6750
+ readonly record: {
6751
+ readonly values: "any";
6752
+ };
6753
+ };
6754
+ readonly tableName: "string";
6755
+ };
6756
+ };
6757
+ readonly outputSchema: {
6758
+ readonly optional: true;
6759
+ readonly oneOf: readonly [{
6760
+ readonly record: {
6761
+ readonly values: "any";
6762
+ };
6763
+ }, {
6764
+ readonly arrayOf: {
6765
+ readonly record: {
6766
+ readonly values: "any";
6767
+ };
6768
+ };
6769
+ }];
6885
6770
  };
6886
6771
  };
6887
- readonly find_icons: {
6888
- readonly icon: "ImageSearch";
6889
- readonly mode: undefined;
6890
- readonly description: "Search for icons by name. Returns a list of icon names that match the search query.";
6772
+ readonly delete: {
6773
+ readonly icon: "TableRemove";
6774
+ readonly annotations: {
6775
+ readonly destructiveHint: true;
6776
+ readonly readOnlyHint: false;
6777
+ };
6778
+ readonly description: "Deletes rows from a table.";
6891
6779
  readonly schema: {
6892
6780
  readonly type: {
6893
- readonly query: "string";
6781
+ readonly returning: {
6782
+ readonly optional: true;
6783
+ readonly oneOf: readonly [{
6784
+ readonly enum: readonly ["*", ""];
6785
+ }, "string[]", {
6786
+ readonly record: {
6787
+ readonly values: "any";
6788
+ };
6789
+ }];
6790
+ readonly description: "Fields to return for the deleted rows. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
6791
+ };
6792
+ readonly filter: {
6793
+ readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
6794
+ readonly record: {
6795
+ readonly values: "any";
6796
+ };
6797
+ };
6798
+ readonly tableName: "string";
6894
6799
  };
6895
6800
  };
6896
6801
  readonly outputSchema: {
6897
- readonly type: "string[]";
6802
+ readonly oneOf: readonly [{
6803
+ readonly arrayOf: {
6804
+ readonly record: {
6805
+ readonly values: "any";
6806
+ };
6807
+ };
6808
+ }, {
6809
+ readonly enum: readonly [undefined];
6810
+ }];
6898
6811
  };
6899
6812
  };
6900
- readonly create_dashboards: {
6901
- readonly icon: "ViewCarousel";
6902
- readonly mode: "auto-approved-user-actionable";
6903
- readonly description: "Suggest Prostgles UI dashboards to visualize data for the specified task.";
6813
+ };
6814
+ readonly config_schema: undefined;
6815
+ };
6816
+ handler: ProstglesMcpServerHandler;
6817
+ } | {
6818
+ definition: {
6819
+ readonly icon_path: "TextBoxSearchOutline";
6820
+ readonly label: "Documents";
6821
+ readonly description: "Convert documents to text and extract information from them";
6822
+ readonly tools: {
6823
+ readonly get_document_text: {
6824
+ readonly mode: undefined;
6825
+ readonly description: "Converts documents/images into structured data. Supported formats: txt, pdf, docx, pptx, jpg, png, and more. Powered by [docling](https://www.docling.ai/).";
6904
6826
  readonly schema: {
6905
6827
  readonly type: {
6906
- readonly prostglesWorkspaces: {
6907
- readonly description: "Workspace to create. Must satisfy the typescript WorkspaceInsertModel type";
6908
- readonly arrayOf: "any";
6828
+ readonly to_format: {
6829
+ readonly optional: true;
6830
+ readonly description: "Defaults to \"md\". Convert the document to a specific format.";
6831
+ readonly enum: readonly ["md", "json", "yaml", "html", "html_split_page", "text", "doctags"];
6832
+ };
6833
+ readonly from_formats: {
6834
+ readonly optional: true;
6835
+ readonly type: "string[]";
6836
+ readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
6837
+ };
6838
+ readonly image_export_mode: {
6839
+ readonly optional: true;
6840
+ readonly enum: readonly ["placeholder", "embedded", "referenced"];
6841
+ readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
6842
+ };
6843
+ readonly page_range: {
6844
+ readonly tuple: readonly ["integer", "integer"];
6845
+ readonly optional: true;
6846
+ readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
6847
+ };
6848
+ readonly do_ocr: {
6849
+ readonly type: "boolean";
6850
+ readonly optional: true;
6851
+ readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
6852
+ };
6853
+ readonly force_ocr: {
6854
+ readonly type: "boolean";
6855
+ readonly optional: true;
6856
+ readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
6857
+ };
6858
+ readonly ocr_engine: {
6859
+ readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
6860
+ readonly optional: true;
6861
+ readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
6862
+ };
6863
+ readonly ocr_lang: {
6864
+ readonly type: "string[]";
6865
+ readonly optional: true;
6866
+ readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
6867
+ };
6868
+ readonly document_timeout: {
6869
+ readonly optional: true;
6870
+ readonly type: "number";
6871
+ readonly description: "The timeout for processing each document, in seconds.";
6872
+ };
6873
+ readonly pdf_backend: {
6874
+ readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
6875
+ readonly optional: true;
6876
+ readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
6877
+ };
6878
+ readonly table_mode: {
6879
+ readonly enum: readonly ["fast", "accurate"];
6880
+ readonly optional: true;
6881
+ readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
6882
+ };
6883
+ readonly do_table_structure: {
6884
+ readonly type: "boolean";
6885
+ readonly optional: true;
6886
+ readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
6887
+ };
6888
+ readonly include_images: {
6889
+ readonly type: "boolean";
6890
+ readonly optional: true;
6891
+ readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
6892
+ };
6893
+ readonly md_page_break_placeholder: {
6894
+ readonly type: "string";
6895
+ readonly optional: true;
6896
+ readonly description: "Add this placeholder between pages in the markdown output.";
6897
+ };
6898
+ readonly images_scale: {
6899
+ readonly type: "number";
6900
+ readonly optional: true;
6901
+ readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
6902
+ };
6903
+ readonly fileAsBase64: "string";
6904
+ readonly contentType: {
6905
+ readonly enum: readonly ["application/pdf", "text/plain", "text/markdown", "text/x-markdown", "text/html", "application/xhtml+xml", "text/asciidoc", "text/x-asciidoc", "text/csv", "text/vtt", "text/x-tex", "application/x-tex", "text/x-latex", "application/xml", "text/xml", "application/mets+xml", "application/json", "application/msword", "application/x-msword", "application/rtf", "text/rtf", "application/x-rtf", "application/vnd.ms-excel", "application/x-msexcel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.presentation-template", "application/epub+zip", "message/rfc822", "application/vnd.ms-outlook", "application/x-mimearchive", "multipart/related", "image/png", "image/jpeg", "image/tiff", "image/gif", "image/bmp", "image/webp"];
6909
6906
  };
6910
6907
  };
6911
6908
  };
6912
- readonly outputSchema: "string";
6909
+ readonly outputSchema: {
6910
+ readonly type: "string";
6911
+ };
6913
6912
  };
6914
6913
  };
6914
+ readonly config_schema: undefined;
6915
6915
  };
6916
6916
  handler: ProstglesMcpServerHandler;
6917
6917
  } | undefined;