# Goposta Mcp Server

> An MCP server that exposes the Posta email API as tools for AI assistants

- **Type:** MCP server
- **Install:** `agentstack add mcp-goposta-mcp-server`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [goposta](https://agentstack.voostack.com/s/goposta)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [goposta](https://github.com/goposta)
- **Source:** https://github.com/goposta/mcp-server

## Install

```sh
agentstack add mcp-goposta-mcp-server
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Posta MCP Server

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that exposes the Posta email API as tools for AI assistants.

## Setup

```bash
go build -o posta-mcp .
```

## Configuration

The server requires two environment variables:

| Variable | Description |
|---|---|
| `POSTA_BASE_URL` | Your Posta instance URL (e.g. `https://posta.example.com`) |
| `POSTA_API_KEY` | API key generated from your Posta workspace |

## Usage

```json
{
  "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:

```json
{
  "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:**

| Name | Type | Required | Description |
|---|---|---|---|
| `from` | string | yes | Sender email address |
| `to` | string[] | yes | Recipient email addresses |
| `subject` | string | yes | Email subject line |
| `html` | string | no | HTML body |
| `text` | string | no | Plain-text body |
| `headers` | object | no | Custom email headers |
| `list_unsubscribe_url` | string | no | List-Unsubscribe header URL |
| `list_unsubscribe_post` | boolean | no | Enable one-click unsubscribe |
| `send_at` | string | no | ISO 8601 datetime to schedule the email |

### send_template_email

Send an email using a pre-defined template.

**Parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `template_id` | number | no | Template numeric ID (preferred) |
| `template` | string | no | Template name (fallback) |
| `language` | string | no | Template language variant |
| `from` | string | no | Sender email address |
| `to` | string[] | yes | Recipient email addresses |
| `template_data` | object | no | Key-value data rendered into the template |

### send_batch

Send batch emails to multiple recipients using a template.

**Parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `template_id` | number | no | Template numeric ID (preferred) |
| `template` | string | no | Template name (fallback) |
| `language` | string | no | Default language for all recipients |
| `from` | string | no | Sender email address |
| `recipients` | array | yes | List of `{ email, language?, template_data? }` objects |

### get_email_status

Get the delivery status of a sent email.

**Parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `email_id` | string | yes | The email UUID |

**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:**

| Name | Type | Required | Description |
|---|---|---|---|
| `email_id` | string | yes | The email UUID to retry |

## License

This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.

---

## Copyright

Copyright © 2026 Jonas Kaninda

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [goposta](https://github.com/goposta)
- **Source:** [goposta/mcp-server](https://github.com/goposta/mcp-server)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-goposta-mcp-server
- Seller: https://agentstack.voostack.com/s/goposta
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
