Built for the agent writing your code.
Give your agent one prompt: it reads the docs, gets a sandbox key and tests what it builds.
An agent's session
# A development key, approved in your browser.
npx coss-cli init --agents
# Tools for finding emails and explaining deliveries.
claude mcp add coss -e COSS_API_KEY=coss_test_… -- npx -y coss-mcp
# The Agent Skill, for Cursor, Codex and other agents.
npx skills add cosscom/cossAdd coss.com to this project
Your prompt, its steps
- Read coss.com/llms.txt
- npx coss-cli init --agentsYou approved a development key
- get_setupSandbox: any from address
- coss.email.send()
- email.deliveredSimulated: nothing left coss.com
Docs written to be fetched
A brief for agents at /llms.txt, and every docs page as Markdown at its URL plus .md.
Read the docscoss.com, as text
- /llms.txtA brief for agents, then every page
- /llms-full.txtEvery guide in one file
- /docs/email/sending.mdAny page, as Markdown
Tools that explain what happened
The MCP server searches the docs, finds emails and SMS, and says why one wasn't delivered.
Read the docsdiagnose_email
Did the welcome email to jane@example.com get delivered?
verdict
jane@example.combounced
Next steps come back with the verdict, written for the agent to act on.
Approve a development key
- Project
- acme-web
- Environment
- development, sandbox only
- Written to
- .env.local
A key without copy and paste
You approve it in your browser, and nothing is delivered until you switch to a production key yourself.
Read the docs{ data, error }
{
"data": null,
"error": {
"type": "invalid_request_error",
"code": "domain_not_verified",
"hint": "A live key can only send from a verified domain. A sandbox key accepts any from address. https://coss.com/docs/email/domains.md"
}
}Errors an agent can fix
Methods return results instead of throwing, and errors often carry a hint with the fix.
Read the docsQuestions
Give the agent one prompt. It tells the agent to read coss.com/llms.txt, get a development key with npx coss-cli init --agents, and build and test with it. You approve the key in your browser, and nothing the agent sends is delivered until you switch to a production key yourself.
Yes. coss-mcp runs locally through npx and gives agents tools to search the docs, find emails and SMS and explain why one wasn't delivered, send, manage suppressions, domains and webhooks, read logs, inboxes and received mail. The docs tools work without an API key.
Yes. coss.com/llms.txt opens with a short brief for agents and lists every docs page, and llms-full.txt has every guide in one file. Every docs page is also Markdown at its URL plus .md.
Yes. Install it with /plugin install coss --marketplace cosscom/coss. It adds a skill for building with coss.com and the MCP server. The same skill installs into Cursor, Codex and other agents with npx skills add cosscom/coss.
Yes. The development key coss-cli init writes works with every API and delivers nothing. Emails and SMS get simulated outcomes, events and webhooks, and coss listen forwards those webhooks to the agent's local handler.
Yes. Inboxes give an agent its own address, keep the mail it receives as threads and send its replies from the same address. The MCP server has tools to create inboxes, read threads and reply.
Works with
On the same key, SDK, webhooks and logs: nothing more to set up.
Hand it to your coding agent today.
Development keys record every request and event and deliver nothing.