# Connect VS Code / Copilot

## Quick start

Merge into `.vscode/mcp.json`:

```json
{ "servers": { "ezremote": { "type": "http", "url": "https://tunnel.masti.lol/mcp" } } }
```

Start the server from VS Code's MCP controls, trust the configuration and complete OAuth. HTTP servers and OAuth discovery are documented. Enable the server's tools in Copilot agent mode.

## Starter prompt

> Set up ezremote for this agent using https://tunnel.masti.lol/skill.md. Run the setup steps you can perform yourself. Ask me to sign in when needed and give me the connection approval link. Wait for my computer to be online before working on it.

Continue with [local approval](approve-on-your-computer.md). For connection errors, follow [troubleshooting](troubleshooting.md).

## Verified source

[Official VS Code / Copilot documentation](https://code.visualstudio.com/docs/agents/reference/mcp-configuration), checked 2026-11-01. Documentation support is distinct from a live acceptance test. No real client account or computer was exercised for this guide.
