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

# VS Code (https://mydrops.io/docs/agents/vscode)

Add MyDrops to GitHub Copilot in VS Code, sign in, and let Copilot's agent search your saved drops and save new ones.

## Connect

### Add the server

Run **Chat: Open Customizations** from the Command Palette, open **MCP Servers**, and click **Add Server** (+) in the User group. Choose **HTTP (HTTP or Server-Sent Events)** and paste:

```text title="URL"
https://mydrops.io/mcp
```

Name it `mydrops` and choose **Global**.

### Sign in

Click **Authenticate** when it appears. Your browser opens MyDrops. Choose **read** or **read and add**, and allow it.

### Check it

Run **MCP: List Servers**, pick mydrops, and choose **Show Output**. In Copilot Chat's agent mode, MyDrops' tools appear in the tools list.

## Try it

```text title="Prompt"
#mydrops What did I save about accessibility in forms? Apply it to this component.
```

```text title="Prompt"
Save this checklist to MyDrops in the Accessibility project.
```

## Add it in a file

To share it with a project, add `.mcp.json` at the workspace root. For yourself only, use `~/.copilot/mcp-config.json`:

```json title=".mcp.json"
{
  "mcpServers": {
    "mydrops": {
      "type": "http",
      "url": "https://mydrops.io/mcp"
    }
  }
}
```

For an [API key](/docs/api/keys.md), add `"headers": { "Authorization": "Bearer ${MYDROPS_API_KEY}" }` and set `MYDROPS_API_KEY` in your environment.

## Disconnect

In **MCP Servers**, open mydrops' **⋯** menu and choose **Uninstall**. Then disconnect VS Code in **Settings › Agents** in MyDrops.

## Troubleshooting

**The tools don't appear in Copilot Chat**

Switch Copilot Chat to agent mode. If your organization manages Copilot, MCP servers may need an administrator's approval.
