zapcore mcp for VS Code
io.github.adeiltonpessini/zapcore-mcp
Servidor MCP do zapCore (WhatsApp): leitura sempre, envio atrás de flag e allowlist de destino.
client:VS Code
transport:stdio
runtime:npm
Install zapcore mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "zapcore-token",
"description": "ZAPCORE_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "zapcore-url",
"description": "ZAPCORE_URL",
"password": true
},
{
"type": "promptString",
"id": "zapcore-mcp-write",
"description": "ZAPCORE_MCP_WRITE",
"password": true
},
{
"type": "promptString",
"id": "zapcore-mcp-allow",
"description": "ZAPCORE_MCP_ALLOW",
"password": true
},
{
"type": "promptString",
"id": "zapcore-mcp-timeout-ms",
"description": "ZAPCORE_MCP_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "zapcore-mcp-download-dir",
"description": "ZAPCORE_MCP_DOWNLOAD_DIR",
"password": true
},
{
"type": "promptString",
"id": "zapcore-cf-access-client-id",
"description": "ZAPCORE_CF_ACCESS_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "zapcore-cf-access-client-secret",
"description": "ZAPCORE_CF_ACCESS_CLIENT_SECRET",
"password": true
}
],
"servers": {
"zapcore-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"zapcore-mcp"
],
"env": {
"ZAPCORE_TOKEN": "${input:zapcore-token}",
"ZAPCORE_URL": "${input:zapcore-url}",
"ZAPCORE_MCP_WRITE": "${input:zapcore-mcp-write}",
"ZAPCORE_MCP_ALLOW": "${input:zapcore-mcp-allow}",
"ZAPCORE_MCP_TIMEOUT_MS": "${input:zapcore-mcp-timeout-ms}",
"ZAPCORE_MCP_DOWNLOAD_DIR": "${input:zapcore-mcp-download-dir}",
"ZAPCORE_CF_ACCESS_CLIENT_ID": "${input:zapcore-cf-access-client-id}",
"ZAPCORE_CF_ACCESS_CLIENT_SECRET": "${input:zapcore-cf-access-client-secret}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs