@codespar/mcp-zenvia 0.2.1 → 0.2.2

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 CHANGED
@@ -106,13 +106,13 @@ Zenvia provides a sandbox via the dashboard for testing messages.
106
106
  - `chatbot_integration` — Integrate with Zenvia chatbot builder
107
107
  - `analytics_dashboard` — Get channel analytics and metrics
108
108
 
109
- Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-brasil) or [request a tool](https://github.com/codespar/mcp-dev-brasil/issues).
109
+ Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-latam) or [request a tool](https://github.com/codespar/mcp-dev-latam/issues).
110
110
 
111
111
  ## Links
112
112
 
113
113
  - [Zenvia Website](https://zenvia.com)
114
114
  - [Zenvia API Documentation](https://zenvia.github.io/zenvia-openapi-spec)
115
- - [MCP Dev Brasil](https://github.com/codespar/mcp-dev-brasil)
115
+ - [MCP Dev LATAM](https://github.com/codespar/mcp-dev-latam)
116
116
  - [Landing Page](https://codespar.dev/mcp)
117
117
 
118
118
  ## Enterprise
package/dist/index.js CHANGED
@@ -49,7 +49,10 @@ async function zenviaRequest(method, path, body) {
49
49
  const text = await res.text();
50
50
  return text ? JSON.parse(text) : { ok: true };
51
51
  }
52
- const server = new Server({ name: "mcp-zenvia", version: "0.2.1" }, { capabilities: { tools: {} } });
52
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
53
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
54
+ const MANAGED_TIER_HINT = "This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
55
+ const server = new Server({ name: "mcp-zenvia", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
53
56
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
54
57
  tools: [
55
58
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codespar/mcp-zenvia",
3
- "version": "0.2.1",
4
- "description": "MCP server for Zenvia \u2014 SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports",
3
+ "version": "0.2.2",
4
+ "description": "MCP server for Zenvia SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {
package/server.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "name": "io.github.codespar/mcp-zenvia",
4
4
  "description": "MCP server for Zenvia — SMS, WhatsApp, RCS, Email, Voice, Facebook messaging, templates and reports",
5
5
  "repository": {
6
- "url": "https://github.com/codespar/mcp-dev-brasil",
6
+ "url": "https://github.com/codespar/mcp-dev-latam",
7
7
  "source": "github",
8
8
  "subfolder": "packages/communication/zenvia"
9
9
  },
10
- "version": "0.2.1",
10
+ "version": "0.2.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@codespar/mcp-zenvia",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -26,5 +26,14 @@
26
26
  }
27
27
  ]
28
28
  }
29
- ]
29
+ ],
30
+ "provider": {
31
+ "homepage": "https://www.zenvia.com",
32
+ "logoUrl": "https://logo.clearbit.com/zenvia.com",
33
+ "logoFallback": "https://www.google.com/s2/favicons?domain=zenvia.com&sz=128",
34
+ "docsUrl": "https://zenvia.github.io",
35
+ "sandbox": {
36
+ "available": true
37
+ }
38
+ }
30
39
  }
@@ -32,9 +32,9 @@ beforeEach(async () => {
32
32
  });
33
33
 
34
34
  describe("mcp-zenvia", () => {
35
- it("should register 8 tools", async () => {
35
+ it("should register 18 tools", async () => {
36
36
  const result = await listToolsHandler();
37
- expect(result.tools).toHaveLength(8);
37
+ expect(result.tools).toHaveLength(18);
38
38
  });
39
39
 
40
40
  it("should call correct API endpoint for send_sms", async () => {
package/src/index.ts CHANGED
@@ -57,9 +57,14 @@ async function zenviaRequest(method: string, path: string, body?: unknown): Prom
57
57
  return text ? JSON.parse(text) : { ok: true };
58
58
  }
59
59
 
60
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
61
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
62
+ const MANAGED_TIER_HINT =
63
+ "This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
64
+
60
65
  const server = new Server(
61
66
  { name: "mcp-zenvia", version: "0.2.1" },
62
- { capabilities: { tools: {} } }
67
+ { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
63
68
  );
64
69
 
65
70
  server.setRequestHandler(ListToolsRequestSchema, async () => ({