Postfleet
v0.1.4Give an AI agent its own email address: send, reply, read, and wait for mail.
Values you need
| Variable | What it is | |
|---|---|---|
POSTFLEET_API_KEY | required secret | Your Postfleet API key (pf_...) from https://postfleet.ai |
POSTFLEET_API_URL | optional | API origin override for staging or self-hosted deployments Default: https://api.postfleet.ai |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add postfleet -e 'POSTFLEET_API_KEY=<POSTFLEET_API_KEY>' -- npx -y --package=@postfleet/mcp@0.1.4 postfleet-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"postfleet": {
"args": [
"-y",
"--package=@postfleet/mcp@0.1.4",
"postfleet-mcp"
],
"command": "npx",
"env": {
"POSTFLEET_API_KEY": "<POSTFLEET_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"postfleet": {
"args": [
"-y",
"--package=@postfleet/mcp@0.1.4",
"postfleet-mcp"
],
"command": "npx",
"env": {
"POSTFLEET_API_KEY": "<POSTFLEET_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "POSTFLEET_API_KEY",
"id": "postfleet-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"postfleet": {
"args": [
"-y",
"--package=@postfleet/mcp@0.1.4",
"postfleet-mcp"
],
"command": "npx",
"env": {
"POSTFLEET_API_KEY": "${input:postfleet-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.postfleet]
command = "npx"
args = ["-y", "--package=@postfleet/mcp@0.1.4", "postfleet-mcp"]
env = { "POSTFLEET_API_KEY" = "<POSTFLEET_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http postfleet https://api.postfleet.ai/api/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"postfleet": {
"args": [
"-y",
"mcp-remote",
"https://api.postfleet.ai/api/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"postfleet": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://api.postfleet.ai/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"postfleet": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://api.postfleet.ai/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.postfleet]
command = "npx"
args = ["-y", "mcp-remote", "https://api.postfleet.ai/api/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: POSTFLEET_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_mailboxes, create_mailbox, list_domains, create_domain, verify_domain, send_email, reply_email, list_inbox, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json