Connect VS Code
The steps below demonstrate how to connect to the DoiT MCP server using Visual Studio Code. VS Code loads MCP servers from an mcp.json file, then makes the tools available in GitHub Copilot Chat when MCP is enabled for your setup.
Required permissions
-
To connect and access DoiT Cloud Intelligence via the MCP server, your user must be assigned the Billing Profiles Admin permission.
-
The DoiT MCP server tools map to the DoiT Cloud Intelligence API. MCP requests are authenticated with your signed-in DoiT account. In addition, each DoiT API operation enforces its own permissions.
Prerequisites
-
A recent version of Visual Studio Code with GitHub Copilot and MCP support for chat. If you use Copilot through an organization or enterprise, your administrator may also need to enable MCP servers in Copilot. For background, see Add and manage MCP servers in VS Code, the MCP configuration reference, and GitHub's MCP instructions for Copilot Chat.
-
Node.js is on your
PATHsonpxcan run@doitintl/doit-mcp-server. -
A supported web browser to complete the DoiT sign-in flow when VS Code starts the MCP server.
Connection type
VS Code connects to DoiT MCP using a local stdio connection. VS Code launches the published package (@doitintl/doit-mcp-server) on your machine using standard input/output (stdio) using npx. Ensure Node.js is on your PATH.
Configure the DoiT MCP server
-
In VS Code, open the Command Palette (⇧⌘P on macOS, Ctrl+Shift+P on Windows or Linux).
-
Run MCP: Open Workspace Folder MCP Configuration to create or edit
.vscode/mcp.jsonin the current workspace, or run MCP: Open User Configuration if you want the server available in all workspaces. -
In the
mcp.jsonfile, add an entry for DoiT MCP server using standard input/output (stdio) and the published package@doitintl/doit-mcp-server.{
"servers": {
"doitMcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@doitintl/doit-mcp-server@latest"]
}
}
} -
Save
mcp.json. If VS Code prompts you to trust or start the server, confirm so the process can launch. -
When VS Code starts the server, your browser opens the DoiT sign-in page. Sign in with your DoiT account.
-
On the DoiT consent screen, select Allow access.

-
Confirm the DoiT MCP server is listed and started by running MCP: List Servers from the Command Palette. In Copilot Chat, select Agent mode and use the tools picker to confirm that DoiT MCP tools are available.
You can now use GitHub Copilot Chat in VS Code to ask questions or make requests related to DoiT Cloud Intelligence data.