Skip to main content
Glama
iletiMerkezi MCP Server

iletiMerkezi MCP Server

Official
by iletimerkezi

iletiMerkezi MCP 服务器

npm version License Node Glama score

iletiMerkezi SMS API 的模型上下文协议 (MCP) 服务器。它允许支持 MCP 的 LLM 客户端(Claude Code、Cursor、Codex CLI、Gemini CLI、VS Code+Cline、Claude Desktop 等)通过工具调用发送短信、查询发送报告以及管理发件人/黑名单。

iletiMerkezi 是一家土耳其的、拥有 BTK 许可的群发短信 / OTP / A2P 平台。工具形态(输入模式、描述、文档链接)源自官方端点文档构建的规范 API 清单,因此该服务器在设计上与实时 API 保持同步。

工具

工具

API 端点

说明

send_sms

POST /v1/send-sms/json

向一个或多个号码发送短信

cancel_order

POST /v1/cancel-order/json

在发送前取消预定的订单

get_report

POST /v1/get-report/json

单个订单的发送报告(摘要 + 每个收件人的状态)

get_reports

POST /v1/get-reports/json

日期范围内的订单摘要列表(最长 10 天)

get_balance

POST /v1/get-balance/json

账户余额(TL + 短信额度)

get_sender

POST /v1/get-sender/json

已批准的发件人(抬头)列表

get_blacklist

POST /v1/get-blacklist/json

被屏蔽的号码(分页)

add_blacklist

POST /v1/add-blacklist/json

屏蔽一个号码(幂等)

delete_blacklist

POST /v1/delete-blacklist/json

解除屏蔽一个号码

iys_register

POST /v1/consent/create/json

注册 İYS 同意记录(批量,最多 5000 条)

iys_check

POST /v1/consent/show/json

查询收件人的 İYS 同意状态

Related MCP server: sms-web2sms-mcp-server

安装

五个客户端共享相同的 JSON mcpServers 模式;Claude Code 和 Codex CLI 还提供了一行 CLI 命令。请在下方选择您的客户端。

客户端 → 配置文件

客户端

配置文件

格式

Claude Code

claude mcp add ... (CLI) · .mcp.json (项目) · ~/.claude.json (用户)

JSON mcpServers

Cursor

~/.cursor/mcp.json (全局) · .cursor/mcp.json (项目)

JSON mcpServers

Gemini CLI

~/.gemini/settings.json (全局) · .gemini/settings.json (项目)

JSON mcpServers

VS Code + Cline

cline_mcp_settings.json (Cline → MCP Servers → Configure)

JSON mcpServers

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS)

JSON mcpServers

Codex CLI

codex mcp add ... (CLI) · ~/.codex/config.toml

TOML [mcp_servers.X]

共享 JSON 配置(Claude Code、Cursor、Gemini CLI、VS Code+Cline、Claude Desktop)

将此块添加到相关的配置文件中:

{
  "mcpServers": {
    "iletimerkezi": {
      "command": "npx",
      "args": ["-y", "@iletimerkezi/mcp-server"],
      "env": {
        "ILETIMERKEZI_API_KEY": "your-api-key",
        "ILETIMERKEZI_API_HASH": "your-api-hash"
      }
    }
  }
}

完全退出并重新启动客户端。11 个工具将出现在 iletimerkezi 服务器下。

Claude Code — 单条命令

用户范围(适用于所有项目):

claude mcp add iletimerkezi -s user \
  -e ILETIMERKEZI_API_KEY=your-api-key \
  -e ILETIMERKEZI_API_HASH=your-api-hash \
  -- npx -y @iletimerkezi/mcp-server

关闭当前的 Claude Code 会话并启动一个新会话。工具将显示为 mcp__iletimerkezi__*。使用 claude mcp remove iletimerkezi -s user 移除。

Codex CLI — TOML 格式

通过 CLI:

codex mcp add iletimerkezi \
  --env ILETIMERKEZI_API_KEY=your-api-key \
  --env ILETIMERKEZI_API_HASH=your-api-hash \
  -- npx -y @iletimerkezi/mcp-server

