Zero-Auth Sandbox
Validate payloads, Idempotency-Key handling, and async 202 jobs without touching live mailboxes.
- No credentials or API keys required
- Simulated AES-256-GCM & 2048-bit RSA DKIM
- Supports async job polling via /api/v1/jobs
Dual MCP Surfaces
Connect AI hosts to public documentation or authenticated encrypted mailbox tools over Streamable HTTP.
- Public Docs MCP at /api/docs/mcp
- Mail MCP at /api/mcp with SEP-1649 card
- Interactive MCP App view at ui://natrium/status-card.html
Scoped Keys & OAuth 2.0
Self-serve API keys and autonomous agent_auth registration with granular mail and safety scopes.
- Self-serve nak_live_ scoped keys in Settings
- OAuth 2.0 PKCE S256 & ID-JAG assertions
- RFC 9728 / RFC 8414 discovery metadata
1. Quickstart & Live Public Sandbox
Test payload validation, simulated AES-256-GCM envelope formatting, and Idempotency-Key handling without authentication or side effects using https://natrium.sh/api/v1/sandbox.
curl -sS -X POST https://natrium.sh/api/v1/sandbox \
-H "Content-Type: application/json" \
-H "Idempotency-Key: test-run-001" \
-d '{"action":"simulate_send","to":"alice@natrium.sh","subject":"Hello from Sandbox"}'2. Scoped API Keys & OAuth 2.0 Agent Auth
Generate self-serve nak_live_ API keys from Settings โ Developer API Keys inside your Natrium mailbox, or register an autonomous agent programmatically via OAuth 2.0 agent_auth and ID-JAG assertions. Full guide: /auth.md.
curl -sS https://natrium.sh/api/emails?folder=inbox \
-H "Authorization: Bearer nak_live_your_scoped_key"3. Model Context Protocol (Docs MCP + Mail MCP)
Connect AI coding assistants and agent hosts to either surface over Streamable HTTP:
- Public Docs MCP (no auth):
https://natrium.sh/api/docs/mcp(Server Card) - Product Mail MCP (OAuth 2.0 / API Key):
https://natrium.sh/api/mcp(Server Card)
{
"mcpServers": {
"natrium-docs": {
"url": "https://natrium.sh/api/docs/mcp",
"transport": "streamable-http"
},
"natrium-mail": {
"url": "https://natrium.sh/api/mcp",
"transport": "streamable-http"
}
}
}4. CLI & SDKs
Install the official natrium Linux CLI tool via the signed installer script or generate typed client SDKs from our OpenAPI 3.1 contract and reference source repository:
- CLI Guide & Installer: Natrium CLI Documentation (/docs/cli)
- SDK & OpenAPI Reference Registry: NatriumTechnologies/natrium-server ยท /openapi.json
curl -fsSL https://natrium.sh/install.sh | bash
natrium --check-update5. Specifications & Discovery Links
- OpenAPI 3.1 Specification (/openapi.json)
- ARD v0.91 Capability Catalog (/.well-known/ard.json)
- RFC 9727 API Catalog (/.well-known/api-catalog)
- NLWeb v0.55 Evidence Endpoint (/ask)
- Natrium MCP Server Documentation (/docs/mcp)
- Natrium API Sandbox (/sandbox)
- Sandbox Docs (/docs/sandbox)
- Natrium CLI & Installer (/docs/cli)
- NatriumTechnologies on GitHub
- LLMs Summary (/llms.txt) & /docs/llms.txt