Continue
========

To configure the MCP Server in `Continue's VS Code Extension <https://www.continue.dev/>`_, go to :menuselection:`Continue Activity --> Open Settings --> Tools --> Add MCP Server`, and add the following configuration.

.. code-block:: yaml
  :caption: When using DVT IDE VS Code extension from marketplace:
    
  #...
  mcpServers:
    - name: DVT MCP server
        command: /bin/bash
        args:
        - "-c"
        - "$DVT_HOME/platform/<os>_<arch>/bin/dvt_mcp.sh connect"
        env:
        DVT_HOME: "<extensions_dir>/amiq.dvt-<version>-<os>-<arch>/dvt_home"
  #...

.. code-block:: yaml
  :caption: When using DVT IDE VSCodium from a kit distribution:

  #...
  mcpServers:
  - name: DVT MCP server
      command: /bin/bash
      args:
      - "-c"
      - "$DVT_HOME/bin/dvt_mcp.sh connect"
      env:
      DVT_HOME: "path/to/dvt_home"
  #...

.. note::

  Mainstream MCP hosts limit the environment of the MCP Server subprocess. Ensure that DVT_HOME and other necessary environment variables are properly set in the configuration.

