@botozap/mcp 0.2.3 → 0.2.4
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 +5 -5
- package/dist/index.js +0 -0
- package/package.json +13 -14
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ credenciais.
|
|
|
36
36
|
O pacote pode ser executado diretamente do npm:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
pnpm dlx @botozap/mcp@0.2.
|
|
39
|
+
pnpm dlx @botozap/mcp@0.2.4
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Para desenvolver o monorepo localmente:
|
|
@@ -81,7 +81,7 @@ BOTOZAP_MCP_HOST=0.0.0.0 \
|
|
|
81
81
|
BOTOZAP_MCP_PORT=3001 \
|
|
82
82
|
BOTOZAP_MCP_ALLOWED_HOSTS=mcp.botozap.com.br \
|
|
83
83
|
BOTOZAP_EVENT_BUS_DATABASE_URL=postgresql://... \
|
|
84
|
-
pnpm dlx @botozap/mcp@0.2.
|
|
84
|
+
pnpm dlx @botozap/mcp@0.2.4
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Bind em `0.0.0.0` ou `::` sem `BOTOZAP_MCP_ALLOWED_HOSTS` recusa o boot (fail-closed). Em `127.0.0.1`/`::1`/`localhost` a allowlist padrão de loopback é aplicada e o desenvolvimento local segue igual.
|
|
@@ -122,7 +122,7 @@ Via CLI:
|
|
|
122
122
|
```bash
|
|
123
123
|
claude mcp add botozap \
|
|
124
124
|
--env BOTOZAP_API_KEY=bz_live_suachaveaqui \
|
|
125
|
-
-- pnpm dlx @botozap/mcp@0.2.
|
|
125
|
+
-- pnpm dlx @botozap/mcp@0.2.4
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
Ou no JSON do MCP (`.mcp.json` do projeto ou config do usuário):
|
|
@@ -132,7 +132,7 @@ Ou no JSON do MCP (`.mcp.json` do projeto ou config do usuário):
|
|
|
132
132
|
"mcpServers": {
|
|
133
133
|
"botozap": {
|
|
134
134
|
"command": "pnpm",
|
|
135
|
-
"args": ["dlx", "@botozap/mcp@0.2.
|
|
135
|
+
"args": ["dlx", "@botozap/mcp@0.2.4"],
|
|
136
136
|
"env": {
|
|
137
137
|
"BOTOZAP_API_KEY": "bz_live_suachaveaqui"
|
|
138
138
|
}
|
|
@@ -150,7 +150,7 @@ Edite `~/.cursor/mcp.json` (global) ou `.cursor/mcp.json` (no projeto):
|
|
|
150
150
|
"mcpServers": {
|
|
151
151
|
"botozap": {
|
|
152
152
|
"command": "pnpm",
|
|
153
|
-
"args": ["dlx", "@botozap/mcp@0.2.
|
|
153
|
+
"args": ["dlx", "@botozap/mcp@0.2.4"],
|
|
154
154
|
"env": {
|
|
155
155
|
"BOTOZAP_API_KEY": "bz_live_suachaveaqui"
|
|
156
156
|
}
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botozap/mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Servidor MCP (Model Context Protocol) para a API pública do BotoZap — expõe as operações da plataforma WhatsApp Cloud API como ferramentas MCP para Claude Code, Cursor e Codex.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,26 +27,25 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsc -p tsconfig.json",
|
|
32
|
-
"dev": "tsc -p tsconfig.json --watch",
|
|
33
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
34
|
-
"test": "vitest run",
|
|
35
|
-
"start": "node dist/index.js",
|
|
36
|
-
"smoke": "node scripts/smoke.ts",
|
|
37
|
-
"smoke:sandbox": "node scripts/smoke-sandbox.ts",
|
|
38
|
-
"prepublishOnly": "pnpm run build"
|
|
39
|
-
},
|
|
40
30
|
"dependencies": {
|
|
41
|
-
"@botozap/sdk": "workspace:*",
|
|
42
31
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
43
32
|
"pg": "^8.23.0",
|
|
44
|
-
"zod": "^3.25.76"
|
|
33
|
+
"zod": "^3.25.76",
|
|
34
|
+
"@botozap/sdk": "0.3.2"
|
|
45
35
|
},
|
|
46
36
|
"devDependencies": {
|
|
47
37
|
"@types/node": "^20.19.0",
|
|
48
38
|
"@types/pg": "^8.23.1",
|
|
49
39
|
"typescript": "^5.6.0",
|
|
50
40
|
"vitest": "^3.0.0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsc -p tsconfig.json",
|
|
44
|
+
"dev": "tsc -p tsconfig.json --watch",
|
|
45
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"start": "node dist/index.js",
|
|
48
|
+
"smoke": "node scripts/smoke.ts",
|
|
49
|
+
"smoke:sandbox": "node scripts/smoke-sandbox.ts"
|
|
51
50
|
}
|
|
52
|
-
}
|
|
51
|
+
}
|