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
- Open your project's root directory in Visual Studio Code.
- In the project root, create a
.vscodefolder if one doesn't already exist. - Inside the
.vscodefolder, create a file namedmcp.json. - 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
- Open Visual Studio Code.
- Open the Output panel.
- Select the GitHub Copilot output channel.
- Confirm that the Demandbase MCP server starts without errors.
Verify the Demandbase MCP Tools
- Open Copilot Chat.
- Using the mode selector, switch to Agent mode.
- In the chat sidebar, click the 🛠️ Tools icon.
- 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.
Updated 20 days ago
Did this page help you?