GitHub Copilot in VS Code now supports the Model Context Protocol (MCP). Configure ContextGate to give Copilot instant access to your business data from Salesforce, QuickBooks, HubSpot, and more.
Once configured, Copilot Chat can directly query your connected apps using natural language. Ask questions about customers, sales, invoices, or any data in your connected systems.
Navigate to the Install page in your ContextGate workspace. Click "View API Token" and copy your bearer token. You'll need this for authentication.
💡 Your token can be found on the Install page .
Keep your bearer token secure! Never commit it to version control.
On the Install page, you can customize which tools, connections, and datasets are available through the MCP server. This allows you to:
Toolbox Manager Interface:

Install the ContextGate MCP server package globally via npm:
Open your VS Code settings (JSON) and add the MCP server configuration. You can access settings JSON by:
Cmd/Ctrl + Shift + P Replace YOUR_BEARER_TOKEN_HERE with your actual ContextGate bearer token.
Reload VS Code to apply the MCP server configuration:
Cmd/Ctrl + Shift + P Open Copilot Chat (click the chat icon in the sidebar or press Cmd/Ctrl + Shift + I) and try these prompts:
"Use ContextGate to show me the top 5 Salesforce opportunities by amount"
"Get recent QuickBooks invoices from ContextGate"
"Query ContextGate for HubSpot contacts created this month"
✓ If Copilot responds with data from your connected apps, the integration is working!