> Documentation index: https://mydrops.io/llms.txt
> Every docs page is also available as Markdown by adding .md to its URL.

# Claude Code (https://mydrops.io/docs/agents/claude-code)

Add MyDrops to Claude Code with one command, sign in, and ask it about your saved links and files, or tell it to save research for you.

One command adds MyDrops to Claude Code. Then it can search your drops while it works, and save what it finds.

## Connect

### Add the server

```bash title="Terminal"
claude mcp add --transport http --scope user mydrops https://mydrops.io/mcp
```

`--scope user` makes it available in every project.

### Sign in

```bash title="Terminal"
claude mcp login mydrops
```

Your browser opens MyDrops. Sign in if you aren't already, choose **read** or **read and add**, and allow it. You can also run `/mcp` inside Claude Code and pick mydrops.

### Check it

```bash title="Terminal"
claude mcp list
```

`mydrops` shows `✔ Connected`.

## Try it

```text title="Prompt"
What did I save in MyDrops about React Server Components? Summarize the three most useful.
```

```text title="Prompt"
Save what you found to MyDrops as a note in a project called RSC research.
```

## Use an API key instead

For a machine without a browser, [make a key](/docs/api/keys.md) and send it as a header:

```bash title="Terminal"
claude mcp add --transport http --scope user mydrops https://mydrops.io/mcp \
  --header "Authorization: Bearer mdk_your_key"
```

To share the server with a project, put it in `.mcp.json` and keep the key in your environment:

```json title=".mcp.json"
{
  "mcpServers": {
    "mydrops": {
      "type": "http",
      "url": "https://mydrops.io/mcp",
      "headers": { "Authorization": "Bearer ${MYDROPS_API_KEY}" }
    }
  }
}
```

## Add the skills

Skills teach Claude Code when to use MyDrops, such as checking your categories before it saves.

```bash title="Terminal"
npx skills add mydrops-io/skills
```

## Disconnect

```bash title="Terminal"
claude mcp logout mydrops
claude mcp remove mydrops
```

Or disconnect it in **Settings › Agents** in MyDrops.

## Troubleshooting

**claude mcp list says Needs authentication**

Run `claude mcp login mydrops` and finish the sign-in in the browser. On a machine without a browser, add `--no-browser` and open the link it prints, or use an API key.

**The mydrops tools don't appear**

Claude Code reads its server list when it starts. Quit and reopen it. Without `--scope user`, the server is only in the project where you added it.

**Saving fails with insufficient_scope**

You allowed read only. Disconnect it in **Settings › Agents**, run `claude mcp login mydrops` again, and choose **read and add**.
