@comando.one/mcp-server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @comando/mcp-server
|
|
1
|
+
# @comando.one/mcp-server
|
|
2
2
|
|
|
3
3
|
Servidor **MCP (Model Context Protocol)** para a API pública do **Comando.One**. Conecte o Claude (Desktop, Code ou qualquer cliente MCP) ao seu ERP e **opere tudo por linguagem natural**: clientes, propostas, contratos, faturas, cobranças Pix/boleto, NFS-e, contas a pagar, financeiro e webhooks.
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Adicione ao seu `claude_desktop_config.json`:
|
|
|
11
11
|
"mcpServers": {
|
|
12
12
|
"comando": {
|
|
13
13
|
"command": "npx",
|
|
14
|
-
"args": ["-y", "@comando/mcp-server"],
|
|
14
|
+
"args": ["-y", "@comando.one/mcp-server"],
|
|
15
15
|
"env": {
|
|
16
16
|
"COMANDO_API_KEY": "cmd_live_...",
|
|
17
17
|
"COMANDO_COMPANY_ID": ""
|
|
@@ -23,6 +23,24 @@ Adicione ao seu `claude_desktop_config.json`:
|
|
|
23
23
|
|
|
24
24
|
Gere sua chave em **Configurações → API Keys** no app. Reinicie o Claude Desktop e pronto.
|
|
25
25
|
|
|
26
|
+
## Alternativa: MCP remoto (sem instalar nada)
|
|
27
|
+
|
|
28
|
+
Além deste pacote stdio, existe um **endpoint MCP remoto (streaming)** em `https://api.comando.one/mcp` (transporte MCP Streamable HTTP). Para clientes com conector remoto:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"comando-remoto": {
|
|
34
|
+
"type": "http",
|
|
35
|
+
"url": "https://api.comando.one/mcp",
|
|
36
|
+
"headers": { "Authorization": "Bearer cmd_live_..." }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Ambos expõem o **mesmo conjunto de ferramentas** (50 curadas + `lookups` + `comando_request` = cobertura total da API).
|
|
43
|
+
|
|
26
44
|
## Variáveis de ambiente
|
|
27
45
|
|
|
28
46
|
| Variável | Obrigatória | Padrão | Descrição |
|
package/package.json
CHANGED