Copilot in VS Code
Configure GitHub Copilot in VS Code to use Data Product MCP.
Connecting Copilot in VS Code to Data Product MCP lets it answer from governed products instead of guessing, using a project-level config so trusted data is available where you code. From a product page, select Activate → MCP, then View install guide on the Copilot in VS Code card.
What you need
VS Code with the GitHub Copilot extension installed and signed in, your DataOS instance URL, and a DataOS API token.
Steps
In VS Code, open the project folder you want to use Data Product MCP in, then create
.vscode/mcp.jsonat the root of that folder. Data Product MCP is available in this project only, so repeat these steps for each project that needs it.Add the server, replacing the placeholders:
{
"servers": {
"DataProduct-MCP": {
"type": "http",
"url": "https://<instance-url>/mcp/api/v1"
}
}
}VS Code prompts you to authorize in a browser window after you reload.
{
"servers": {
"DataProduct-MCP": {
"type": "http",
"url": "https://<instance-url>/dataproduct-mcp/api/v1",
"headers": {
"apikey": "<API_TOKEN>"
}
}
}
}Reload the VS Code window so Copilot reads the config.
Verify
Open Copilot Chat, confirm DataProduct-MCP appears in the MCP tools list, then ask What data products are available to consume?. A working connection returns products scoped to your token. Next: Discover in natural language.
Last updated
Was this helpful?