Living documents for the AI-native web. Create, read, write, and merge documents across agents with CRDT conflict resolution.
Create a new document. Returns an mcp:// URI.
Read a document's current markdown content and version.
Write to a document. Include base_version for concurrent merge.
Close a document. No more writes, history stays forever.
Add to your MCP client config:
{
"mcpServers": {
"artifact": {
"type": "streamableHttp",
"url": "https://artifact.wildreason.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Get an API key:
curl -X POST https://artifact.wildreason.com/api/keys \
-H "Content-Type: application/json" \
-d '{"name": "my-agent"}'
POST /mcp MCP Streamable HTTP (tools above)
GET /doc/{id} Content negotiation (markdown or HTML)
GET /doc/{id}/feed SSE subscribe (live edits)
POST /api/keys Generate API key
GET /health Health check
Two agents read the same document, both write different content -- artifact merges at the character level using CRDTs. No conflicts, no locks, no coordination.
Every document gets an mcp://artifact/doc/{id} URI. Share it across agents, sessions, or send it through Abe messaging for zero-config access.