Visual Studio Code

Connect the Demandbase Model Context Protocol (MCP) server to Visual Studio Code so GitHub Copilot can access Demandbase tools from Agent mode.


Prerequisites for Connecting Demandbase to Visual Studio Code

Before you connect Demandbase to Visual Studio Code, make sure you have:

  • Visual Studio Code with GitHub Copilot installed.
  • Access to GitHub Copilot Chat and Agent mode.
  • A Demandbase account enabled for the VS Code integration.

Step 1: Create the Visual Studio Code MCP Configuration File

  1. Open your project's root directory in Visual Studio Code.
  2. In the project root, create a .vscode folder if one doesn't already exist.
  3. Inside the .vscode folder, create a file named mcp.json.
  4. Add the following configuration:
    {
      "servers": {
        "demandbase-remote": {
          "type": "http",
          "url": "https://gateway.demandbase.com/mcp/servers/db-mcp",
        }
      }
    }

Step 2: Verify the Demandbase Connection

Verify the Demandbase MCP Server Connection

  1. Open Visual Studio Code.
  2. Open the Output panel.
  3. Select the GitHub Copilot output channel.
  4. Confirm that the Demandbase MCP server starts without errors.

Verify the Demandbase MCP Tools

  1. Open Copilot Chat.
  2. Using the mode selector, switch to Agent mode.
  3. In the chat sidebar, click the 🛠️ Tools icon.
  4. Confirm that the Demandbase tools appear in the list.

A successful connection confirms that GitHub Copilot can access Demandbase tools through the Demandbase MCP server.

For more information, see Visual Studio Code's article Add and manage MCP servers in VS Code.



Did this page help you?