Menu da documentação
Primeiros passos
O que é o Opus GrowthInício rápidoAdicione à sua IAComo funcionaSegurança e aprovaçãoCréditosPlanosPerguntas frequentesApps de IA
Todos os appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOutros MCPPlataformas de anúncios
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgências e MCCFontes de dados
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerSites e SEO
AI ServerWordPressSEO IntelligenceFraude de cliquesReferência de ferramentas
Todas as ferramentasGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceFraude de cliquesMulticanalConta e cobrançaIdioma
Query Website Database
Runs a READ-ONLY SQL query against the website's own MariaDB database and returns the rows.
- Tipo
- Somente leitura
- Créditos
- 1
- Plataforma
- AI Server
- Aprovação
- Não precisa, nada muda
O que faz
Runs a READ-ONLY SQL query against the website's own MariaDB database and returns the rows. Only SELECT / SHOW / DESCRIBE / EXPLAIN / WITH are accepted; anything that changes data is refused here (use site_db_execute for that). `INTO OUTFILE` is refused too, because it writes files on the server. It inspects an application's data: how many orders/applications exist, what a table looks like, whether a migration landed. Databases only exist on application-type hosting servers; a static site has none. Every result row is returned: `limit` = rows in this response (no upper bound; 0 = as many as fit, about 370 KB); total_rows is the full count, and when has_more is true page_token=next_page_token returns the next rows without running the query again (offset=next_offset also works).
A descrição está em inglês porque é o texto oficial que sua IA vê.
MCP: site_db_query
Como usar
Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.
Parâmetros
| Nome | Tipo | Obrigatório | Padrão | |
|---|---|---|---|---|
| sql | string | Opcional | · | Exact sql value for site db query. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| server | string | Opcional | · | Name of the connected hosting server to target when more than one server is available. |
| database | string | Opcional | · | Exact database name or database selector on the managed site or server. |
| limit | integer | Opcional | 0 | Maximum number of rows returned in this response. When the result has_more flag is true, continue with next_page_token rather than assuming the list is complete. |
| offset | integer | Opcional | 0 | Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present. |
| page_token | string | Opcional | · | Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page. |
Ferramentas relacionadas
add_siteSet Up Site Contact-Form Emailconfigure_site_smtpCreate Free Trial Websitecreate_trial_siteDeploy Site From ZIPdeploy_site_zipList Hosting Serverslist_serversList Websites On Serverlist_sitesRemove Website From Serverremove_siteInstall Site Starterscaffold_siteBlock Website Pathssite_block_paths