
Dear Claude
io.github.sns45由 GitHub 帳號 sns45 發布v1.2.0更新於 Oct 24, 2026
Spawn Claude Code instances from 6 platforms when 'Dear Claude' is mentioned.
發布方自己的服務:Claude Platform Docs
概覽
本機 MCP 伺服器,監看 GitHub、GitLab、Linear、Jira、Notion 與 Obsidian 中的「Dear Claude」提及,並啟動 Claude Code 實例執行任務。
- 可以做什麼
- 列出已設定的平台及其連線狀態
- 列出、檢視、讀取對話紀錄並終止已啟動的 Claude 實例,可依專案分組篩選
- 為某項任務啟動新的 Claude Code 實例,可指定儲存庫、分支與父實例
- 透過平台 webhook 與 Obsidian 筆記庫檔案監看接收觸發,並把結果回寫到原本的 issue、留言或筆記
- 提供本機 REST 介面,用於健康檢查、實例管理、啟動實例與 OAuth 設定
- 適用情境
- 適合在 issue、PR 留言、任務或筆記裡寫下「Dear Claude」就把寫程式或審查工作交出去,由本機 Claude Code 實例完成並原地回覆。也適合在多個分支上平行執行多個寫程式實例。
- 執行需求
- 透過 bunx 在本機執行,需要 Bun 執行環境,並要求 PATH 中有 Claude Code CLI。要接收外部 webhook 需安裝 Tailscale 並啟用 Funnel。各平台需各自憑證:GitHub App 或 GITHUB_ACCESS_TOKEN、Linear OAuth 或 LINEAR_ACCESS_TOKEN、JIRA_DOMAIN、JIRA_USER_EMAIL 與 JIRA_API_TOKEN、GITLAB_ACCESS_TOKEN、NOTION_ACCESS_TOKEN,或 OBSIDIAN_VAULT_PATH。可選 GIPHY_API_KEY。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Dear Claude,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Dear Claude - Just say Dear Claude]
Dear Claude
MCP server that triggers local Claude Code instances from external platforms.
Say "Dear Claude" in Linear, GitHub, Jira, GitLab, Notion, or Obsidian — and a Claude Code instance spins up to handle it.
Your notes become architecture. Your tasks become pull requests.
What is this?
Dear Claude is an MCP (Model Context Protocol) server that watches your project management tools for the phrase "Dear Claude". When detected, it spawns a local Claude Code instance that:
- Reads the issue/comment/note context
- Executes the requested task (code, review, create tasks, etc.)
- Posts results back to the originating platform
- Persists sessions for 7 days so you can have multi-turn conversations
No Anthropic API keys needed. Works with your existing Claude Code subscription. 100% local and private — your code never leaves your machine.
Supported Platforms
Cross-Platform Orchestration
Instances from any platform get API access to all configured platforms. This enables workflows like:
- Write a spec in Obsidian → "Dear Claude, create these tasks in Linear"
- Discuss on Linear → "Dear Claude, code this on GitHub"
- Review on GitHub → "Dear Claude, resolve the merge conflicts"
- Parallel coding → Claude spawns multiple instances, one per branch, using git worktrees
Quick Start
Install in one line
That's it. Start Claude Code and Dear Claude is ready.
Prerequisites
- Claude Code CLI installed (
claudecommand available) - Bun runtime (for
bunx) - Tailscale with Funnel enabled (for webhooks from external platforms)
Manual setup (alternative)
If you prefer manual configuration, add to ~/.claude.json under mcpServers:
Then start Claude Code:
The MCP server starts automatically, sets up Tailscale Funnel, and prints your public webhook URLs.
Platform Setup
Tailscale Funnel
Dear Claude uses Tailscale Funnel for stable public HTTPS URLs to receive webhooks. Setup is mostly automatic.
-
Install Tailscale:
-
Authenticate:
tailscale up -
Enable Funnel in the admin console: https://login.tailscale.com/admin/acls
- Add the
"funnel"capability to your ACL policy
- Add the
-
The server auto-configures Funnel on startup. Your public URL will be:
Tip: Run
tailscale serve status --jsonto verify your config. The health check auto-repairs the Funnel config every 10 seconds.
GitHub
Option A: GitHub App (recommended)
- Go to GitHub Settings → Developer settings → GitHub Apps → New GitHub App
- Set these fields:
- Homepage URL:
https://<your-hostname>.ts.net/dc - Callback URL:
https://<your-hostname>.ts.net/dc/oauth/callback/github - Webhook URL:
https://<your-hostname>.ts.net/dc/webhook/github - Webhook secret: generate a random string
- Homepage URL:
- Under Permissions:
- Repository: Issues (Read & Write), Pull Requests (Read & Write), Contents (Read & Write)
- Under Subscribe to events:
- Issue comments, Pull request review comments
- Copy credentials and set env vars:
- Install the app on your repos
- Complete OAuth: visit
https://<your-hostname>.ts.net/dc/setup/github
Option B: Personal Access Token (simpler, no webhooks)
- Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
- Create a token with scopes:
repo,write:discussion - Set:
GITHUB_ACCESS_TOKEN=ghp_...
Note: With a PAT alone you won't get webhook-triggered instances. You'd use the
spawn_instanceMCP tool or/api/spawnendpoint instead.
Linear
- Go to Linear Settings → API → OAuth Applications → New Application
- Set the callback URL:
https://<your-hostname>.ts.net/dc/oauth/callback/linear - Copy Client ID and Client Secret
- Enable the Webhooks toggle on the OAuth app
- Go to Linear Settings → API → Webhooks → New Webhook:
- URL:
https://<your-hostname>.ts.net/dc/webhook/linear - Copy the Signing Secret
- Enable events: Comments (create), Issues (create, update)
- URL:
- Set env vars:
- Complete OAuth: visit
https://<your-hostname>.ts.net/dc/setup/linear
After OAuth, only issues/comments from your authenticated Linear account trigger Claude.
Alternative: Use a Personal API Key (LINEAR_ACCESS_TOKEN=lin_api_...) from Linear Settings → Account → API.
Jira Cloud
- Create an API token at https://id.atlassian.com/manage-profile/security/api-tokens
- Set env vars:
- Create a webhook in Jira:
- Go to Jira Admin → System → Webhooks → Create webhook
- URL:
https://<your-hostname>.ts.net/dc/webhook/jira- If using
JIRA_WEBHOOK_SECRET, append it:?secret=YOUR_SECRET
- If using
- Select events:
issue_created,issue_updated,comment_created
- Save the webhook
Claude can create sub-tasks, transition issue status, and add comments via the Jira REST API v2.
GitLab
- Create a Personal Access Token at GitLab → Settings → Access Tokens
- Scopes:
api,read_repository,write_repository
- Scopes:
- Set env vars:
- Add a webhook to your project (or group):
- Go to Settings → Webhooks
- URL:
https://<your-hostname>.ts.net/dc/webhook/gitlab - Secret token: same as
GITLAB_WEBHOOK_SECRET - Trigger events: Comments, Issues events, Merge request events
- Save
For self-hosted GitLab, also set GITLAB_URL=https://your-gitlab-instance.com.
Notion
Option A: Internal Integration (simpler)
- Go to https://www.notion.so/my-integrations → New integration
- Give it a name, select your workspace
- Copy the Internal Integration Secret
- Set:
NOTION_ACCESS_TOKEN=ntn_... - Share pages/databases with the integration (click "..." on a page → Connections → Add your integration)
Option B: OAuth (public app)
- Create an OAuth integration at https://www.notion.so/my-integrations
- Set callback URL:
https://<your-hostname>.ts.net/dc/oauth/callback/notion - Set env vars:
- Complete OAuth: visit
https://<your-hostname>.ts.net/dc/setup/notion
Webhook setup
Notion doesn't have native webhooks yet. To trigger Claude from Notion:
- Use Notion's automation rules with a webhook action (if available)
- Or use a third-party service like Zapier/Make to POST to
https://<your-hostname>.ts.net/dc/webhook/notion - Set
NOTION_WEBHOOK_SECRETif you want signature verification
Obsidian
Obsidian integration works via filesystem watching — no webhooks needed. Claude watches your vault for files containing "Dear Claude" and responds by appending to the same file.
- Set env var with the absolute path to your vault:
- That's it! Write "Dear Claude, ..." in any
.mdfile and save.
Claude's response appears as a callout block appended to the same note. The frontmatter gets a claude-status field (processing → done / error).
How it works:
- Watches for
.mdfile changes in the vault - Ignores files in
.obsidian/,.trash/, and dotfile directories - 2-second debounce to avoid triggering on every keystroke
- Supports wikilink references (
[[other-note]]) — Claude resolves and reads them - Supports embedded images — Claude can see and analyze them
Usage
Trigger Format
Write "Dear Claude" (case-insensitive, with a space) anywhere in:
- GitHub issue/PR comments
- Linear issue descriptions or comments
- Jira issue descriptions or comments
- GitLab issue/MR descriptions or comments
- Notion page comments
- Obsidian
.mdfiles
Example
GitHub PR Comment:
Claude responds on GitHub:
Claude Instance Started (Instance:
abc12345) Processing your request...
Task Completed Found 2 issues:
- SQL injection in
user.ts:45- Missing input validation in
api.ts:102Created PR #15 with fixes.
Instance Orchestration
Claude instances can spawn other instances for parallel work:
Claude will:
- Parse the tasks
- Spawn 5 child instances via the
/api/spawnendpoint - Each child works in its own git worktree (same repo, different branch)
- Each child creates a PR when done
- Parent polls child statuses
All Environment Variables
CLI Commands
MCP Tools
When running as an MCP server inside Claude Code, these tools are available:
HTTP API
The server also exposes REST endpoints on localhost:3334:
POST /api/spawn
Architecture
Instance Lifecycle
- PENDING: Trigger detected, instance queued
- RUNNING: Claude Code actively processing
- IDLE: Waiting for follow-up "Dear Claude" mentions
- COMPLETED: Task finished successfully
- FAILED: Error occurred
- EXPIRED: 7-day TTL exceeded, instance cleaned up
Development
Troubleshooting
Tailscale
- "Tailscale not running": Open the Tailscale app (macOS) or
sudo systemctl start tailscaled && tailscale up(Linux) - "Funnel not enabled": Visit https://login.tailscale.com/admin/acls and add Funnel capability
- Funnel disappears: Another
tailscale serve/tailscale funnelcommand may have overwritten it. The health check auto-repairs within 10 seconds. Verify withtailscale serve status --json.
Webhooks
- Not triggering: Check
bun run src/index.ts statusto verify the server is up. Test withcurl https://<your-hostname>.ts.net/dc/health. - "Invalid signature": Verify the webhook secret matches in both the platform config and your env vars.
- GitHub: The app subscribes to
issue_commentevents. To trigger on a new PR, post a comment — PR descriptions alone won't trigger.
OAuth
- Token expired: Re-visit
https://<your-hostname>.ts.net/dc/setup/<platform>to re-authenticate. - 401 errors: The stored OAuth token may have been revoked. Delete the stale token from
data/dear-claude.dband re-authenticate.
Instances
- Stuck in PENDING: Check that Claude Code CLI (
claude) is installed and accessible in your PATH. - Working directory issues: Instances create workspaces under
data/workspaces/. Ensure write permissions.
Capability attestation
This repo ships a smithmark capability manifest at smithmark.yaml, alongside a static tool listing at tools.json. The manifest declares, in one place, the full external surface this MCP server touches when it runs:
- Network egress: every host it talks to (
api.github.com,github.com,api.linear.app,linear.app,gitlab.com,*.atlassian.net,api.notion.com,api.giphy.com,api.anthropic.com) and why. - Filesystem: the paths it reads or writes (
~/.dear-claude/**,data/**,~/.claude.json, the debug log) and the access level. - Exec: subprocesses it spawns (
claude,tailscale,which,open,sudo,pkill). - Env vars and secrets: every credential-shaped environment variable it consumes, tagged by kind (access token, client secret, webhook secret, API key, private key).
On every GitHub release, .github/workflows/smithmark-attest.yml produces a keyless Sigstore attestation over the published npm tarball: GitHub's OIDC token is exchanged for a short-lived Fulcio signing certificate, the attestation is signed with it, and the signature is recorded in the public Rekor transparency log. There are no signing keys and no secrets involved. The resulting smithmark-attestation.sigstore.json is attached to the GitHub release.
Verify a published version with:
(substitute the actual release tag for v1.1.0)
The manifest is the authoritative record of this server's capability surface. smithmark's lint is deliberately host-unaware and advisory: it flags every fetch() call site and every exec as "undeclared" regardless of what's in the manifest, so it will show findings on this codebase (and on any real MCP server) even though the egress above is fully declared. Treat lint output as a discovery aid, not a drift signal, until --strict or a host-aware successor ships.
License
MIT
來源:README.md,提交 8337a16
工具
0版本歷史
1- v1.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Claude 整合
Claude Platform Docs
com.claude.platform官方發布者
遠端 MCP 伺服器,讓助理搜尋並閱讀 Claude 平台文件與 API 參考。

Insta Edits for Claude
由 GitHub 帳號 faisalkhanzemi 發布
讓 Claude 驅動 Mac 版 Instagram Edits 完整 274 個工具編輯器的橋接服務,並隨專案開啟同步工具清單。

Claude Checkpoint Mcp
由 GitHub 帳號 daniel-munoz 發布
本機 MCP 伺服器,把 Claude Code 工作階段狀態存成專案內的檢查點檔案,並以精簡的續接摘要重新載入。

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
由 GitHub 帳號 spk-c 發布
通過 GDB、LLDB 和 MCP 為 Claude Code、Codex 和 Qwen 提供 C/C++ 崩潰、掛起和轉儲除錯AI 翻譯

AVE for Claude Code — Local Video Editing
由 GitHub 帳號 lemberalla 發布
僅適用於 Claude Code 的本機 AVE 時間軸編輯與匯出。需要現有 AVE 連接。AI 翻譯