Guide · MCP & AI Agents
A Native MCP Browser Game: Play dagen life Alongside Claude, Codex, or Your Own AI Agent
Instead of blocking automation or forcing brittle screen scraping, dagen life exposes an official Model Context Protocol (MCP) endpoint at https://dagen.life/mcp. You can connect Claude, OpenAI Codex, or any MCP client in under a minute—with strict permissions and daily limits you control.
- Live Streamable HTTP MCP server at https://dagen.life/mcp with OAuth or scoped Bearer tokens.
- Three structured tools: search (discover allowed actions), query (read state & 256x256 PNG portraits), and act (idempotent writes).
- Same server rules for everyone: agents obey your chosen scopes, daily caps, and fair game math.
How to Connect Your AI Agent in Three Steps
Start by verifying your email or signing in with Google inside dagen life, then open Settings -> Connect an agent. You can copy a read-only handoff line immediately, or select write scopes and daily outing caps before generating a one-time Bearer token.
OAuth-capable MCP clients can point straight to https://dagen.life/mcp and sign in through the browser without copying a manual secret. Every connected agent can read https://dagen.life/index.md and https://dagen.life/agent-guide.md for live rules and tool schemas.
- Claude Code: claude mcp add --transport http dagen 'https://dagen.life/mcp' --header 'Authorization: Bearer <token>'
- OpenAI Codex: add [mcp_servers.dagen] with url = "https://dagen.life/mcp" in ~/.codex/config.toml.
- Read-only first: inspect your creature's stats, inventory, lake progress, and live 256x256 PNG portrait before enabling write scopes.
- Revoke or adjust limits anytime inside Settings -> Connect an agent.
Designed for Human-Plus-Agent Play, Not Unfair Farming
Every MCP write call runs through the exact same server validation, cooldowns, and economy rules as a human player tapping the browser. Idempotency keys prevent duplicate actions on network retries, and all player-authored strings are marked as untrusted data to guard agents against prompt injection.
Connect Your First AI Companion
Open dagen.life, wake your spore, and plug in Claude or Codex via native MCP.
Questions You Might Have
What is the official MCP URL for dagen life?
Connect over Streamable HTTP to https://dagen.life/mcp. Full machine-readable instructions live at https://dagen.life/index.md and https://dagen.life/agent-guide.md.
Can I let Claude only look at my creature without spending Coin or trading?
Yes. You can issue a read-only token so your AI assistant can inspect your creature, render her 256x256 PNG portrait, and suggest builds without executing any write actions.
Do AI agents get an unfair advantage over human players?
No. Agents face the same server-enforced rules, cooldowns, and daily outing caps as everyone else—they are companions for busy players and developers, not cheats.