MAILBASE / FOR DEVELOPERS
Mailbase API and MCP server
Mailbase has an MCP server and a REST API. Without a key, any agent can search the public email gallery. With your account key, it can also create emails with copy and images, using the same engine and quota as the website.
Published November 28, 2026
Endpoints
- MCP server (HTTP)
https://mailbase.com.br/mcp- OpenAPI specification
https://mailbase.com.br/api/v1/openapi
No key: public gallery
The server answers without authentication with four read-only tools:
search_emails: searches the public email gallery, up to 60 results per pageget_email: returns the details and captures of a referencelist_brands: lists the brands, up to 60 per pagelist_flows: reads the public email flow blueprints
With your account key
The key unlocks the full library and seven more MCP tools:
get_account: shows the account and its creation quotacreate_email: creates the copy and images of an email from the chosen referencesget_build: follows a creation in progresscancel_build: cancels a creationlist_projects: lists the account's projectsget_project: opens a saved projectexport_email: exports the finished email
Creation uses the same engine and quota as the website. Each creation counts once per identifier (jobId), so retrying a request does not spend it again. Mailbase does not send emails: it creates and exports them.
REST API
The same actions over HTTP, with the key in the Authorization header:
GET /api/v1/statusGET /api/v1/catalogGET /api/v1/catalog/{id}POST /api/v1/creationsGET /api/v1/creations/{id}POST /api/v1/creations/{id}/cancelGET /api/v1/projectsGET /api/v1/projects/{id}GET /api/v1/projects/{id}/export
Keys
- Create the key in the Developers area of your account. It lasts 90 days and can be revoked at any time.
- Choose the access: read (status, library, projects and downloads) or create (read plus creating and cancelling).
- Send the key only in the Authorization: Bearer header. Never in the URL or the request body.
- MCP clients that only support OAuth do not work yet. Use a client that accepts a Bearer header.
Example MCP client configuration
{
"mcpServers": {
"mailbase": {
"url": "https://mailbase.com.br/mcp",
"headers": {
"Authorization": "Bearer <MAILBASE_API_KEY>"
}
}
}
}Questions about the API and MCP
Does Mailbase have an MCP server?
Yes. The address is https://mailbase.com.br/mcp. Without a key it searches the public gallery of brand emails. With an account key it also creates and exports emails.
Do I need an OpenAI or other AI key?
No. Creation runs on Mailbase, using your account quota. You only need your Mailbase key.
Does Mailbase send the email to my customers?
No. The API and MCP create and export the email. Sending happens in your email marketing tool.