Skip to main content
VS Code supports MCP servers through GitHub Copilot and popular extensions like Cline. Choose the config that matches the extension you use.
1

Build Preflight

If you haven’t already, clone and build the server:
git clone https://github.com/EthanAckerman-git/Preflight.git
cd Preflight
npm install
npm run build
2

Add the config for your extension

Create .vscode/mcp.json in your project root:
{
  "servers": {
    "preflight": {
      "command": "node",
      "args": ["/path/to/Preflight/dist/index.js"],
      "env": {
        "PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"
      }
    }
  }
}
The Copilot config uses servers (not mcpServers) as the top-level key.
Replace /path/to/Preflight/dist/index.js with the absolute path to the built server on your machine.
If you installed idb via pip, add your Python bin directory to PATH. For example: /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:~/Library/Python/3.x/bin
3

Reload VS Code

Restart VS Code or reload the window (Cmd+Shift+PDeveloper: Reload Window) to pick up the new config.
The Continue extension and other MCP-compatible VS Code extensions also work with Preflight using the stdio transport. Check your extension’s documentation for its MCP config file location and use the same command/args/env structure shown above.

Build docs developers (and LLMs) love