或者直接编辑 ~/.codex/config.toml:

[mcp_servers.iletimerkezi]
command = "npx"
args = ["-y", "@iletimerkezi/mcp-server"]

[mcp_servers.iletimerkezi.env]
ILETIMERKEZI_API_KEY = "your-api-key"
ILETIMERKEZI_API_HASH = "your-api-hash"

验证

首次使用时,请尝试 get_balance 和 get_sender — 两者均为只读,不会消耗额度。

托管客户端(ChatGPT Apps、Gemini App、Claude Web Connectors)

这些客户端需要 远程 MCP (HTTPS 端点),且不会生成本地 npx 命令。目前此服务器仅以 stdio(本地)模式发布。托管支持已在路线图中。

凭据

这两个值均来自 panel.iletimerkezi.com → Settings → Security → API Access。请按原样复制它们 — 不要自行进行哈希处理;面板会提供预计算好的哈希值。

您还需要在 Settings → Security → Access Permissions 下启用 Allow API access,否则每次调用都会返回 401。这是最常见的入门陷阱;服务器的 401 错误消息会指向此开关。

有关完整的身份验证协议,请参阅 https://www.iletimerkezi.com/docs/api/authentication。

工具形态如何保持最新

启动时,服务器会按顺序尝试:

  1. 本地缓存:位于 ~/.cache/iletimerkezi-mcp/manifest.json,有效期为 24 小时。

  2. 实时获取:https://www.iletimerkezi.com/api/manifest.json(5 秒超时)。成功后,原子化刷新缓存。

  3. 构建时回退:随 npm 包发布的 (dist/manifest.fallback.json) — 即 npm publish 时刻的清单快照。

这意味着发布到清单的新端点或模式更改会在 24 小时内传播到正在运行的客户端,无需 npm update。此仓库中没有任何 手动编写的工具模式 — API 文档是唯一的真理来源。

您可以使用 ILETIMERKEZI_MANIFEST_URL 覆盖清单 URL,用于暂存/预览环境。

本地开发

npm install
npm run build
npm test

使用 shell 中的凭据针对实时 API 对服务器进行冒烟测试:

ILETIMERKEZI_API_KEY=... ILETIMERKEZI_API_HASH=... node dist/index.js

这通过 stdio 进行 MCP 通信。使用 MCP 客户端进行交互,或手动通过管道传输 JSON-RPC 握手以进行调试。

参考

许可证

MIT — 参见 LICENSE。

Available Tools

11 tools
add_blacklistA

The add-blacklist endpoint adds one phone number to your account's blacklist so it is skipped by send-sms. Idempotent: re-adding the same number returns 200 instead of an error. One number per request.

Reference: https://www.iletimerkezi.com/en/docs/api/add-blacklist

Inputs: blacklist (required).

cancel_orderA

The cancel-order endpoint cancels an order created via send-sms with a sendDateTime in the future, before it is dispatched to the carrier. Only orders that have not started sending can be cancelled; once the order enters the send pipeline, the cancel window has closed and the request returns 455.

Reference: https://www.iletimerkezi.com/en/docs/api/cancel-order

Inputs: order (required).

delete_blacklistA

The delete-blacklist endpoint removes a phone number from your account's blacklist. After removal, send-sms can deliver to that number again. One number per request; not idempotent, removing a number that is not on the list returns an error.

Reference: https://www.iletimerkezi.com/en/docs/api/delete-blacklist

Inputs: blacklist (required).

get_balanceA

The get-balance endpoint returns the TL balance remaining on your account and the number of standard SMS messages that balance can fund. It has no side effects and consumes no credits, making it the safest call for verifying authentication and checking remaining budget before a campaign.

Reference: https://www.iletimerkezi.com/en/docs/api/get-balance

Inputs: no named parameters.

get_blacklistA

The get-blacklist endpoint returns the list of phone numbers that you have blocked on your account. Numbers on this list are skipped during send-sms delivery. The call has no side effects and consumes no credits.

