Skip to main content

Connect Claude Code

Developer integration

This integration is for people who use Claude Code — Anthropic's AI coding assistant. If you don't use Claude Code, you can skip this section.

What you get

Claude Code can read and create your Danny tasks directly from the terminal. Use it to capture tasks from meeting notes or Slack threads without leaving your workflow, or ask Claude to list, search, and update your tasks while you work.

Prerequisites

  • A Danny account
  • Claude Code CLI, Desktop app, or Web

Step 1: Create an API key

  1. Go to Settings → API Keys
  2. Click Create API Key
  3. Enter a label (e.g. Claude Code — laptop)
  4. Copy your key — it's shown only once

Step 2: Connect Claude Code

claude mcp add danny --transport http \
--url https://api.askdanny.to/mcp \
--header "X-Api-Key: YOUR_API_KEY"

Replace YOUR_API_KEY with the key you just copied.

Desktop or Web

Add this to your MCP settings:

{
"mcpServers": {
"danny": {
"type": "http",
"url": "https://api.askdanny.to/mcp",
"headers": { "X-Api-Key": "YOUR_API_KEY" }
}
}
}

Step 3: Verify it works

Try these prompts in Claude Code:

> list my tasks
> create a task: Review PR #42
> add tasks from these meeting notes: [paste notes]

Available tools

ToolDescriptionScope
list_tasksList tasks, optionally filtered by view or statusRead
get_taskFetch a single task by IDRead
search_tasksFull-text search across your tasksRead
get_task_historyView the edit history of a taskRead
list_viewsList your saved task viewsRead
check_calendarCheck your calendar for scheduling contextRead
create_taskCreate a new taskWrite
update_taskUpdate fields on an existing taskWrite
complete_taskMark a task as completeWrite
reopen_taskReopen a completed taskWrite
decompose_taskBreak a task into smaller subtasks using AIWrite
send_gmail_draftCreate a Gmail draft from task contextWrite
create_tasks_from_contextExtract and create tasks from unstructured text (meeting notes, Slack threads, etc.)Write
web_searchSearch the web using Brave SearchRead

Revoking access

Go to Settings → API Keys and click Revoke next to the key you want to remove. Revocation takes effect immediately.