MCPCloud.sh — Product and API reference
All clients

Connect VS Code

VS Code supports MCP servers through `.vscode/mcp.json` (workspace) or your user-level `mcp.json`. Use the `http` server type for remote endpoints.

TransportStreamable HTTPConfig.vscode/mcp.json

How do I connect an MCP server to VS Code?

Add a server entry with the `http` type and your server URL to `.vscode/mcp.json` (workspace) or your user-level `mcp.json`, then run “MCP: List Servers” from the Command Palette and start it. Recent VS Code releases speak the MCP HTTP transport natively, so no local bridge is needed.

Setup

  1. Create `.vscode/mcp.json` in your workspace, or open your user `mcp.json`.
  2. Add the server entry below with your deployment URL.
  3. Run “MCP: List Servers” from the Command Palette and start the server.
.vscode/mcp.jsonjson
{
  "servers": {
    "my-server": {
      "type": "http",
      "url": "https://my-server.mcp.cloud/mcp"
    }
  }
}

Verify the connection

In the Command Palette run “MCP: List Servers” and confirm your server is running.

Troubleshooting

The server type is rejected.

Update VS Code — the `http` MCP transport requires a recent release of the MCP support.

VS Code MCP documentation

Connect another client