# MarkItDown MCP in VS Code

> The mcp.json entry for the MarkItDown MCP server in VS Code, with the key that differs from other clients. The server was tested; VS Code itself was not.

Source: https://markitdown.dev/mcp/vs-code/ · Updated 2026-11-15·Upstream source ↗

VS Code's MCP configuration differs from most clients in two ways: the top-level key is `servers`, not `mcpServers`, and each entry has a `type`. We tested the server and its launcher command and opened the file in VS Code, but did not run the server from the editor, so the rest of what we say about the editor is from its documentation.

> **Short answer**
>
> Put the block from the generator in `.vscode/mcp.json` (or the user-level file opened with the command "MCP: Open User Configuration"), save, and start the server from the Start link above the entry. Then try the prompt in Copilot Chat's agent mode.

Tested with markitdown 0.1.9 · Python Server tested on Linux (markitdown-mcp 0.0.1a8, T13). VS Code was opened on a Windows runner to show the file; Copilot was not signed in and the tool was not run · 2026-11-15 · evidence: [server-probe.log](https://markitdown.dev/evidence/T13/server-probe.log), [mcp-clients.json](https://markitdown.dev/data/mcp-clients.json)

> **What we tested and what we did not:** Tested: the server and the uvx command, with other clients, and we opened mcp.json in VS Code 1.146 on a Windows runner. Not tested by us: starting the server from VS Code, GitHub Copilot, and the file paths and menu names below.

## Generate the block

MCP Config Generator

The interactive generator needs JavaScript. This is the default: Claude Code, the uvx launcher (tested), and the generic JSON shape (not tested by us).

```
claude mcp add markitdown -- uvx --prerelease=allow markitdown-mcp==0.0.1a8
```

```
{
  "mcpServers": {
    "markitdown": {
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "markitdown-mcp==0.0.1a8"
      ]
    }
  }
}
```

Client

Operating system

Launcher

Transport

Scope

Options

Full path to the command (optional) Example file for the test prompt (optional)

markitdown-mcp 0.0.1a8 · entries checked 2026-11-15 · runs in your browser, the paths you type are never sent anywhere

## What it looks like

![VS Code on Windows with a .vscode/mcp.json file open that defines the markitdown server, with the Start and More links above it](https://markitdown.dev/_astro/win-vscode-mcp-json.BSoEj-SF_1jUqla.webp)

mcp.json in VS Code 1.146.0; Copilot was not signed in, so the tool was not run · Windows Server 2025 runner (build 26100) · VS Code 1.146.0 · 2026-11-16

VS Code shows Start and More links above the server entry. We opened the file on a Windows runner without signing in to Copilot, so we did not start the server from VS Code or call the tool.

## What differs

-   The key is `servers`, and each entry carries `"type": "stdio"`; the generator writes both.
-   Use a `file://` address in your prompt: the server rejected a plain path in our tests ([server page](https://markitdown.dev/mcp/)).
-   If VS Code does not find `uvx`, give the full path in the generator.

## If it does not work

Run the command from the config in a terminal first: if it fails there, fix that (the `--prerelease=allow` flag matters with older uv). See [the server page](https://markitdown.dev/mcp/) and [other clients](https://markitdown.dev/mcp/clients/).

## Related

- [MCP server](https://markitdown.dev/mcp/): The server, launchers and limits.
- [MCP in Cursor, Claude Code, Codex and others](https://markitdown.dev/mcp/clients/): Other clients.
- [MCP in Claude Desktop](https://markitdown.dev/mcp/claude-desktop/): Claude Desktop.
- [MarkItDown with Claude](https://markitdown.dev/claude/): Using MarkItDown with Claude.

---
Independent guide to the open-source MarkItDown library. Not affiliated with or endorsed by Microsoft. Official source: https://github.com/microsoft/markitdown
