Posta MCP Server
An MCP (Model Context Protocol) server that exposes the Posta email API as tools for AI assistants.
Setup
go build -o posta-mcp .
Configuration
The server requires two environment variables:
Usage
{
"mcpServers": {
"posta": {
"command": "/path/to/posta-mcp",
"env": {
"POSTA_BASE_URL": "https://posta.example.com",
"POSTA_API_KEY": "your-api-key"
}
}
}
}
You can also run it with go run during development:
{
"mcpServers": {
"posta": {
"command": "go",
"args": ["run", "/path/to/mcp-server"],
"env": {
"POSTA_BASE_URL": "https://posta.example.com",
"POSTA_API_KEY": "your-api-key"
}
}
}
}
Tools
send_email
Send a single email.
Parameters:
send_template_email
Send an email using a pre-defined template.
Parameters:
send_batch
Send batch emails to multiple recipients using a template.
Parameters:
get_email_status
Get the delivery status of a sent email.
Parameters:
Returns: status, error message (if any), retry count, timestamps.
retry_email
Retry sending a failed email. Only emails with status failed can be retried.
Parameters:
License
This project is licensed under the Apache License 2.0. See LICENSE for details.
Copyright
Copyright © 2026 Jonas Kaninda