Reference: https://www.iletimerkezi.com/en/docs/api/get-blacklist

Inputs: blacklist.

get_reportA

The get-report endpoint returns the delivery report for an order created via send-sms. One response carries the overall order status, summary counters (total / delivered / undelivered / waiting), timestamps, sender, order price, and per-recipient delivery status. Large orders paginate via page + rowCount.

Reference: https://www.iletimerkezi.com/en/docs/api/get-report

Inputs: order (required).

get_reportsA

The get-reports endpoint returns the aggregate summary list of all SMS orders created within a given date range. For each order the response carries counters (total / delivered / undelivered / waiting), timestamps, and sender; per-recipient breakdown is not included. For recipient-level details, call get-report for the specific order. This endpoint backs the Reports > Bulk SMS History screen in the panel. Typical use cases: dashboards, periodic analytics, queries like "list orders from the last week".

Reference: https://www.iletimerkezi.com/en/docs/api/get-reports

Inputs: filter (required).

get_senderA

The get-sender endpoint returns the list of sender IDs (headers) registered and approved on your account. The order.sender field of send-sms only accepts values from this list; using anything else is rejected. The call has no side effects and consumes no credits.

Reference: https://www.iletimerkezi.com/en/docs/api/get-sender

Inputs: no named parameters.

iys_checkA

The iys-check endpoint returns the current İYS (İleti Yönetim Sistemi) consent status for a given recipient. Use it to verify a record submitted via iys-register has been processed, to check ONAY (consent) / RET (rejection) before a commercial send, or to produce audit reports. The call has no side effects and consumes no credits.

Reference: https://www.iletimerkezi.com/en/docs/api/iys-check

Inputs: consent (required).

iys_registerA

The iys-register endpoint creates İYS (İleti Yönetim Sistemi) consent records, the legally required Turkish national registry for commercial electronic messaging. Consents (or rejections) collected via web forms, signed contracts, call-center confirmations, etc. are submitted to iletiMerkezi through this endpoint and forwarded to the national İYS registry. Up to 5000 recipients per request. İYS registration is mandatory for any commercial SMS sent in Turkey. Without a valid consent record, the corresponding send-sms call with iys: "1" is rejected with code 468 / 469 / 470.

Reference: https://www.iletimerkezi.com/en/docs/api/iys-register

Inputs: consent (required).

send_smsA

The send-sms endpoint delivers an SMS to one or many mobile numbers in a single request. Each request is treated as an order; the response returns an orderId you can use to retrieve delivery reports or cancel scheduled orders. One order per request, one sender (header) per order.

Reference: https://www.iletimerkezi.com/en/docs/api/send-sms

Inputs: order (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool has a distinct, clearly defined purpose. Blacklist, order, and İYS operations each have separate tools for different actions (add/delete/get, cancel/report, check/register), with no overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case, such as add_blacklist, get_report, send_sms. No deviations or mixed conventions.

    Tool Count5/5

    11 tools is appropriate for the scope of an SMS API server, covering sending, blacklisting, reporting, balance, sender IDs, and İYS compliance. Neither too few nor too many.

    Completeness5/5

    The tool set covers the main operations: send SMS (CRUD on orders indirectly via cancel and reporting), blacklist management (add, delete, get), balance, sender info, and İYS consent (register and check). No obvious gaps for the advertised domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Ileti Merkezi SMS API (Turkey). Enables sending SMS, bulk SMS, checking delivery reports, and managing contacts and blacklists via API Key + Hash authentication.
      8
      22 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables sending SMS messages and checking delivery status and credit balance via the web2sms.ro Romanian SMS gateway.
      3
      MIT
    • A
      license
      B
      quality
      F
      maintenance
      Enables sending SMS, making calls, retrieving call recordings, managing phone numbers, and sending Viber messages through the MTS Exolve API.
      8
      64 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to send WhatsApp, Telegram, SMS, VK/OK, and MAX messages, files, and bulk mailings, and to manage delivery status, webhooks, and sub-accounts.
      4
      19
      778 npm
      18
      MIT