Connect GitHub Copilot in Visual Studio Code
Connect GitHub Copilot in Visual Studio Code to the DigiCert® Private CA MCP server to ask questions about your DigiCert-hosted Private CA environment.
Before you begin
Make sure that:
You have a version of Visual Studio Code that supports MCP servers.
GitHub Copilot is enabled in Visual Studio Code.
You have the Service User Token ID and MCP connection details described in Prepare to connect an AI client.
Connect to the MCP server
To connect GitHub Copilot in Visual Studio Code to the Private CA MCP server:
In Visual Studio Code, select View, then select Command Palette.
Run the MCP: Add Server command.
Select HTTP as the server type.
Enter the following MCP server URL:
https://mcp.digicert.com/private-caEnter the following server name:
private-ca-mcp-serverIn the generated
mcp.jsonfile, add the headers object to theprivate-ca-mcp-serverentry:{ "servers": { "private-ca-mcp-server": { "type": "http", "url": "https://mcp.digicert.com/private-ca", "headers": { "x-api-key": "<Service User Token ID>" } } } }Save the
mcp.jsonfile.Select Start for
private-ca-mcp-serverto start the connection.
Verify the connection
Open GitHub Copilot Chat.
Select Agent mode.
Enter a prompt such as:
List the certificate authorities in my account.If prompted, approve the use of the Private CA MCP tool.
GitHub Copilot retrieves and presents the Private CA information available to your Service User.