Mailjet MCP by usefulapi
Read contacts, lists, campaigns and messages; add contacts and send email in Mailjet.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"mailjet": {
"url": "https://mailjet.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://mailjet.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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"
}Comunidad
Evidencia