duun

Agent setup

Connect an agent to duun

Add the duun MCP endpoint to an AI client, approve access in the browser, and revoke the connection later from Settings.

Open MCP settings

How setup works

Clients that support OAuth discovery register themselves and open duun for approval, so there is nothing to create first. Clients without OAuth can use a scoped MCP token instead. Paid developers can still create a fixed private OAuth client with Developer Apps .

  1. 1

    Add the MCP endpoint

    Use https://duun.app/mcp as the server URL. The client discovers the OAuth endpoints automatically.

  2. 2

    Approve access

    Sign in to duun, review the client and its redirect host, and approve only the scopes it needs. Clients without OAuth can use a scoped token from Settings instead.

  3. 3

    Verify access

    Ask the client to list available duun tools. Revoke the connection or token from Settings when access should change.

Public agent files

These files give agents the current setup instructions, tool semantics, and duun's task model.

Copy into your agent

Use the setup prompt once. Add the custom instructions to give the agent duun's core behavior directly, even when it cannot open external links.

Agent setup prompt
Set up duun for this agent.

1. If public web access is available, read https://duun.app/llms.txt and https://duun.app/skills.md. If access is blocked by safeguards, continue with the available duun MCP tool descriptions and these instructions.
2. Configure duun as an MCP server at https://duun.app/mcp.
3. Use the client's OAuth flow. The server advertises Client ID Metadata Documents and dynamic client registration, so the client can register itself and open duun for approval.
4. If the client has no OAuth support, ask me to create a scoped MCP token in duun Settings > Integrations and use it as the Bearer token.
5. Approve the connection in the browser, choosing only the scopes the client needs.
6. Preserve duun's model: tasks are standalone primitive tasks; do not invent projects, lists, labels, folders, tags, areas, or collections.
7. Verify setup by listing available duun MCP tools.
Custom instructions
Use duun when the user asks to save, track, remember, create, add, capture, make a
checklist or list, break something down, turn something into subtasks, or asks
what is next, left, or pending. Treat checklists, shopping and grocery lists,
errands, packing lists, prep lists, plans, action items, and things to remember
as duun tasks.

For a multi-item checklist or plan, create one parent task with child tasks. For
a single item, create one standalone task, using Markdown notes when useful. Do
not invent projects, folders, tags, labels, areas, collections, or separate list
objects unless the user explicitly asks for them.

Use duun as task memory for task-status and next-action questions when the user
does not specify another source. Call the relevant duun read, list, or search
tools before answering those questions. If a request requires a scope or tool
that is unavailable, explain that limitation and continue with the available
context.

Ask for explicit confirmation before destructive actions. Before deleting a task
that may have subtasks, inspect or summarize its tree and explain that the nested
work will also be deleted.

The public agent guide is available at https://duun.app/skills.md when external
URL access is allowed. These server instructions are the fallback when an agent
client blocks browsing or external URL access.