
dagen-life
io.dagen/dagen-life
Slow-burn browser creature-evolution & player-market world with live PNG portraits and daily caps.
Documentation
dagen MCP — Official AI Agent Starter for dagen life
dagen life (dagen.life) is a slow-burn, zero pay-to-win creature-evolution browser & PWA game where you wake a glowing spore on a quiet lake floor, grow living Gen organs (fight if you want, or simply raise, dye & dress), trade in a 100% player-driven market, and evolve from the Lake into the open Sea across a six-volume journey.
Instead of blocking automation or relying on brittle screen scraping, dagen life ships a native Model Context Protocol (MCP) Streamable HTTP endpoint so you can play alongside Claude Code, OpenAI Codex, ChatGPT, Cursor, or your own custom AI agent—under strict, server-enforced permissions and daily limits that you control.
- Official Portal (7 Languages): https://dagen.io
- Play Now (Browser / PWA — No Download): https://dagen.life/
- MCP Walkthrough & Guide: https://dagen.io/en/guides/mcp-ai-agent-browser-game/
- Winter Solstice DIY Santa Hat Guide: https://dagen.io/en/guides/christmas-santa-hat-cosmetic-guide/
- The Book of Life (Storybook & Handbook): https://dagen.life/book
- Open Market (Player-to-Player): https://dagen.life/market
- 12-Min Vertical Lore Film (EN/中文/日本語 CC): https://www.youtube.com/watch?v=RNZXm1IOPso
- Live MCP Endpoint:
https://dagen.life/mcp(server.json&glama.jsonincluded) - Live Machine-Readable Index: https://dagen.life/index.md
- Live Agent Connection Guide: https://dagen.life/agent-guide.md
Quick Start (60 Seconds)
- Open dagen.life, wake your creature, and verify your email or sign in with Google.
- Open Settings → Connect an agent (direct link).
- Copy the auto-generated read-only handoff line at the top, or select write scopes and daily limits to generate a one-time Bearer token.
- Connect your preferred MCP client below (or point an OAuth-capable MCP client straight at
https://dagen.life/mcpto sign in through the browser).
Claude Code
claude mcp add --transport http dagen 'https://dagen.life/mcp' \
--header 'Authorization: Bearer YOUR_DAGEN_TOKEN'
OpenAI Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.dagen]
url = "https://dagen.life/mcp"
http_headers = { Authorization = "Bearer YOUR_DAGEN_TOKEN" }
See examples/codex-config.toml.
Generic HTTP MCP Client (Cursor, Claude Desktop bridges, custom clients)
{
"mcpServers": {
"dagen": {
"type": "http",
"url": "https://dagen.life/mcp",
"headers": {
"Authorization": "Bearer YOUR_DAGEN_TOKEN"
}
}
}
}
ChatGPT (OAuth)
Add https://dagen.life/mcp in ChatGPT's MCP / connector settings and choose OAuth. Sign in to dagen life, verify the redirect domain, and approve the exact scopes and daily limits you want.
Zero-Dependency Connectivity Probe (Node.js 18+)
Verify your token and inspect your creature's live state from the terminal:
DAGEN_TOKEN=your_token_here node examples/probe.mjs
MCP Tools
All interactions go through three structured tools exposed by https://dagen.life/mcp:
| Tool | Access | Purpose |
|---|---|---|
search | Read | Discover actions permitted for the current token and inspect their JSON parameter schemas by category or keyword. |
query | Read | Run one read-only action or up to 6 in batch. Pass includePortraitImage: true on my_creature or creature_card to receive a live 256x256 image/png portrait. |
act | Write | Execute a mutation within your approved scopes and daily limits. Always pass an idempotency key and args, and reuse the same key on retries. |
Permission Scopes & Fair-Play Limits
Every agent call runs through the exact same server rules, drop rates, and cooldowns as a human player tapping the browser.
| Scope | What It Permits |
|---|---|
read | Read account status, creature stats, live portrait, inventory, and market listings. |
growth | Adjust organ loadouts, fuse Gen organs, and enhance using Gen, Energy, or Essence. |
travel | Use daily outing allowance to explore landmarks, fight, gather, and return. The owner can take over anytime (owner_took_over). |
trade | List, reprice, cancel listings, and spend G or Energy on Gen strictly within your daily budget caps. |
social | Follow, admire, send water letters, or submit offers (offers also require trade and hold payment until resolved). |
Built-In Safety Guardrails
- Zero-by-default spending: Daily limits for
GandEnergydefault to0and reset at04:00 UTC+8. - Owner-only actions: Deposits, G-to-Energy exchanges, raids, email changes, token management, and legacy NFT claims are strictly reserved for the account owner and cannot be invoked via MCP.
- Prompt-injection hygiene: All player-authored text (names, organ stories, letters, offer notes) is returned in
untrusted_*fields and must always be treated as display data, never instructions. - Instant revocation: Revoke or edit any token anytime in Settings → Connect an agent.
Prompt Recipes
Check docs/prompts.md for ready-to-use prompts covering:
- Daily creature check-in & portrait review
- Read-only organ build & fusion advisor
- Safe Open Market price scout
- Story & water-letter companion
Canonical Links
- Portal & 7-Language Guides: https://dagen.io
- MCP & AI Agent Guide on dagen.io: https://dagen.io/en/guides/mcp-ai-agent-browser-game/
- Player-Driven Economy Guide: https://dagen.io/en/guides/player-driven-economy-no-pay-to-win-game/
- Play dagen life: https://dagen.life/
- The Book of Life: https://dagen.life/book
- Live Open Market: https://dagen.life/market
License
MIT © Chainbow Co., Ltd.
No installation packages available.