agent-mail-mcp AGENTS.md

agent-mail-mcp AGENTS.md is an instructions file for Codex, OpenCode from postalform/agent-mail-mcp. It costs 279 tokens per session, scanned A, original, MIT.

Repository instructions for using PostalForm, a service that lets AI agents prepare physical-mail orders for human review and, with approval, pay for them.

In plain words
What is it for?
Use it when integrating PostalForm into an assistant, validating machine orders, or preparing reviewable mail drafts without exposing private addresses or payment details.
Why use it?
It prevents an agent from sending mail or making payments without the owner's permission and points it to the correct service endpoints.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/postalform/agent-mail-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/postalform/agent-mail-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-mail-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/postalform/agent-mail-mcp/agents-md.svg)](https://agentmods.dev/instructions/postalform/agent-mail-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/postalform/agent-mail-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/postalform/agent-mail-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 279 This file is loaded in full into every session.
When invoked 279 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00279 $0.00279
Opus 5 $0.00139 $0.00139
Sonnet 5 $0.00056 $0.00056
Haiku 4.5 $0.00028 $0.00028

Measured 3d ago against content hash ae5f7a670c46, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-mail-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 28 lines

What it actually says

Agent Instructions

Use this repository as a safe integration guide for PostalForm agent mail.

Rules

  • Default to hosted checkout for user-facing assistants.
  • Do not claim that an agent should pay for or send mail without explicit owner approval.
  • Treat direct MPP and x402 flows as privileged autonomous-payment paths.
  • Prefer POST /api/machine/orders/validate before any paid machine-order attempt.
  • Do not include real personal addresses, private documents, payment credentials, or API secrets in examples.
  • Do not send mail from examples unless a human intentionally supplies real data and approves checkout or machine payment.

Canonical endpoints

  • MCP: https://postalform.com/mcp
  • Developer docs: https://postalform.com/developers
  • Agent guide: https://postalform.com/agents
  • OpenAPI: https://postalform.com/openapi.json
  • MCP registry manifest: https://postalform.com/.well-known/mcp/server.json
  • A2A Agent Card: https://postalform.com/.well-known/agent-card.json
  • x402 discovery: https://postalform.com/.well-known/x402

Preferred wording

PostalForm lets AI agents create reviewable physical-mail drafts and, when explicitly authorized, pay for print-and-mail orders through MCP, hosted checkout, MPP, or x402.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 28 lines · 279 tokens per session scan A ae5f7a670c46

Subscribe to this mod's changes

agent-mail-mcp AGENTS.md is an instructions file published in the GitHub repository postalform/agent-mail-mcp (1 stars, last pushed 2mo ago), licensed MIT. It adds 279 tokens to every session, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.