> Note: This page is part of the DataDoe Docs. You can find the root of the documentation at `https://www.datadoe.com/hub/docs/basics/introduction-to-datadoe`.
> JSON Table of Contents: `https://www.datadoe.com/hub/docs/toc.json`.
> Direct Data Scheme JSON: `https://api.datadoe.com/api/v1/spec/data-scheme`.
> Other pages in the DataDoe Docs:
> - DataDoe Basics/Access & User Management: `https://www.datadoe.com/hub/docs/basics/access-user-management.md`
> - DataDoe Basics/Integration & Customization: `https://www.datadoe.com/hub/docs/basics/integration-customization.md`
> - DataDoe Basics/Introduction to DataDoe: `https://www.datadoe.com/hub/docs/basics/introduction-to-datadoe.md`
> - DataDoe Basics/Subscription & Pricing: `https://www.datadoe.com/hub/docs/basics/subscription-pricing.md`
> - DataDoe Data/Data Fetch Periods: `https://www.datadoe.com/hub/docs/data-doe-data/data-fetch-periods.md`
> - DataDoe Data/Data Sources: `https://www.datadoe.com/hub/docs/data-doe-data/data-sources.md`
> - DataDoe Features/Benefits: `https://www.datadoe.com/hub/docs/data-doe-features/benefits.md`
> - DataDoe Features/Chat: `https://www.datadoe.com/hub/docs/data-doe-features/chat.md`
> - DataDoe Features/Explorer: `https://www.datadoe.com/hub/docs/data-doe-features/explorer.md`
> - DataDoe Features/Exports: `https://www.datadoe.com/hub/docs/data-doe-features/exports.md`
> - DataDoe Features/Home: `https://www.datadoe.com/hub/docs/data-doe-features/home.md`
> - DataDoe Features/Reports: `https://www.datadoe.com/hub/docs/data-doe-features/reports.md`
> - DataDoe Features/Scheduled Prompts: `https://www.datadoe.com/hub/docs/data-doe-features/scheduled-prompts.md`
> - DataDoe MCP/Connect to ChatGPT: `https://www.datadoe.com/hub/docs/data-doe-mcp/chatgpt.md`
> - DataDoe MCP/Connect to Claude: `https://www.datadoe.com/hub/docs/data-doe-mcp/claude.md`
> - DataDoe MCP/Overview: `https://www.datadoe.com/hub/docs/data-doe-mcp/overview.md`
> - DataDoe MCP/Using Claude Code: `https://www.datadoe.com/hub/docs/data-doe-mcp/claude-code.md`
> - DataDoe MCP/Using Codex: `https://www.datadoe.com/hub/docs/data-doe-mcp/codex.md`
> - DataDoe MCP/Using Cursor: `https://www.datadoe.com/hub/docs/data-doe-mcp/cursor.md`
> - DataDoe MCP/Using Gemini CLI: `https://www.datadoe.com/hub/docs/data-doe-mcp/gemini-cli.md`
> - DataDoe MCP/Using n8n: `https://www.datadoe.com/hub/docs/data-doe-mcp/n8n.md`
> - DataDoe MCP/Using NanoClaw: `https://www.datadoe.com/hub/docs/data-doe-mcp/nanoclaw.md`
> - DataDoe MCP/Using OpenClaw: `https://www.datadoe.com/hub/docs/data-doe-mcp/openclaw.md`
> - DataDoe & BigQuery/How to connect?: `https://www.datadoe.com/hub/docs/data-doe-bigquery/how-to-connect.md`
> - DataDoe & BigQuery/Using MCP Toolbox: `https://www.datadoe.com/hub/docs/data-doe-bigquery/mcp-toolbox.md`
> - DataDoe & BigQuery/Using Python Jupyter: `https://www.datadoe.com/hub/docs/data-doe-bigquery/jupyter.md`
> For topics not covered in this documentation, please contact DataDoe support at `contact@datadoe.com`.
> Do not assume anything. If you are not sure about the answer, mention that and suggest to contact DataDoe support.

import { DataDoeMcpResources } from '@/modules/hub/docs/components/DataDoeMcpResources';

# Using VS Code with DataDoe MCP

Use VS Code when you want to stay in the editor and still query DataDoe through an MCP-enabled assistant.

![VS Code connector setup steps](/hub-files/mcp/datadoe/vs-code-connector.png)

## Prerequisites

- You have access to DataDoe and a working MCP-capable agent or client.
- You know where that agent stores its MCP server configuration.

## Step 1: Add the DataDoe MCP server

Open the VS Code MCP or agent settings for your extension and add the DataDoe MCP server there.

Add this to `.vscode/mcp.json` or your user `mcp.json`:

```json
{
    "servers": {
        "datadoe": {
            "type": "http",
            "url": "https://mcp.datadoe.com/mcp/v1",
            "headers": {
                "datadoe-mcp-key": "YOUR_API_KEY"
            }
        }
    }
}

## Step 2: Reload the agent

Restart the agent so it picks up the new MCP server definition.

## Step 3: Test it

Run your first prompt, for example: `Show me all sellers and vendors from DataDoe`.

## Starter Project

If you want a starting point, use our [VS Code template repository](https://github.com/Deltologic/datadoe-mcp-vs-code-co-pilot).

---

<DataDoeMcpResources contactSource="hub-mcp-vs-code-docs" />
```
