Dear Claude
Triggers Claude Code on issues and pull requests, with comment back, emoji reactions, and PR/MR review.
Triggers Claude Code on issues and merge requests, with comment back, emoji reactions, and MR review.
Triggers Claude Code on issues and comments, with comment back, sub-task creation, and issue status transitions.
Triggers Claude Code on issues and comments, with comment back, emoji reactions, and sub-task creation.
Triggers Claude Code on pages, with comment back, and can create tasks in other platforms.
Triggers Claude Code on notes, with comment back.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dear Claudecreate a pull request to fix the bug in app.js"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: mcp-local-llm
Supported Platforms
Platform | Trigger on issue/PR | Trigger on comment | Comment back | Emoji reactions | Sub-tasks | PR/MR review |
GitHub | Yes | Yes | Yes | Yes | - | Yes |
Linear | Yes | Yes | Yes | Yes | Yes | - |
Jira | Yes | Yes | Yes | - | Yes | - |
GitLab | Yes | Yes | Yes | Yes | - | Yes |
Notion | Yes | Yes | Yes | - | - | - |
Obsidian | Yes | - | Yes | - | - | - |
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
claude mcp add dear-claude -- bunx dear-claude start --mcpThat'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:
{
"mcpServers": {
"dear-claude": {
"command": "bunx",
"args": ["dear-claude", "start", "--mcp"],
"env": {
"DEAR_CLAUDE_PORT": "3334",
"GITHUB_CLIENT_ID": "...",
"GITHUB_CLIENT_SECRET": "...",
"GITHUB_WEBHOOK_SECRET": "...",
"LINEAR_CLIENT_ID": "...",
"LINEAR_CLIENT_SECRET": "...",
"LINEAR_WEBHOOK_SECRET": "..."
}
}
}
}Then start Claude Code:
claudeThe 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:
# macOS brew install tailscale # Linux curl -fsSL https://tailscale.com/install.sh | shAuthenticate:
tailscale upEnable Funnel in the admin console: https://login.tailscale.com/admin/acls
Add the
"funnel"capability to your ACL policy
The server auto-configures Funnel on startup. Your public URL will be:
https://<your-hostname>.ts.net/dc
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/dcCallback URL:
https://<your-hostname>.ts.net/dc/oauth/callback/githubWebhook URL:
https://<your-hostname>.ts.net/dc/webhook/githubWebhook secret: generate a random string
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:
GITHUB_CLIENT_ID=Iv1.abc123... GITHUB_CLIENT_SECRET=abc123... GITHUB_WEBHOOK_SECRET=your-webhook-secretInstall 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:discussionSet:
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.
Environment Variable | Description |
| GitHub App client ID |
| GitHub App client secret |
| Webhook signature verification secret |
| Personal access token (alternative to OAuth) |
Linear
Go to Linear Settings → API → OAuth Applications → New Application
Set the callback URL:
https://<your-hostname>.ts.net/dc/oauth/callback/linearCopy 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/linearCopy the Signing Secret
Enable events: Comments (create), Issues (create, update)
Set env vars:
LINEAR_CLIENT_ID=your-client-id LINEAR_CLIENT_SECRET=your-client-secret LINEAR_WEBHOOK_SECRET=your-signing-secretComplete 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.
Environment Variable | Description |
| OAuth client ID |
| OAuth client secret |
| Webhook signing secret |
| Personal API key (alternative to OAuth) |
Jira Cloud
Create an API token at https://id.atlassian.com/manage-profile/security/api-tokens
Set env vars:
JIRA_DOMAIN=mycompany # Your Jira subdomain (mycompany.atlassian.net) JIRA_USER_EMAIL=you@example.com # Your Atlassian account email JIRA_API_TOKEN=ATATT3x... # The API token you just created JIRA_WEBHOOK_SECRET=optional-secret # Optional shared secretCreate a webhook in Jira:
Go to Jira Admin → System → Webhooks → Create webhook
URL:
https://<your-hostname>.ts.net/dc/webhook/jiraIf using
JIRA_WEBHOOK_SECRET, append it:?secret=YOUR_SECRET
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.
Environment Variable | Description |
| Jira subdomain (e.g. |
| Your Atlassian email |
| API token from Atlassian |
| Optional shared secret for webhook verification |
GitLab
Create a Personal Access Token at GitLab → Settings → Access Tokens
Scopes:
api,read_repository,write_repository
Set env vars:
GITLAB_ACCESS_TOKEN=glpat-... GITLAB_WEBHOOK_SECRET=your-secretAdd a webhook to your project (or group):
Go to Settings → Webhooks
URL:
https://<your-hostname>.ts.net/dc/webhook/gitlabSecret token: same as
GITLAB_WEBHOOK_SECRETTrigger events: Comments, Issues events, Merge request events
Save
For self-hosted GitLab, also set GITLAB_URL=https://your-gitlab-instance.com.
Environment Variable | Description |
| Personal access token |
| Webhook secret token |
| GitLab instance URL (default: |
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/notionSet env vars:
NOTION_CLIENT_ID=your-client-id NOTION_CLIENT_SECRET=your-secretComplete 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/notionSet
NOTION_WEBHOOK_SECRETif you want signature verification
Environment Variable | Description |
| Internal integration token |
| OAuth client ID |
| OAuth client secret |
| Webhook verification secret |
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:
OBSIDIAN_VAULT_PATH=/Users/yourname/Documents/MyVaultThat'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 vaultIgnores files in
.obsidian/,.trash/, and dotfile directories2-second debounce to avoid triggering on every keystroke
Supports wikilink references (
[[other-note]]) — Claude resolves and reads themSupports embedded images — Claude can see and analyze them
Environment Variable | Description |
| Absolute path to your Obsidian vault |
| Debounce delay in ms (default: |
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:
Dear Claude, please review this code for bugs and security issues.Claude responds on GitHub:
Claude Instance Started (Instance:
abc12345) Processing your request...
Task Completed Found 2 issues:
SQL injection in
user.ts:45Missing input validation in
api.ts:102Created PR #15 with fixes.
Instance Orchestration
Claude instances can spawn other instances for parallel work:
Dear Claude, code tasks 1-5 in parallel. Each task should be a separate branch.Claude will:
Parse the tasks
Spawn 5 child instances via the
/api/spawnendpointEach 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
# Server
DEAR_CLAUDE_PORT=3334
TAILSCALE_HOSTNAME= # Optional: auto-detected
# GitHub
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_WEBHOOK_SECRET=
GITHUB_ACCESS_TOKEN=
# Linear
LINEAR_CLIENT_ID=
LINEAR_CLIENT_SECRET=
LINEAR_WEBHOOK_SECRET=
LINEAR_ACCESS_TOKEN=
# Jira Cloud
JIRA_DOMAIN=mycompany
JIRA_USER_EMAIL=you@example.com
JIRA_API_TOKEN=
JIRA_WEBHOOK_SECRET=
# GitLab
GITLAB_ACCESS_TOKEN=
GITLAB_WEBHOOK_SECRET=
GITLAB_URL= # Default: https://gitlab.com
# Notion
NOTION_CLIENT_ID=
NOTION_CLIENT_SECRET=
NOTION_WEBHOOK_SECRET=
NOTION_ACCESS_TOKEN=
# Obsidian
OBSIDIAN_VAULT_PATH=
OBSIDIAN_WATCH_DEBOUNCE_MS=2000
# Optional
GIPHY_API_KEY= # For fun GIF reactions in responsesCLI Commands
# Start the server (standalone mode)
bun run src/index.ts start
# Start as MCP server (stdio, for Claude Code)
bun run src/index.ts start --mcp
# Check server and platform status
bun run src/index.ts status
# List instances
bun run src/index.ts instances
# Setup instructions for a platform
bun run src/index.ts setup <platform>MCP Tools
When running as an MCP server inside Claude Code, these tools are available:
Tool | Description |
| List configured platforms and their status |
| List all Claude instances (filter by status) |
| Get detailed status of a specific instance |
| Get conversation history for an instance |
| Terminate a running instance |
| List currently running instance IDs |
| Spawn a new Claude instance for a task |
| List all instances in a project group |
HTTP API
The server also exposes REST endpoints on localhost:3334:
Endpoint | Method | Description |
| GET | Health check + platform status |
| POST | Webhook receiver |
| GET | List instances ( |
| GET | Get instance details + children |
| POST | Kill a running instance |
| POST | Spawn a new instance programmatically |
| GET | List configured platforms |
| GET | Start OAuth flow |
| GET | OAuth callback |
POST /api/spawn
{
"prompt": "Implement the login page",
"repo_url": "https://github.com/owner/repo",
"branch": "feature/login",
"base_branch": "main",
"parent_instance_id": "optional-parent-id",
"project_id": "optional-project-id"
}Architecture
Webhooks / File Watcher
┌────────┐ ┌────────┐ ┌──────┐ ┌────────┐ ┌──────────┐ ┌────────┐
│ GitHub │ │ Linear │ │ Jira │ │ GitLab │ │ Obsidian │ │ Notion │
└───┬────┘ └───┬────┘ └──┬───┘ └───┬────┘ └────┬─────┘ └───┬────┘
│ │ │ │ │ │
└──────────┴────┬────┴─────────┴────────────┴────────────┘
│
▼
┌─────────────────────┐
│ Tailscale Funnel │
│ (Public HTTPS URL) │
└─────────┬───────────┘
│
▼
┌─────────────────────┐
│ dear-claude │
│ MCP Server │
│ │
│ • Trigger detection │
│ • Instance manager │
│ • Platform adapters │
│ • Spawn API │
│ • SQLite DB │
└─────────┬───────────┘
│
▼
┌─────────────────────┐
│ Claude Code │
│ Instances │
│ (Agent SDK) │
│ │
│ • Git worktrees │
│ • Cross-platform │
│ API access │
│ • Child spawning │
└─────────────────────┘Instance Lifecycle
PENDING → RUNNING → IDLE → (follow-up) → RUNNING → IDLE → ... → EXPIRED (7 days)
↘ COMPLETED
↘ FAILEDPENDING: 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
# Install dependencies
bun install
# Run dev mode
bun run dev
# Type check
bunx tsc --noEmit
# Build
bun run build
# Run tests
bun testTroubleshooting
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.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sns45/dear-claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server