> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dave.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Dave from Claude Code

> Connect Claude Code to Dave and ask it about your infrastructure from your editor.

Dave runs a remote MCP server at `https://app.dave.io/api/mcp`. Connect Claude Code
to ask Dave questions, hand it tasks and check on its work without leaving the
editor. Any change Dave makes still needs approval in Dave.

## Connect Claude Code

**Step 1**

Add the server:

```bash theme={null}
claude mcp add --transport http --scope user dave https://app.dave.io/api/mcp
```

**Step 2**

Run `/mcp`, select **dave** and choose **Authenticate**.

**Step 3**

In the browser, sign in, pick your organization and choose **Allow**.

To check it worked, ask Claude Code *"Which integrations is Dave connected to?"*

## What to ask

Claude Code brings Dave in on its own when a question touches your cloud, CI or
monitoring: failed deploys, incidents, cost, or what's running where. You can also
name Dave directly, or ask what's waiting on your approval in Dave.

## Hand off a change

Ask for a change, such as *"Have Dave add a read replica to the orders database"*,
and Claude Code passes it to Dave with a link to follow it. Dave plans the change and
waits for approval in Dave before running anything.

## Disconnect

```bash theme={null}
claude mcp remove dave
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.