cancel
Showing results for 
Search instead for 
Did you mean: 
Community Articles
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting VS Code and GitHub Copilot to the Databricks Managed MCP Server

charlie_wei
New Contributor III

Recently, Databricks released a preview version of the Managed MCP Server. Upon seeing this, I immediately wanted to integrate Databricks Genie with VS Code and GitHub Copilot agent mode. Below, I will briefly share the setup process:

Step 1: Prepare Genie on Databricks.

In this case, I used the sample table samples.nyctaxi.trips to create Genie.

charlie_wei_0-1751613479319.png

Step 2: Configure VS Code

Depending on your requirements, edit either .vscode/mcp.json or .vscode/settings.json in your VS Code workspace. Please refer to the following example for guidance:

{
    "chat.mcp.enabled": true,
    "mcp": {
        "inputs": [],
        "servers": {
            "my-genie": {
                "type": "http",
                "url": "https://<your-workspace-hostname>/api/2.0/mcp/genie/{genie_space_id}",
                "headers": {
                    "Authorization": "Bearer <your-personal-access-token>"
                }
            }
        }
    }
}

You can obtain a personal access token according to the documentation.

Step 3: Use Agent Mode

charlie_wei_1-1751615208235.png

Awesome 😎

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now