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

# Using Linkly AI in Devin Desktop

> Integrate your Linkly AI local knowledge base with Devin Desktop (formerly Windsurf), letting the AI coding assistant search and read your private documents

> [!NOTE]
>
> Windsurf has been renamed Devin Desktop. This guide is written for Devin Desktop; if you're still on Windsurf from before the rename, see the FAQ at the end.

## Prerequisites

* [Devin Desktop](https://docs.devin.ai/desktop/getting-started) installed
* Linkly AI Desktop running with the MCP service active

## Configuration Steps

Devin Desktop reads MCP servers from `mcp_config.json`. Both Devin Local, the default agent for new conversations, and the legacy Cascade agent read this file:

* macOS / Linux: `~/.config/devin/mcp_config.json`
* Windows: `%APPDATA%\devin\mcp_config.json`

> [tab] MCP HTTP (Recommended)
>
> Add the following to `mcpServers`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "linkly-ai": {
>       "url": "http://127.0.0.1:60606/mcp"
>     }
>   }
> }
> ```
>
> Restart Devin Desktop after saving.

> [tab] MCP Stdio
>
> First [install Linkly AI CLI](https://linkly.ai/docs/en/use-cli.md).
>
> Add the following to `mcpServers`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "linkly-ai": {
>       "command": "linkly",
>       "args": ["mcp", "--client", "windsurf"]
>     }
>   }
> }
> ```
>
> Restart Devin Desktop after saving.

> [tab] Remote Access
>
> First complete [remote access configuration](https://linkly.ai/docs/en/use-in-remote.md), with the desktop tunnel showing ● Connected.
>
> Just the address — no `headers` needed:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "linkly-ai": {
>       "url": "https://mcp.linkly.ai/mcp"
>     }
>   }
> }
> ```
>
> Restart Devin Desktop after saving. The first time Linkly AI is used, Devin Desktop opens your browser at linkly.ai to authorize: sign in, check the redirect address shown on the authorization page, then click **Allow**. When the authorization expires, `linkly-ai` shows **Needs auth** in the MCP list — click **Authenticate** to authorize again.
>
> To stop using it later, revoke it under **Authorized apps** on the [Security page of the dashboard](https://linkly.ai/dashboard/security).

> [!TIP]
>
> By default, Devin Local asks for your approval before every MCP tool call. When it asks, you can choose to always allow every tool on `linkly-ai` so it stops asking.

## Getting Started

Once configured, start a new conversation in Devin Desktop and ask directly; the agent will call Linkly AI's tools automatically. For example:

* "Search my documents for content about API design"
* "Read the project requirements document and summarize the key points"

## FAQ

> [accordion] Linkly AI's tools aren't available in conversations
>
> Make sure Devin Desktop has been fully quit and reopened (not just the window closed), and that the configuration file is valid JSON. Devin Local's customizations panel lists the MCP servers the current session has loaded, so you can check there whether `linkly-ai` is connected.

> [accordion] Still on Windsurf from before the rename
>
> In older Windsurf versions the configuration file is `~/.codeium/windsurf/mcp_config.json` (`%USERPROFILE%\.codeium\windsurf\mcp_config.json` on Windows), and the HTTP address field is named `serverUrl`; the other steps are the same. If Linkly AI's tools are unavailable after updating to Devin Desktop, configure it again at the path in this guide.

> [accordion] Tool count limit
>
> The legacy Cascade agent supports a maximum of 100 tools across all MCP servers. If the total number of tools exceeds this limit, some tools may become unavailable.


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