-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
Course
data-engineering-zoomcamp
Question
How do I add the dlt MCP server in VS Code?
Answer
To add the dlt MCP server in VS Code you can use the command "MCP: Add Server...":
- Open the command palette
- Windows: Ctrl + Shift + P
- Mac: Cmd + Shift + P
- Type "MCP: add Server..."
- Select "Command (stdio)"
- Type
uv run --with dlt[duckdb] --with dlt-mcp[search] python -m dlt_mcpand press Enter. - Set the id to
dltand press Enter - Set the configuration target:
Remoteif you are using GitHub CodespacesWorkspaceotherwise
To verity that the MCP was added correctly use the command "MCP: List Servers"
- Open the command palette
- Windows: Ctrl + Shift + P
- Mac: Cmd + Shift + P
- Type "MCP: List Servers"
- You should see "dlt Running" (like in the attached screenshot)
- If it is stopped, you can either:
- Start it by selecting it and choosing "Start Server"
- Prompt Copilot to use the mcp server (e.g. "list the dlt pipelines")
- If it is stopped, you can either:
Lastly, make sure that when you initialize your dlt project (when you run dlt init dlthub:taxi_pipeline duckdb) you choose copilot as your agent.
Checklist
- I have searched existing FAQs and this question is not already answered
- The answer provides accurate, helpful information
- I have included any relevant code examples or links
Reactions are currently unavailable