Deerdawn

com.deerdawn由 deerdawn.com 发布官方发布者v1.0.53更新于 Oct 24, 2026

AI session memory: the brief your AI reads before every session so no session starts cold.

已验证Streamable HTTP可网页运行效率与工作流知识与记忆开发者工具

概览

AI 生成的概览

DeerDawn 是一个托管的 AI 会话记忆服务,在每次会话开始时向助手提供按项目整理的任务、决策与阻塞事项简报。

可以做什么
  • 启动与定位会话:start_session 返回当前项目简报及其他项目概览,get_workspace_overview 与 get_next_best_context 提供整体定位和下一步建议。
  • 读取与更新项目上下文:按分区读取 get_context,用 update_context 记录决策、任务变化和阻塞,search_context 跨项目搜索,list_projects 与 create_project 管理项目。
  • 导入与收尾:import_local_context 先预览再导入 CLAUDE.md、AGENTS.md 或 .cursorrules,cleanup_context 在交接时标记任务完成。
  • 记录持久工作区知识:upsert_workspace_entities、record_hot_paths、record_debug_finding、get_project_map 与 find_known_paths。
  • 检查登录状态:未认证时 get_auth_status 返回浏览器登录链接。
适用场景
适合在多个 AI 会话或多个编程助手之间反复处理同一批项目,希望新会话一开始就掌握背景而不是从零开始的人。对需要自动延续决策、阻塞事项和已知文件路径的开发者尤其有用。
运行要求
可使用托管远程端点并通过浏览器 OAuth 登录,或使用 npx 运行本地 npm 包(需要 Node.js)。默认无需 API 密钥;DEERDAWN_API_KEY(DeerDawn 应用生成的 dd_ 密钥)仅用于 CI 或无头环境的非交互认证。DEERDAWN_API_URL 与 DEERDAWN_SURFACE_ID 为可选项。需要 DeerDawn 账号和网络访问。
安装前请注意
项目上下文、决策、文件路径和调试记录会存储在 DeerDawn 的托管服务上,相当于把与代码库相关的信息发送给第三方。本地安装会向仓库写入 .deerdawn-context.md 和 .cursorrules,并安装自动捕获上下文的会话钩子。凭据保存在 ~/.deerdawn 下;DEERDAWN_API_KEY 可访问你的工作区,不应放入共享配置。相关工具会写入和更新已存储的上下文。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Deerdawn,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.deerdawn%2Fdeerdawn/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "deerdawn": {
      "type": "http",
      "url": "https://api.deerdawn.com/mcp"
    }
  }
}

README

DeerDawn MCP Server

Never start cold. Every new AI session opens already briefed on your project.

DeerDawn is AI session memory — your AI's chief of staff — for Claude Code, Claude.ai, Claude Desktop, ChatGPT, Cursor, Windsurf, VS Code, Zed, Codex, and any other MCP-compatible agent. Start a session anywhere and start_session hands the agent the brief: what you were working on, what was decided, and what's blocking — so no session starts cold.

About this repository. DeerDawn is a hosted service. This repo holds the public install guide, the server.json manifest published to the MCP registry, and a Dockerfile that launches the published npm package. The server itself ships from npm as @deerdawn/mcp-server; its source is not open. Issues and questions are welcome here.

Quick start — hosted server (recommended, no install)

Connect to the hosted MCP endpoint. No API key needed — you sign in with your browser the first time a DeerDawn tool is called.

Claude Code

bash
claude mcp add -s user --transport http deerdawn https://api.deerdawn.com/api/v1/mcp

Every other tool — add a remote MCP server (sometimes called a connector) with this URL:

https://api.deerdawn.com/api/v1/mcp
ToolWhere
Claude.aiSettings → Connectors → Add custom connector
ChatGPT.comSettings → Connectors → Add MCP server (choose OAuth)
CursorSettings → MCP → Add server, or add a "url" entry in .cursor/mcp.json
VS Code / CopilotCommand palette → MCP: Add Server → HTTP → paste the URL
Windsurf, Gemini, othersAdd a custom remote / HTTP MCP server with the URL

