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

# Connect Devin Desktop (Windsurf)

> Add the Copyfy MCP server to Devin Desktop, formerly Windsurf, with OAuth or an API key.

<Info>
  Steps checked against the Devin documentation on September 24, 2026. Windsurf became **Devin Desktop** in June 2026, and its Cascade agent has since been replaced by **Devin Local**, which uses the Devin MCP configuration described below.
</Info>

## Add Copyfy

<Tabs>
  <Tab title="OAuth (recommended)">
    <Steps>
      <Step title="Add the server">
        ```bash Terminal theme={null}
        devin mcp add copyfy https://app.copyfy.io/mcp --scope user
        ```

        `--scope user` makes Copyfy available in every project.
      </Step>

      <Step title="Sign in">
        Devin Local shows Copyfy as **Needs auth** in its MCP list. Click **Authenticate**, sign in to Copyfy in your browser, and click **Allow access**. From a terminal, you can run `devin mcp login copyfy` instead.
      </Step>

      <Step title="Try it">
        Ask Devin Local: *"Use Copyfy to find 10 winning products in the Pets niche for the US."*
      </Step>
    </Steps>
  </Tab>

  <Tab title="API key">
    Create an [API key](/authentication#create-a-key), store it in the `COPYFY_API_KEY` environment variable, and add this entry to `~/.config/devin/mcp_config.json` (`%APPDATA%\devin\mcp_config.json` on Windows):

    ```json mcp_config.json theme={null}
    {
      "mcpServers": {
        "copyfy": {
          "url": "https://app.copyfy.io/mcp",
          "transport": "http",
          "headers": {
            "Authorization": "Bearer ${env:COPYFY_API_KEY}"
          }
        }
      }
    }
    ```

    Devin replaces `${env:COPYFY_API_KEY}` with the value of the environment variable. To keep the key out of a shared project, use `.devin/mcp_config.local.json`, which is not committed.
  </Tab>
</Tabs>

<Note>
  The old Windsurf file `~/.codeium/windsurf/mcp_config.json` and its `serverUrl` key belong to the retired Cascade agent. Use the Devin configuration above.
</Note>

## Fallback

Copy the URL `https://app.copyfy.io/mcp` and add it under `mcpServers` in `~/.config/devin/mcp_config.json` with `"transport": "http"`.

## Disconnect

Run `devin mcp remove copyfy`, or delete the `copyfy` entry from `mcp_config.json`. To revoke access from the Copyfy side, click **Revoke** under **Connected apps** or revoke the key on the [Integrations page](https://app.copyfy.io/dashboard/api).

Having trouble? See [Troubleshooting](/troubleshooting).
