VS Code 1.99+ supports MCP servers in Copilot Agent mode. Add AgentValet as a server and your agent can call any approved platform without API keys in your project or environment.
npx @agentvalet/register).vscode/mcp.jsonVS Code uses the key servers (not mcpServers - that's a common mistake). Create .vscode/mcp.json in your project root.
{
"servers": {
"agentvalet": {
"url": "https://api.agentvalet.ai/mcp/v1/…",
"type": "http"
}
}
}
"servers", not "mcpServers". If you've used Cursor before, double-check this - it's the most common setup mistake.
npx @agentvalet/register in your project directory. This generates an RS256 keypair, records your agent in the registry, and outputs your OWNER_ID..vscode/mcp.json with the config above. Use "servers" as the root key and substitute your OWNER_ID.Cmd/Ctrl+Shift+P) and run "MCP: List Servers" to confirm agentvalet is loaded. If it doesn't appear, reload the VS Code window..envRegister free, get your OWNER_ID, and drop in the config. Takes under 2 minutes.