SmartrMail MCP by usefulapi
Read subscriber lists and one subscriber; create lists and update subscribers in SmartrMail.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWsmartrmail_unsubscribe_subscriber에서
- LOWsmartrmail_resubscribe_subscriber에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"smartrmail": {
"url": "https://smartrmail.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://smartrmail.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢smartrmail_list_lists
List all subscriber lists in the account, with each list's id, name and subscriber count. Good first call to find a list_id. SmartrMail API: GET /lists.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢smartrmail_get_list(list_id)
Get one subscriber list by id: its name and subscriber count. SmartrMail API: GET /lists/{list_id}.
입력 스키마
{
"type": "object",
"properties": {
"list_id": {
"type": "string",
"minLength": 1,
"description": "The list id (from smartrmail_list_lists)."
}
},
"required": [
"list_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢smartrmail_get_subscriber(subscriber_id)
Get one subscriber by email address, phone number or UID: contact fields, subscribed state, unsubscribed_at, delivery, open and click counts, and custom fields. SmartrMail API: GET /subscribers/{id}.
입력 스키마
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴smartrmail_create_list(name)
Create a new subscriber list with a name. Each call creates a new list. SmartrMail API: POST /lists.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of the new list."
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_rename_list(list_id, name)
Change the name of one subscriber list. Repeating the same call leaves the list unchanged. SmartrMail API: PUT /lists/{list_id}.
입력 스키마
{
"type": "object",
"properties": {
"list_id": {
"type": "string",
"minLength": 1,
"description": "The list id (from smartrmail_list_lists)."
},
"name": {
"type": "string",
"minLength": 1,
"description": "The new name for the list."
}
},
"required": [
"list_id",
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_update_subscriber(subscriber_id, first_name, last_name, phone, subscribed, ...)
Update a subscriber's name, phone, subscribed flag or custom fields. Only the fields you pass change. Custom fields are matched by field_name. Repeating the same call leaves the subscriber unchanged. SmartrMail API: PUT /subscribers/{id}.
입력 스키마
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
},
"first_name": {
"description": "New first name.",
"type": "string"
},
"last_name": {
"description": "New last name.",
"type": "string"
},
"phone": {
"description": "New phone number.",
"type": "string"
},
"subscribed": {
"description": "Set false to mark as unsubscribed, true to mark as subscribed.",
"type": "boolean"
},
"custom_fields": {
"description": "Custom fields to set or update.",
"type": "array",
"items": {
"type": "object",
"properties": {
"field_name": {
"type": "string",
"minLength": 1,
"description": "Custom field name, for example \"City\"."
},
"value": {
"description": "Field value. Use YYYY-MM-DD for date and birthday types.",
"type": [
"string",
"number"
]
},
"value_type": {
"type": "string",
"enum": [
"text",
"number",
"date",
"birthday"
],
"description": "Field type."
}
},
"required": [
"field_name",
"value",
"value_type"
]
}
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_unsubscribe_subscriber(subscriber_id)
Unsubscribe a subscriber so they receive no more campaigns. Changes only the subscription status; custom field data stays. SmartrMail API: POST /subscribers/{id}/unsubscribe.
입력 스키마
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡smartrmail_resubscribe_subscriber(subscriber_id)
Mark a subscriber as subscribed again. Does not trigger list welcome automations. Custom field data stays. SmartrMail API: POST /subscribers/{id}/resubscribe.
입력 스키마
{
"type": "object",
"properties": {
"subscriber_id": {
"type": "string",
"minLength": 1,
"description": "The subscriber's email address, phone number, or UID (for example a phone number in E.164 form)."
}
},
"required": [
"subscriber_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거