---
title: "Discussion on \"Using a remote MCP sandbox from VS Code's agent: Copilot's .mcp.json, the older mcp.json format and tool approvals\" | Hashnode"
description: "Discussion on \"Using a remote MCP sandbox from VS Code's agent: Copilot's .mcp.json, the older mcp.json format and tool approvals\". Add a remote MCP sandbox to VS Code's agent: Copilot's .mcp.json, the older mcp.json format, sign-in and tool approvals."
url: "https://hashnode.com/posts/vs-code-agent-mode-with-a-remote-mcp-sandbox/6b0c2e699b398179e7be0b28"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using a remote MCP sandbox from VS Code's agent: Copilot's .mcp.json, the older mcp.json format and tool approvals](https://sandscale.hashnode.dev/vs-code-agent-mode-with-a-remote-mcp-sandbox?utm_source=hashnode&utm_medium=feed)

Add a remote MCP sandbox to VS Code's agent: Copilot's .mcp.json, the older mcp.json format, sign-in and tool approvals.

1d ago · 8 min read · sandscale.hashnode.dev  
Read the article

-   [#vscode-cjevho8kk00bo1ss2lmqqjr51](https://hashnode.com/tag/vscode-cjevho8kk00bo1ss2lmqqjr51)
-   [#ai](https://hashnode.com/tag/ai)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

  
[View profile](https://hashnode.com/@sandscale)

## Responses 1

Markdown supported · ⌘↵ to post

[X1Y1](https://hashnode.com/@x1y1)

[1d ago](https://hashnode.com/posts/vs-code-agent-mode-with-a-remote-mcp-sandbox/6b0c2e699b398179e7be0b28/comment/6b0c6402625e58cb934bd7cf)

Glad there's no headers entry to fill in. When we scanned 10,659 public MCP config files on GitHub, 152 held what look like real tokens, and 28 of those were .vscode/mcp.json files, the format this post calls the older one. A workspace file gets committed with the code, so OAuth here removes the whole problem.
