mailbase

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 page
  • get_email: returns the details and captures of a reference
  • list_brands: lists the brands, up to 60 per page
  • list_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 quota
  • create_email: creates the copy and images of an email from the chosen references
  • get_build: follows a creation in progress
  • cancel_build: cancels a creation
  • list_projects: lists the account's projects
  • get_project: opens a saved project
  • export_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/status
  • GET /api/v1/catalog
  • GET /api/v1/catalog/{id}
  • POST /api/v1/creations
  • GET /api/v1/creations/{id}
  • POST /api/v1/creations/{id}/cancel
  • GET /api/v1/projects
  • GET /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>"
      }
    }
  }
}
Create my key ↗Requires a free Mailbase account.Back to Mailbase

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.