@quantyapp/quanty-mcp-server 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp/index.js +13 -0
- package/package.json +1 -1
package/dist/mcp/index.js
CHANGED
|
@@ -86,6 +86,12 @@ Itens podem ser organizados em níveis hierárquicos:
|
|
|
86
86
|
`;
|
|
87
87
|
// Tool definitions with detailed descriptions
|
|
88
88
|
const TOOLS = [
|
|
89
|
+
// === DOCUMENTATION TOOLS ===
|
|
90
|
+
{
|
|
91
|
+
name: 'quanty_ler_manual',
|
|
92
|
+
description: 'Lê o manual completo do Quanty com conceitos de engenharia e instruções de uso.',
|
|
93
|
+
inputSchema: { type: 'object', properties: {} }
|
|
94
|
+
},
|
|
89
95
|
// === READ TOOLS ===
|
|
90
96
|
{
|
|
91
97
|
name: 'quanty_listar_orcamentos',
|
|
@@ -225,6 +231,13 @@ Retorna média, mínimo, máximo e percentil 90 (para detecção de outliers).`,
|
|
|
225
231
|
];
|
|
226
232
|
async function handleToolCall(auth, name, args) {
|
|
227
233
|
switch (name) {
|
|
234
|
+
// === DOCUMENTATION ===
|
|
235
|
+
case 'quanty_ler_manual': {
|
|
236
|
+
return {
|
|
237
|
+
conteudo: QUANTY_MANUAL,
|
|
238
|
+
_info: 'Este manual contém tudo sobre BDI, Composições e estrutura do Quanty.'
|
|
239
|
+
};
|
|
240
|
+
}
|
|
228
241
|
// === READ ===
|
|
229
242
|
case 'quanty_listar_orcamentos': {
|
|
230
243
|
const budgets = await budgetService.listBudgets(auth, args.limite || 10);
|
package/package.json
CHANGED