التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
smspm-mcpclaude mcp add smspm-mcp-server -e 'SMSPM_HASH=<your smspm_hash>' -e 'SMSPM_TOKEN=<your smspm_token>' -- npx -y smspm-mcp@1.0.1
{
"mcpServers": {
"smspm-mcp-server": {
"command": "npx",
"args": [
"-y",
"smspm-mcp@1.0.1"
],
"env": {
"SMSPM_HASH": "<your smspm_hash>",
"SMSPM_TOKEN": "<your smspm_token>"
}
}
}
}
متغيرات البيئة
SMSPM_HASHإلزامي سري Your SMSPM API hash, found at https://app.smspm.com/app/apiSMSPM_TOKENإلزامي سري Your SMSPM API token, generated at https://app.smspm.com/app/api
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
MCP server for the SMSPM SMS API. Send transactional SMS from Claude Desktop, Cursor, Windsurf, Cline, or any MCP client. Get your API credentials at https://app.smspm.com/app/api.
SMSPM MCP Server
Send SMS messages from Claude Desktop (or any MCP client) using your SMSPM account.
Prerequisites
- Node.js 18+
- An SMSPM account with a Hash and API Token
Installation
Option A — Install from npm (once published)
npm install -g smspm-mcp
Option B — Install from source
git clone https://github.com/alesav/smspm-mcp.git
cd smspm-mcp
npm install
npm run build
Note the full path to the built file — you'll need it in the next step:
/path/to/smspm-mcp/dist/index.js
Configure Claude Desktop
Open your Claude Desktop config file:
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
Add the smspm entry inside mcpServers:
{
"mcpServers": {
"smspm": {
"command": "node",
"args": ["/path/to/smspm-mcp/dist/index.js"],
"env": {
"SMSPM_HASH": "your-hash-here",
"SMSPM_TOKEN": "your-api-token-here"
}
}
}
}
If installed via npm globally, replace the path with:
"npx"as command and["smspm-mcp"]as args.
Restart Claude Desktop after saving the config.
Getting your Hash and Token
- Log in to smspm.com
- Go to Settings → API
- Copy your Hash (looks like
e3dbe013-6f66-4fae-8ae2-96c364cb6b61) - Copy or generate your API Token
Usage
Once configured, just ask Claude:
"Send an SMS to +37256789045 saying Hello from Claude"
"Text +447911123456 — your order has shipped"
Claude will use the send_sms tool automatically.
Tool parameters
| Parameter | Required | Description |
|---|---|---|
toNumber | ✅ | Recipient phone in international format (e.g. 37256789045) |
text | ✅ | Message content |
fromNumber | ❌ | Sender name/number shown to recipient (default: smspm.com) |
Security
- Your
SMSPM_HASHandSMSPM_TOKENlive only in your local config file - They are never sent to Anthropic or Claude — only to
api.smspm.com - Never commit your config file to version control
License
MIT
الأسئلة الشائعة
ما هو SMSPM MCP Server؟
Send SMS via the SMSPM API from any MCP client.
كيف أثبّت SMSPM MCP Server؟
يعمل على جهازك. في Claude Code: claude mcp add smspm-mcp-server -e 'SMSPM_HASH=<your smspm_hash>' -e 'SMSPM_TOKEN=<your smspm_token>' -- npx -y smspm-mcp@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج SMSPM MCP Server إلى مفتاح API؟
نعم. يتطلب SMSPM_HASH, SMSPM_TOKEN، وتضبطها في إعداداته.
هل SMSPM MCP Server مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون SMSPM MCP Server؟
ينشره alesav. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.