virtualsms-mcp 1.0.7 → 1.0.8
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/LICENSE +1 -1
- package/README.md +3 -3
- package/package.json +5 -7
- package/smithery.yaml +26 -0
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -45,9 +45,9 @@ Use it to verify accounts on WhatsApp, Telegram, Google, Instagram, and 500+ oth
|
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
|
-
## Migrating from SMS-Activate
|
|
48
|
+
## Migrating from SMS-Activate?
|
|
49
49
|
|
|
50
|
-
If you're moving away from **SMS-Activate
|
|
50
|
+
If you're moving away from **SMS-Activate**, VirtualSMS is a straightforward alternative with comparable service coverage, competitive pricing, and a modern API built for programmatic use.
|
|
51
51
|
|
|
52
52
|
Just swap your API key and update the base URL — the concepts (buy number → wait for SMS → get code) are identical.
|
|
53
53
|
|
|
@@ -238,7 +238,7 @@ Rental tools (`rent_number`, `extend_rental`, `list_rentals`) are coming in v1.1
|
|
|
238
238
|
|
|
239
239
|
`wait_for_code` uses a two-tier delivery system:
|
|
240
240
|
|
|
241
|
-
1. **WebSocket (instant)** — connects to `wss://virtualsms.io/ws/orders?order_id=xxx` immediately after purchase. When the SMS arrives, the server pushes it in real-time. Typical delivery: 2–15 seconds.
|
|
241
|
+
1. **WebSocket (instant)** — connects to `wss://virtualsms.io/ws/orders?order_id=xxx&api_key=your_key` immediately after purchase. When the SMS arrives, the server pushes it in real-time. Typical delivery: 2–15 seconds.
|
|
242
242
|
|
|
243
243
|
2. **Polling fallback** — if WebSocket fails to connect or disconnects, automatically falls back to polling `GET /api/v1/order/{id}` every 5 seconds.
|
|
244
244
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virtualsms-mcp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server for VirtualSMS — receive SMS verification codes with AI agents. Virtual phone numbers and number rentals for WhatsApp, Telegram, Google & 200+ services. SMS-Activate
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "MCP server for VirtualSMS — receive SMS verification codes with AI agents. Virtual phone numbers and number rentals for WhatsApp, Telegram, Google & 200+ services. SMS-Activate alternative.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"virtualsms-mcp": "dist/index.js"
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"ai-agent",
|
|
27
27
|
"claude",
|
|
28
28
|
"cursor",
|
|
29
|
-
"daisysms-alternative",
|
|
30
29
|
"temporary-phone-number",
|
|
31
30
|
"whatsapp-verification",
|
|
32
31
|
"telegram-verification",
|
|
@@ -52,19 +51,18 @@
|
|
|
52
51
|
"files": [
|
|
53
52
|
"dist/**/*",
|
|
54
53
|
"README.md",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"LICENSE"
|
|
54
|
+
"LICENSE",
|
|
55
|
+
"smithery.yaml"
|
|
58
56
|
],
|
|
59
57
|
"dependencies": {
|
|
60
58
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
61
|
-
"@types/ws": "^8.18.1",
|
|
62
59
|
"axios": "^1.7.0",
|
|
63
60
|
"ws": "^8.18.0",
|
|
64
61
|
"zod": "^3.23.0"
|
|
65
62
|
},
|
|
66
63
|
"devDependencies": {
|
|
67
64
|
"@types/node": "^22.0.0",
|
|
65
|
+
"@types/ws": "^8.18.1",
|
|
68
66
|
"typescript": "^5.5.0"
|
|
69
67
|
}
|
|
70
68
|
}
|
package/smithery.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
|
|
2
|
+
|
|
3
|
+
startCommand:
|
|
4
|
+
type: stdio
|
|
5
|
+
configSchema:
|
|
6
|
+
# JSON Schema defining the configuration options for the MCP server.
|
|
7
|
+
type: object
|
|
8
|
+
required:
|
|
9
|
+
- virtualsmsApiKey
|
|
10
|
+
properties:
|
|
11
|
+
virtualsmsApiKey:
|
|
12
|
+
type: string
|
|
13
|
+
description: Your VirtualSMS API key. Get one at https://virtualsms.io
|
|
14
|
+
virtualsmsBaseUrl:
|
|
15
|
+
type: string
|
|
16
|
+
description: "API base URL (optional, default: https://virtualsms.io)"
|
|
17
|
+
default: "https://virtualsms.io"
|
|
18
|
+
commandFunction: |
|
|
19
|
+
(config) => ({
|
|
20
|
+
command: "npx",
|
|
21
|
+
args: ["virtualsms-mcp"],
|
|
22
|
+
env: {
|
|
23
|
+
VIRTUALSMS_API_KEY: config.virtualsmsApiKey,
|
|
24
|
+
...(config.virtualsmsBaseUrl ? { VIRTUALSMS_BASE_URL: config.virtualsmsBaseUrl } : {})
|
|
25
|
+
}
|
|
26
|
+
})
|