# Atmark

Gives an agent its own name@atmark.ai address instead of your Gmail. Useful when the agent should receive alerts and write only to people you approve.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: atmark-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/atmark-ai/atmark-mcp
- Updated: 2026-10-13
- HTML: https://affpapa.org/en/nevibecode/mcp/atmark

## What it does

Atmark hands your agent a mailbox on the `atmark.ai` domain. Through MCP tools it reads incoming mail, replies, forwards and sends: `send_email`, `reply_email`, `list_inbox`, `read_email`, `get_thread`, `read_attachment`. Drafts, scheduled sends, labels and webhooks are there too. Since `tools/list` returns only what your token's scopes permit, start with `get_capabilities`.

Outbound mail can be narrowed to an approved set of recipients. A message to anyone else is refused with `recipient_not_allowlisted`. The agent may ask for a policy edit via `request_policy_change`, yet nothing takes effect until you confirm it in the console. Incoming messages arrive tagged as outside data, each with a `risk.level`; once a risky one has been read, writing to a new person waits for your approval. Send decisions and incoming-mail verdicts land in a public hash-chained log at `id.atmark.ai/log`, with an hourly signed checkpoint and a daily Bitcoin timestamp through OpenTimestamps. Only hashes go in, never message bodies.

Access is invite-only and needs an agent token. The token travels in a header alone, `Authorization: Bearer atk_agent_…`, and the console shows its value once. Keep it out of any config file that could be committed: the sample configs read it from the `ATMARK_AGENT_TOKEN` environment variable. The one endpoint is `https://api.atmark.ai/mcp`; an `Origin` header gets rejected with `403`, so calls go server to server.

## Requirements
- Remote server: `https://api.atmark.ai/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http atmark https://api.atmark.ai/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add atmark --url https://api.atmark.ai/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "atmark": {
            "url": "https://api.atmark.ai/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "atmark": {
            "type": "http",
            "url": "https://api.atmark.ai/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http atmark https://api.atmark.ai/mcp
```

## When to use it
- give an agent its own inbox without touching your personal mail
- cap the list of people the agent may write to
- summarize an incoming alert
- pull a sign-up code out of a message
- keep a signed record of every send decision

## Example prompts
- Call `get_capabilities` and show me my addresses and scopes
- Read the newest mail with `list_inbox` and summarize anything with a high `risk.level`
- Send a message to `ops@example.com` with `send_email` and tell me what the server returned

## Similar
- [what-an-email-reveals](https://affpapa.org/en/nevibecode/skills/what-an-email-reveals.md) — skill · 1800 installs
- [Agent Mail Gateway](https://affpapa.org/en/nevibecode/mcp/agent-mail-gateway.md) — MCP server · ★ 12
- [radmail-mcp](https://affpapa.org/en/nevibecode/mcp/radmail-mcp.md) — MCP server
- [Suspicious Email Analyzer](https://affpapa.org/en/nevibecode/skills/suspicious-email-analyzer.md) — skill · 4500 installs
- [security-patterns](https://affpapa.org/en/nevibecode/skills/eyadkelleh-security-patterns.md) — skill · 586 installs
- [smtp-penetration-testing](https://affpapa.org/en/nevibecode/skills/smtp-penetration-testing.md) — skill · 113 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
