MCP Server

Devin Desktop

Introduction

Devin Local is an AI coding assistant in Devin Desktop (formerly Windsurf) that can connect various Large Language Models (LLM) to the QuantConnect MCP Server. This page explains how to set up and use the server in Devin Desktop.

Devin Local truncates large responses from MCP servers, so it can be unstable for long backtests.

Getting Started

To connect the Devin Local agent in Devin Desktop to the QC MCP Server, follow these steps:

  1. Install and open Devin Desktop.
  2. In the top navigation bar of Devin Desktop, click View > Extensions.
  3. In the Search Exensions in Marketplace field, enter QuantConnect.
  4. Click Install.
  5. In the left navigation bar, click the QuantConnect icon in Cursor QuantConnect icon.
  6. In the Initialization Checklist panel, click Login to QuantConnect.
  7. Initialization checklist in Devin Desktop, where you can log in to QuantConnect
  8. In the Devin Desktop window, click Open.
  9. Pop-up that enables you to open a QC link to login to your account
  10. On the Code Extension Login page, click Grant Access.
  11. In the Select Workspace panel, click Pull Organization Workspace.
  12. Select workspace
  13. In the Pull QuantConnect Organization Workspace window, click the cloud workspace (organization) that you want to pull.
  14. Pull cloud organization
  15. In the Pull QuantConnect Organization Workspace window, create a directory to serve as the organization workspace and then click Select.
  16. Pull cloud workspace

    It takes a few minutes to create a new organization workspace directory and populate it with the the initial file structure. After the organization workspace is populated with the initial file structure, it pulls your cloud project files.

  17. Press Ctrl+Shift+P to open the Command Palette, enter Devin: Devin MCP Registry, and then press Enter.
  18. On the Devin Customizations page, click Add custom MCP.
  19. In your ~ / AppData / Roaming / devin / mcp_config.json file, add the following configuration:
  20. {
      "mcpServers": {
        "qc-mcp": {
          "disabled": false,
          "url": "https://www.quantconnect.com/api/v2/mcp"
        }
      }
    }
  21. Save and close the ~ / AppData / Roaming / devin / mcp_config.json file.
  22. On the Devin Customizations page, click the qc-mcp server.
  23. The list of installed MCP servers in Devin Desktop
  24. On the qc-mcp page, click Connect.
  25. The qc-mcp with an arrow pointing to the Connect button
  26. In the Authorize MCP Server form, select the organization you want to connect to and then click Authorize.
  27. QuantConnect form to Authorize MCP Server connection

    Devin Desktop should now show all the tools available through the QuantConnect MCP Server.

    List of QC MCP Server tools in Devin Desktop
  28. In Devin Desktop, create a new project or open an existing one.
  29. Press Ctrl+L to open Devin Local and begin interacting with the agent.

To backtest and live trade with the local Deployment Target, install Docker Desktop. The installation process depends on if your machine uses Windows, macOS, or Linux.

Models

Devin Desktop supports several LLMs that you can use in the Devin Local panel, including GPT, Claude, and Gemini. To change the model, click the model name at the bottom of the Devin Local panel and then click the name of the model to use.

Arrow clicking the model name in the Devin Local panel of Devin Desktop, showing the list of available models.

To view all the available models, see AI Models in the Devin documentation.

Quotas

There are no quotas on the QuantConnect API, but Devin Desktop and the LLMs have some. To view the quotas, see Quota-Based Usage in the Devin documentation and see the quotas of the model you use.

Troubleshooting

The following sections explain some issues you may encounter and how to resolve them.

Service Outages

The MCP server relies on the QuantConnect API and the client application. To check the status of the QuantConnect API, see our Status page. To check the status of Devin Desktop, see the Devin Status page. To check the status of the LLM, see its status page. For example, Claude users can see the Anthropic Status page.

Examples

The following examples demonstrate the MCP server with Devin Local in Devin Desktop.

Example 1: Hello World

To test the server and client are working and connected, enter the following prompt into the Devin Local chat:

> Read the open project.

The agent should call the read_open_project tool.

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: