MCP Servers for VS Code

Configure MCP servers in VS Code using .vscode/mcp.json, the servers key, and explicit stdio or HTTP connection types.

Connect tools to VS Code

VS Code uses a different JSON wrapper from clients that expect mcpServers. Its workspace configuration uses a servers object, with an explicit connection type for each entry. Keeping that distinction visible prevents a common failure: pasting otherwise valid server settings into the wrong shape and wondering why the editor ignores them. MCP tool availability also depends on the installed chat and agent features.

Configuration location

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation.

  1. 1. Choose the execution environment

    Decide whether the server should run locally or in your development container or remote workspace. A command that works on your laptop may not exist in the environment that hosts the MCP process. Install the runtime in that environment before connecting.

  2. 2. Use the VS Code wrapper

    Create or edit .vscode/mcp.json at the workspace root. Add a named entry under servers. Local processes use type stdio with command and args; a Streamable HTTP endpoint uses type http with url. Preserve any existing inputs or other servers when merging the example.

  3. 3. Start the server and inspect output

    Use the MCP controls shown by the editor or its command palette to start the connection. Review trust prompts and server output rather than approving an unfamiliar repository configuration automatically. Complete the provider’s authentication flow only for an endpoint you recognize.

  4. 4. Select tools for a small task

    Check which tools are available to agent mode, then try a bounded read-only operation. Keep credentials out of version control; consult the editor’s input-variable and secret-handling documentation if the server requires a token.

Configuration example

Example: local Playwright MCP (requires Node.js 18+)
{
  "servers": {
    "playwright": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

This example launches a browser server via npx. Review the package and its current README before running it. Merge the named entry into your existing configuration, and do not commit secrets. Examples demonstrate the file format; they do not bypass a client’s trust or approval prompts.

Playwright MCP installation and tools

Troubleshooting

An mcpServers wrapper from another client is not a drop-in VS Code file. Check the servers key, connection type, workspace scope, and output logs. For SSE-only endpoints or unusual authentication requirements, check the client documentation before changing the example.

Check the client documentation

Client versions and menus change. When the installed version differs from this guide, prefer its current documentation.

20 servers to explore with VS Code

A discovery shortlist, not a guarantee that every transport works in your installed client. Check each server’s configuration and authentication requirements.

# / ServerWhy pick itStarsLast commitRuntimeRemote
Choose structured browser interaction with persistent state and detailed inspection tools.38,243Oct 8, 2026nodeNo
Combine web discovery, structured extraction, live interaction, and recurring monitoring for agents.7,615Oct 16, 2026nodeNo
Bring the design's structure and assets into coding, with context filtering built into the handoff.15,999Oct 16, 2026nodeNo
Generate customizable UI components in your editor with previews and 21st.dev design inspiration.6,063Sep 9, 2026nodeNo
Use a compact browser toolset with a hosted starting point and configurable self-hosted alternative.3,399Jul 20, 2026nodeNo
Access MiniMax speech, voice, image, video, and music workflows from one MCP-enabled assistant.1,590Aug 20, 2026pythonNo
Combine prompt-driven Blender editing with scene inspection and optional external 3D asset pipelines.31,192Oct 6, 2026pythonNo
Use it for search plus page collection, with either local execution or authenticated hosted access.2,433Oct 15, 2026nodeNo
Choose between public project deployment and a hosted single-page preview, with the distinction explicit.439Jul 7, 2026nodeNo
Choose Neon-native branching and migrations with hosted authentication and project-scoped access.652Oct 16, 2026nodeNo
A focused chat-history query and summary server when the companion chatbot already collects your messages.1,028Dec 4, 2024nodeNo
A broad GitHub tool catalog for code and collaboration, with installation details explicitly unconfirmed.Not recordedPart of the modelcontextprotocol/servers monorepoOct 13, 2026nodeNo
A compact URL-and-prompt interface for turning web pages into structured JSON inside MCP workflows.181Oct 8, 2026nodeNo
Pick it to discover task-relevant MCP servers without knowing their names in advance.89Oct 16, 2026nodeNo
Connect AI-assisted coding with direct Unity scene, asset, testing, and build operations.15,026Oct 8, 2026c#No
Give agents GitHub-native repository context and issue, review, workflow, and security operations.33,663Oct 15, 2026goNo
Add symbol-aware IDE capabilities to coding agents instead of relying entirely on text search and edits.30,329Oct 15, 2026pythonNo
Choose task-specific AWS context and workflow integrations from a broad open-source server collection.9,782Oct 16, 2026pythonNo
Ground coding assistance in targeted library documentation, including version-specific examples.63,157Oct 16, 2026nodeNo
Combine Jira delivery workflows and Confluence knowledge access in one assistant integration.6,008Sep 19, 2026pythonNo