Give your agent this prompt
Paste this into your agent:/agent-setup.md and runs the steps
itself - you do not run the commands.
What your agent will do
Following the setup file, the agent:- Detects which agent it is (Claude Code, Codex, Cursor, Windsurf, VS Code, or a generic
mcpServersconfig), so it uses the right commands and config paths. - Adds the Duraton docs MCP (
https://docs.duraton.ai/mcp) so it can search and fetch the documentation on demand. - Adds the Duraton product MCP (
https://mcp.duraton.dev) so it can drive your runs, events, and approvals. It defaults to the bare URL - your whole workspace, where the agent can switch between and create projects when you sign in - and can pin a single project with a single-project URL instead. - Installs Duraton’s agent rules by fetching
/agent-rules.mdand saving it to the agent’s rules file (for exampleCLAUDE.md,AGENTS.md, or.cursor/rules/), so it knows Duraton’s core concepts. - Authenticates - OAuth opens in your browser the first time a Duraton product tool is used, and you complete sign-in and the project pick there.
The setup file is instructions for an agent, but it is plain and readable - open
/agent-setup.md yourself to see exactly what your
agent will do before you run it.Guardrails
The setup file tells your agent to keep secrets out of the flow:- It will never ask you for, or store, a Duraton secret key. Secret keys (
dtn_live_...) are issued by you in the console under API Keys and set asDURATON_API_KEYonly when wiring a runner - never for MCP setup, which uses OAuth. - It grants the least privilege a task needs: read-only access to inspect runs, write access only to trigger events or control runs.
Point an assistant at the docs
The docs are published in a machine-readable form so an AI assistant can pull them in as context: anllms.txt index at /llms.txt, a full single-file dump at
/llms-full.txt, and clean markdown for every page (add
/content.md to a doc’s markdown path, e.g. /llms.mdx/docs/guides/quickstart/content.md).
Point a tool at llms.txt
Any tool that understandsllms.txt - Cursor’s @Docs, for example - can index the docs directly.
Give it this URL:
Connect over MCP
The docs run as a hosted MCP server over Streamable HTTP, so an assistant can search and fetch them on demand with nothing to install. It exposes two tools,list_doc_sources and fetch_docs, and is at:
- Claude Code
- Cursor
- VS Code
- Windsurf
- Config file
llms.txt.
mcpdoc runs via
uvx, so you need uv installed. The command
downloads mcpdoc on first run.- Claude Code
- Cursor
- VS Code
- Codex
- Windsurf
- Claude Desktop
See the AI examples running end to end in Examples.
Related
- MCP server - the full reference for connecting and the tool list.