Leave any OAuth client fields blank. Click Connect (or restart the tool) and sign in when the DeerDawn tab opens. If your tool connects without prompting for sign-in, the first DeerDawn tool call returns the sign-in URL — open it, sign in once, and retry the call; setup completes automatically.

Then say: "Start a DeerDawn session."

The hosted server exposes 18 core session-memory tools. For repo-file writes, automatic capture hooks, and the full 35-tool set, use the local install below.


Local install (stdio) — optional upgrade

Run the server on your machine via npx -y @deerdawn/mcp-server@latest when you want deeper integration:

  • Writes .deerdawn-context.md / .cursorrules into your repo so context loads with no tool call.
  • Installs SessionStart / Stop hooks that capture and flush context automatically.
  • Exposes the full set of 35 tools (the hosted server exposes 18 core ones).

Sign-in works the same way — browser OAuth by default, no API key required. On first run without credentials, the server starts a device-flow sign-in: the URL is printed to stderr, saved to ~/.deerdawn/pending-auth.json, and returned in-band by the get_auth_status tool (use that in GUI hosts where stderr isn't visible). After you approve in the browser, credentials are saved to ~/.deerdawn/credentials.json and every future session is authenticated.

Prefer non-interactive auth (CI, headless, SSH)? Create a key at app.deerdawn.com → Settings → API Keys (it starts with dd_) and set DEERDAWN_API_KEY in the config's env block — browser sign-in is then skipped entirely.

Claude Code (CLI)

Run the setup command — it registers the server, signs you in, and configures hooks in one step:

bash
npx -y @deerdawn/mcp-server@latest setup

Or register manually (user scope so it works across all projects):

bash
claude mcp add -s user deerdawn -e DEERDAWN_API_URL=https://api.deerdawn.com -e DEERDAWN_SURFACE_ID=claude_code -- npx -y @deerdawn/mcp-server@latest

Restart Claude Code after registering. If you haven't signed in yet, call get_auth_status — it returns the browser URL to complete sign-in.


Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "deerdawn": {      "command": "npx",      "args": ["-y", "@deerdawn/mcp-server@latest"],      "env": {        "DEERDAWN_API_URL": "https://api.deerdawn.com"      }    }  }}

Cursor

~/.cursor/mcp.json (same path on macOS, Linux, and Windows):

json
{  "mcpServers": {    "deerdawn": {      "command": "npx",      "args": ["-y", "@deerdawn/mcp-server@latest"],      "env": {        "DEERDAWN_API_URL": "https://api.deerdawn.com"      }    }  }}

Windsurf

macOS: ~/.codeium/windsurf/mcp_config.json Windows: %APPDATA%\Codeium\windsurf\mcp_config.json

json
{  "mcpServers": {    "deerdawn": {      "command": "npx",      "args": ["-y", "@deerdawn/mcp-server@latest"],      "env": {        "DEERDAWN_API_URL": "https://api.deerdawn.com"      }    }  }}

VS Code (GitHub Copilot / Continue)

Add to .vscode/settings.json or user settings.json:

json
{  "mcp": {    "servers": {      "deerdawn": {        "command": "npx",        "args": ["-y", "@deerdawn/mcp-server@latest"],        "env": {          "DEERDAWN_API_URL": "https://api.deerdawn.com"        }      }    }  }}

For Continue (~/.continue/config.json):

json
{  "mcpServers": [    {      "name": "deerdawn",      "command": "npx",      "args": ["-y", "@deerdawn/mcp-server@latest"],      "env": {        "DEERDAWN_API_URL": "https://api.deerdawn.com"      }    }  ]}

Zed

Add to ~/.config/zed/settings.json:

