@codespar/mcp-sendgrid 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
@@ -91,6 +91,10 @@ MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-sendgrid
91
91
 
92
92
  - [`@codespar/mcp-twilio`](../twilio) — SMS, WhatsApp, Voice, Verify, Lookup
93
93
 
94
+ ## Enterprise
95
+
96
+ 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.
97
+
94
98
  ## License
95
99
 
96
100
  MIT
package/dist/index.js CHANGED
@@ -92,7 +92,10 @@ function buildQuery(params) {
92
92
  const s = q.toString();
93
93
  return s ? `?${s}` : "";
94
94
  }
95
- const server = new Server({ name: "mcp-sendgrid", version: "0.2.1" }, { capabilities: { tools: {} } });
95
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
96
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
97
+ 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).";
98
+ const server = new Server({ name: "mcp-sendgrid", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
96
99
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
97
100
  tools: [
98
101
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codespar/mcp-sendgrid",
3
- "version": "0.2.1",
4
- "description": "MCP server for SendGrid \u2014 global transactional + marketing email (Twilio-owned). Pairs with @codespar/mcp-twilio for full messaging coverage.",
3
+ "version": "0.2.2",
4
+ "description": "MCP server for SendGrid global transactional + marketing email (Twilio-owned). Pairs with @codespar/mcp-twilio for full messaging coverage.",
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-sendgrid",
4
- "description": "MCP server for SendGrid — global transactional + marketing email (Twilio-owned). Pairs with @codespar/mcp-twilio for full messaging coverage.",
4
+ "description": "MCP server for SendGrid — global transactional + marketing email (Twilio-owned)",
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/sendgrid"
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-sendgrid",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -33,5 +33,14 @@
33
33
  }
34
34
  ]
35
35
  }
36
- ]
36
+ ],
37
+ "provider": {
38
+ "homepage": "https://www.sendgrid.com",
39
+ "logoUrl": "https://logo.clearbit.com/sendgrid.com",
40
+ "logoFallback": "https://www.google.com/s2/favicons?domain=sendgrid.com&sz=128",
41
+ "docsUrl": "https://docs.sendgrid.com",
42
+ "sandbox": {
43
+ "available": true
44
+ }
45
+ }
37
46
  }
package/src/index.ts CHANGED
@@ -104,9 +104,14 @@ function buildQuery(params: Record<string, unknown>): string {
104
104
  return s ? `?${s}` : "";
105
105
  }
106
106
 
107
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
108
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
109
+ const MANAGED_TIER_HINT =
110
+ "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).";
111
+
107
112
  const server = new Server(
108
113
  { name: "mcp-sendgrid", version: "0.2.1" },
109
- { capabilities: { tools: {} } }
114
+ { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
110
115
  );
111
116
 
112
117
  server.setRequestHandler(ListToolsRequestSchema, async () => ({