Mailjet MCP by usefulapi
Read contacts, lists, campaigns and messages; add contacts and send email in Mailjet.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mailjet": {
"url": "https://mailjet.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://mailjet.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (11)
🟢mailjet_list_contact_lists(Limit, Offset)
List contact lists (audiences) with their subscriber counts. Good first call to find a list id. Mailjet API: GET /v3/REST/contactslist.
입력 스키마
{
"type": "object",
"properties": {
"Limit": {
"description": "Rows to return (Mailjet default 10).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"Offset": {
"description": "Rows to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_get_contact_list(list_id)
Get one contact list by id. Mailjet API: GET /v3/REST/contactslist/{id}.
입력 스키마
{
"type": "object",
"properties": {
"list_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Contact list id (from mailjet_list_contact_lists)."
}
},
"required": [
"list_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_list_contacts(Limit, Offset)
List contacts (email recipients) in the account. Mailjet API: GET /v3/REST/contact.
입력 스키마
{
"type": "object",
"properties": {
"Limit": {
"description": "Rows to return (Mailjet default 10).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"Offset": {
"description": "Rows to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_get_contact(contact)
Get one contact by numeric id or email address. Mailjet API: GET /v3/REST/contact/{id or email}.
입력 스키마
{
"type": "object",
"properties": {
"contact": {
"type": "string",
"minLength": 1,
"description": "Contact id or email address."
}
},
"required": [
"contact"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴mailjet_create_contact(Email, Name, IsExcludedFromCampaigns)
Create a contact (an email recipient) in the account. It does not add the contact to a list. Mailjet API: POST /v3/REST/contact.
입력 스키마
{
"type": "object",
"properties": {
"Email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address of the new contact."
},
"Name": {
"description": "Name of the contact.",
"type": "string"
},
"IsExcludedFromCampaigns": {
"description": "Exclude this contact from campaigns.",
"type": "boolean"
}
},
"required": [
"Email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴mailjet_add_contact_to_list(contact_id, list_id, action)
Add a contact to a contact list. 'addnoforce' does not re-subscribe a contact who unsubscribed; 'addforce' does. Mailjet API: POST /v3/REST/contact/{id}/managecontactslists.
입력 스키마
{
"type": "object",
"properties": {
"contact_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Numeric contact id (from mailjet_list_contacts or mailjet_get_contact)."
},
"list_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Contact list id to add the contact to."
},
"action": {
"description": "addnoforce (default), addforce, or remove.",
"type": "string",
"enum": [
"addnoforce",
"addforce",
"remove"
]
}
},
"required": [
"contact_id",
"list_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_list_campaigns(Limit, Offset)
List email campaigns with their status and send counts. Mailjet API: GET /v3/REST/campaign.
입력 스키마
{
"type": "object",
"properties": {
"Limit": {
"description": "Rows to return (Mailjet default 10).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"Offset": {
"description": "Rows to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_list_messages(Limit, Offset)
List messages sent through the account with their delivery status. Mailjet API: GET /v3/REST/message.
입력 스키마
{
"type": "object",
"properties": {
"Limit": {
"description": "Rows to return (Mailjet default 10).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"Offset": {
"description": "Rows to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_get_message(message_id)
Get one sent message by id, with its delivery details. Mailjet API: GET /v3/REST/message/{id}.
입력 스키마
{
"type": "object",
"properties": {
"message_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Message id (from mailjet_list_messages)."
}
},
"required": [
"message_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢mailjet_list_senders(Limit, Offset)
List sender addresses in the account with their validation status. Use one of these as the From address for mailjet_send_email. Mailjet API: GET /v3/REST/sender.
입력 스키마
{
"type": "object",
"properties": {
"Limit": {
"description": "Rows to return (Mailjet default 10).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"Offset": {
"description": "Rows to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴mailjet_send_email(from, to, subject, text_body, html_body, ...)
Send one transactional email now to the given recipients. This delivers real mail and cannot be undone. The From address must be a validated sender. Mailjet API: POST /v3.1/send.
입력 스키마
{
"type": "object",
"properties": {
"from": {
"type": "object",
"properties": {
"Email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address."
},
"Name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"Email"
],
"description": "From address. It must be a validated sender in the account."
},
"to": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"Email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address."
},
"Name": {
"description": "Display name.",
"type": "string"
}
},
"required": [
"Email"
]
},
"description": "Recipients."
},
"subject": {
"type": "string",
"minLength": 1,
"description": "Subject line."
},
"text_body": {
"description": "Plain-text body. Give this, the HTML body, or both.",
"type": "string"
},
"html_body": {
"description": "HTML body. Give this, the plain-text body, or both.",
"type": "string"
},
"custom_id": {
"description": "Your own id for this message, returned in the result.",
"type": "string"
}
},
"required": [
"from",
"to",
"subject"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거