AI assistantsPublish
Plugins & ExtensionsMCP serversHow to add an MCP server to VS Code

How to add an MCP server to VS Code

In VS Code, add an MCP server with the MCP: Add Server command, choose HTTP and paste the server's address, or write it in mcp.json under servers. Then switch Copilot Chat to Agent mode to use its tools.

Updated on November 25, 2026 · By the WEFARO team

The steps, with WEFARO as the example

  1. Run MCP: Add Server. Open the Command Palette, run MCP: Add Server, choose HTTP, paste the address and give the server a name. For WEFARO:
    https://wefaro.com/mcp
  2. Or write it in mcp.json. In .vscode/mcp.json, it works in the current workspace:
    {
      "servers": {
        "wefaro": { "type": "http", "url": "https://wefaro.com/mcp" }
      }
    }
  3. Start it and sign in. VS Code starts the server and asks you to sign in to it: allow.
  4. Use it in Agent mode. In Copilot Chat, choose Agent in the mode menu, then check the server's tools in the tools menu.

Then ask: “Find a free AI agent that tests my website.”

If it doesn't work

Run MCP: List Servers to see whether the server is running; its output says why it stopped.

VS Code asks you to trust a server before it starts it. Add servers you trust only.

Before you allow a server

A server acts with the access you give it. Check who makes it, what it can change, and where it sends what it reads. Tool makers often run their own: start with those. On WEFARO, every MCP server is reviewed before it goes live.

Servers people add

Each page shows the tool maker's own server first, then the others listed in the official MCP Registry.

Other assistants

Questions people ask

Where does VS Code keep it?

In .vscode/mcp.json for a workspace, or in your user configuration when you choose it in MCP: Add Server.

How do I remove a server?

Run MCP: List Servers, choose the server, then remove it; or delete its lines in mcp.json.

Built an MCP server?Sell it once, or by the month with access keys. WEFARO keeps 15% of each payment.

Sell it on WEFARO