@codespar/mcp-twilio 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 +4 -0
- package/dist/index.js +4 -1
- package/package.json +2 -2
- package/server.json +13 -4
- package/src/index.ts +6 -1
package/README.md
CHANGED
|
@@ -81,6 +81,10 @@ npx @codespar/mcp-twilio
|
|
|
81
81
|
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-twilio
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
+
## Enterprise
|
|
85
|
+
|
|
86
|
+
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.
|
|
87
|
+
|
|
84
88
|
## License
|
|
85
89
|
|
|
86
90
|
MIT
|
package/dist/index.js
CHANGED
|
@@ -110,7 +110,10 @@ function buildQuery(params) {
|
|
|
110
110
|
const s = q.toString();
|
|
111
111
|
return s ? `?${s}` : "";
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
114
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
115
|
+
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).";
|
|
116
|
+
const server = new Server({ name: "mcp-twilio", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
114
117
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
115
118
|
tools: [
|
|
116
119
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-twilio",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "MCP server for Twilio
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "MCP server for Twilio — global SMS, WhatsApp, Voice, Verify, and Lookup across 180+ countries",
|
|
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-twilio",
|
|
4
4
|
"description": "MCP server for Twilio — global SMS, WhatsApp, Voice, Verify, and Lookup across 180+ countries",
|
|
5
5
|
"repository": {
|
|
6
|
-
"url": "https://github.com/codespar/mcp-dev-
|
|
6
|
+
"url": "https://github.com/codespar/mcp-dev-latam",
|
|
7
7
|
"source": "github",
|
|
8
8
|
"subfolder": "packages/communication/twilio"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.2.
|
|
10
|
+
"version": "0.2.2",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@codespar/mcp-twilio",
|
|
15
|
-
"version": "0.2.
|
|
15
|
+
"version": "0.2.2",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
|
@@ -40,5 +40,14 @@
|
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"provider": {
|
|
45
|
+
"homepage": "https://www.twilio.com",
|
|
46
|
+
"logoUrl": "https://logo.clearbit.com/twilio.com",
|
|
47
|
+
"logoFallback": "https://www.google.com/s2/favicons?domain=twilio.com&sz=128",
|
|
48
|
+
"docsUrl": "https://www.twilio.com/docs",
|
|
49
|
+
"sandbox": {
|
|
50
|
+
"available": true
|
|
51
|
+
}
|
|
52
|
+
}
|
|
44
53
|
}
|
package/src/index.ts
CHANGED
|
@@ -122,9 +122,14 @@ function buildQuery(params: Record<string, unknown>): string {
|
|
|
122
122
|
return s ? `?${s}` : "";
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
126
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
127
|
+
const MANAGED_TIER_HINT =
|
|
128
|
+
"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).";
|
|
129
|
+
|
|
125
130
|
const server = new Server(
|
|
126
131
|
{ name: "mcp-twilio", version: "0.2.1" },
|
|
127
|
-
{ capabilities: { tools: {} } }
|
|
132
|
+
{ capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
|
|
128
133
|
);
|
|
129
134
|
|
|
130
135
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|