json
{  "context_servers": {    "deerdawn": {      "command": {        "path": "npx",        "args": ["-y", "@deerdawn/mcp-server@latest"],        "env": {          "DEERDAWN_API_URL": "https://api.deerdawn.com"        }      }    }  }}

Codex (OpenAI)

Add to ~/.codex/config.toml:

toml
[mcp_servers.deerdawn]command = "npx"args = ["-y", "@deerdawn/mcp-server@latest"]startup_timeout_sec = 120
[mcp_servers.deerdawn.env]DEERDAWN_API_URL = "https://api.deerdawn.com"

To skip browser sign-in in any of these configs, add "DEERDAWN_API_KEY": "dd_your_key_here" to the env block (Codex TOML: DEERDAWN_API_KEY = "dd_your_key_here" under [mcp_servers.deerdawn.env]).


Host naming note

Some MCP hosts expose tools with a server prefix (for example deerdawn-get_auth_status) instead of bare names (get_auth_status). If a tool name is not found, retry with the deerdawn- prefixed variant.


Environment variables

All optional. With no env vars at all, the server starts and walks you through browser sign-in.

VariableRequiredDefaultDescription
DEERDAWN_API_URLNohttps://api.deerdawn.comAPI base URL. Only change for self-hosted or staging.
DEERDAWN_SURFACE_IDNoauto-detectedWhich tool this server runs in (claude_code, cursor, codex). Detected from the MCP client when unset; set it explicitly to pin session attribution.
DEERDAWN_API_KEYNo—API key (dd_...) for non-interactive auth (CI/headless). Default is browser OAuth sign-in. Get one at app.deerdawn.com → Settings → API Keys.

Session memory tools

The local server exposes 35 tools (the hosted remote exposes 18 core ones). These are the ones to reach for in every session.

start_session

Call this at the start of every session. Returns the active project context for the current directory plus a compact map of all other projects — one API call, ~100–180 tokens total. Do not call list_context_map + get_context separately; this replaces both.

update_context

Push a context update. Call this whenever: a decision is made, the current task changes, a blocker is found, or meaningful progress happens. Don't wait until the end of the session — updates are cheap and keep the brief every new session reads current.

project_id: "proj-abc123"summary: "Switched auth from JWT to session tokens — JWT had XSS risk via localStorage. Now using Redis-backed sessions."

get_context

Get project context by section. Defaults to [task, status] (~30 tokens). Pass sections=["all"] for everything.

project_id: "proj-abc123"sections: ["task", "decisions", "blocking"]

import_local_context

Import context from CLAUDE.md, AGENTS.md, or .cursorrules in the current directory. Call without confirmed: true first — it shows a free preview of what would be imported. Then call again with confirmed: true to commit.

complete_setup

One-call setup fallback for brittle hosts: checks auth status, applies local setup for a surface, and runs import_local_context preview + confirmation if local files are found.

Example:

complete_setup{  "surface": "cursor"}

cleanup_context

Clean up task state at handoff or finish time. Use this to mark the active task complete and clear open-task command history so the next agent sees clean state.

When the task is clearly done and there are no unresolved questions, call this automatically with complete_task=true (no extra confirmation loop).

cleanup_context{  "complete_task": true}

search_context

Search across all projects. Examples: "decisions about authentication", "projects using PostgreSQL", "what's blocking the billing work".

list_projects

List all projects with IDs and last-updated timestamps. Use this when you explicitly need a project index. For normal startup, prefer start_session.

create_project

Create a new project when starting something that has no existing project entry.


Workspace knowledge tools

get_workspace_overview

Use mode=startup at the start of a session for a compact orientation brief. Use mode=overview when the user asks "what am I working on?" or wants a broader picture.

get_workspace_entities

Drill into typed workspace knowledge: decisions, tools, environments, capabilities. Filter by types, query, status, or project_id.

get_project_map

Return durable file-level project memory: hot paths, entrypoints, named surfaces, and debugging notes. Use this before repo-wide search when the path may already be known.

find_known_paths

