@codespar/mcp-whatsapp-cloud 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
@@ -109,6 +109,10 @@ npx @codespar/mcp-whatsapp-cloud
109
109
  MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-whatsapp-cloud
110
110
  ```
111
111
 
112
+ ## Enterprise
113
+
114
+ Need governance, budget limits, and audit trails for agent payments? [CodeSpar Enterprise](https://codespar.dev/enterprise) adds policy engine, payment routing, and compliance templates on top of these MCP servers.
115
+
112
116
  ## License
113
117
 
114
118
  MIT
package/dist/index.js CHANGED
@@ -97,7 +97,10 @@ async function whatsappRequest(method, path, body, opts = {}) {
97
97
  const text = await res.text();
98
98
  return text ? JSON.parse(text) : {};
99
99
  }
100
- const server = new Server({ name: "mcp-whatsapp-cloud", version: "0.2.1" }, { capabilities: { tools: {} } });
100
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
101
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
102
+ 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).";
103
+ const server = new Server({ name: "mcp-whatsapp-cloud", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
101
104
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
102
105
  tools: [
103
106
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codespar/mcp-whatsapp-cloud",
3
- "version": "0.2.1",
4
- "description": "MCP server for WhatsApp Cloud API (Meta direct) \u2014 official Graph API integration for messages, media, and templates",
3
+ "version": "0.2.2",
4
+ "description": "MCP server for WhatsApp Cloud API (Meta direct) official Graph API integration for messages, media, and templates",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {
package/server.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.codespar/mcp-whatsapp-cloud",
4
- "description": "MCP server for WhatsApp Cloud API (Meta direct) — official Graph API integration for messages, media, and templates",
4
+ "description": "MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API",
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/whatsapp-cloud"
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-whatsapp-cloud",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -47,5 +47,14 @@
47
47
  }
48
48
  ]
49
49
  }
50
- ]
50
+ ],
51
+ "provider": {
52
+ "homepage": "https://www.developers.facebook.com",
53
+ "logoUrl": "https://logo.clearbit.com/developers.facebook.com",
54
+ "logoFallback": "https://www.google.com/s2/favicons?domain=developers.facebook.com&sz=128",
55
+ "docsUrl": "https://developers.facebook.com/docs/whatsapp/cloud-api",
56
+ "sandbox": {
57
+ "available": true
58
+ }
59
+ }
51
60
  }
package/src/index.ts CHANGED
@@ -113,9 +113,14 @@ async function whatsappRequest(
113
113
  return text ? JSON.parse(text) : {};
114
114
  }
115
115
 
116
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
117
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
118
+ const MANAGED_TIER_HINT =
119
+ "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).";
120
+
116
121
  const server = new Server(
117
122
  { name: "mcp-whatsapp-cloud", version: "0.2.1" },
118
- { capabilities: { tools: {} } }
123
+ { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
119
124
  );
120
125
 
121
126
  server.setRequestHandler(ListToolsRequestSchema, async () => ({