Skip to main content

MCP Tool Reference

All tools authenticate using the X-API-Key header you provided in your MCP config. They communicate with the Zyntra API at https://api.zyntra.app. Get your key at app.zyntra.app under Settings → API Keys.

ToolRead-onlyDestructive
list_emailsYes
get_emailYes
get_last_emailYes
list_attachmentsYes
delete_emailYes

list_emails

List emails in a Zyntra mailbox with pagination.

Inputs:

ParameterTypeRequiredDescription
inboxstringYesFull inbox address, e.g. [email protected]
skipnumberNoEmails to skip (default: 0)
limitnumberNoEmails to return, max 100 (default: 20)

Output: JSON object with items array (email summaries) and total count.

Example prompt:

"List the last 5 emails in [email protected]"


get_email

Get the full content of a specific email including HTML body, plain text, headers, and attachment UUIDs.

Inputs:

ParameterTypeRequiredDescription
inboxstringYesFull inbox address
message_uuidstringYesUUID of the email

Output: Full EmailDetail object with subject, body, html, headers, attachments_uuid, etc.

Example prompt:

"Get the content of email 550e8400-e29b-41d4-a716-446655440000 in [email protected]"


delete_email

Delete an email from an inbox.

Inputs:

ParameterTypeRequiredDescription
inboxstringYesFull inbox address
message_uuidstringYesUUID of the email to delete

Output: { "message": "Email deleted" }

Example prompt:

"Delete all emails in [email protected] after the test passes"


get_last_email

Retrieve the most recently received email for an inbox. Uses Redis for fast lookup — ideal for polling in automation flows.

Inputs:

ParameterTypeRequiredDescription
emailstringYesFull inbox address

Output: EmailSummary object with uuid, subject, from_address, preview, received_at.

Example prompt:

"Get the last email in [email protected] and extract the verification code"


list_attachments

List all attachments for a specific email. Returns metadata for each attachment (filename, MIME type, ID) — use the attachment ID to download via the REST API directly.

Inputs:

ParameterTypeRequiredDescription
message_uuidstringYesUUID of the email

Output: Array of Attachment objects with id, filename, mime_type, uploaded_at.

Example prompt:

"List the attachments in email 550e8400-e29b-41d4-a716-446655440000"