Search DeerDawn’s durable path memory for queries like "auth modal" or "signup route" before using repo search.

get_next_best_context

Get ranked suggestions for what context to fetch next, given the current tool and working directory.

upsert_workspace_entities

Create or update durable workspace knowledge — tools, environments, architectural decisions, or capabilities that apply across multiple projects.

record_hot_paths

Write discovered file or folder paths back into DeerDawn so future sessions can orient without re-discovering them.

record_debug_finding

Store concise durable debugging findings, optionally tied to specific paths.


How it works

A fresh AI session knows nothing about your project — it would start cold. DeerDawn hands it the brief instead.

You work in Claude Code, Cursor, or ChatGPT  → DeerDawn captures the session (via MCP, browser extension, or desktop app)  → Extraction pipeline distills what changed (task, decisions, blockers, stack) into the brief  → The brief is stored per-project in your workspace and kept current  → Next session would start cold — instead start_session hands it the brief in one call  → Every new session opens already briefed, never from a blank slate

The brief is stored per-project. Critical decisions are flagged and always surface first, regardless of token budget. If sections are trimmed, you'll see exactly what was dropped and how to retrieve it.


Verify installation

After saving your config and restarting the agent, call start_session first:

start_session

If it returns your active project context, DeerDawn is already connected — you're done, skip the rest. (If you connected through the hosted remote / claude.ai connector rather than the local server, this is the normal path: apply_setup and import_local_context won't exist on that build and aren't needed — context loads automatically.)

If start_session reports you're not authenticated, complete sign-in and seed context:

get_auth_statusimport_local_contextimport_local_context {"confirmed":true}start_sessioncleanup_context {"complete_task":true}

If your host prefixes tool names, use deerdawn-get_auth_status and deerdawn-import_local_context instead.

If your host is flaky during setup, run complete_setup {"surface":"claude_code"} as a one-call fallback — it checks auth, applies surface setup automatically, and imports local context in a single call. apply_setup is called internally and does not need to be run manually.

You should get back your active project context (or a prompt to import local context if it's a new workspace). If you get an error instead:

  • Call get_auth_status and finish browser sign-in via the returned URL (if you set DEERDAWN_API_KEY instead, confirm it starts with dd_)
  • Fully restart the agent (not just reload)
  • Check MCP logs: ~/Library/Logs/Claude/mcp*.log (Claude Desktop) or equivalent

Troubleshooting

DeerDawn tools don't appear in your agent The server itself starts with zero env vars — a missing API key never prevents startup. If no DeerDawn tools show up:

  1. Fully restart your editor after saving the config (not just reload)
  2. Check MCP logs:
    • Claude Desktop: ~/Library/Logs/Claude/mcp*.log
    • Cursor: View → Output → MCP
    • Windsurf: Help → Toggle Developer Tools → Console
    • VS Code: Output panel → MCP
    • Zed: Help → Toggle Dev Tools → Console

Authentication error / not signed in Call get_auth_status — it returns a browser sign-in URL. Open it, approve, then retry the tool call; setup completes automatically. If you set DEERDAWN_API_KEY, it must start with dd_.

Sign-in reports a rate limit (HTTP 429) This happens after several quick restarts during setup. Wait a minute before retrying — re-running setup immediately will keep hitting the limit.

start_session returns no projects Call import_local_context (without confirmed: true first) to seed context from a CLAUDE.md or AGENTS.md in your current directory.

Slow responses The extraction pipeline runs on first import. Subsequent start_session calls are fast (cached context lookup, no LLM call unless something changed).


Development

bash
npm installnpm run build   # compile TypeScriptnpm run dev     # watch modenpm test        # run testsnpm run lint

License

MIT

来源:README.md,提交 71daa99

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

5
  1. v1.0.53最新Sep 21, 2026
  2. v1.0.52Sep 19, 2026
  3. v1.0.51Sep 18, 2026
  4. v1.0.50Sep 17, 2026
  5. v1.0.49Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分