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"
}コミュニティ
エビデンス