> Mr. Market docs. Source: https://docs.mrmarket.fyi/connect/vs-code. Every page is listed in https://docs.mrmarket.fyi/llms.txt; append `.md` to any docs URL for its Markdown.

# VS Code

Add Mr. Market to GitHub Copilot in VS Code with one click or in mcp.json.

Mr. Market works with Copilot's agent mode in VS Code.

## One click

- [Add Mr. Market to VS Code](vscode:mcp/install?%7B%22name%22%3A%22mr-market%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmrmarket.fyi%2Fmcp%22%7D)

## Or from the command line

```bash
code --add-mcp '{"name":"mr-market","type":"http","url":"https://mrmarket.fyi/mcp"}'
```

## Or in mcp.json

Add this to `.vscode/mcp.json` in a workspace (note the root key is `servers`):

```json
{
  "servers": {
    "mr-market": {
      "type": "http",
      "url": "https://mrmarket.fyi/mcp"
    }
  }
}
```

When the server starts, VS Code asks you to sign in; Mr. Market's sign-in opens in your browser. Choose **Allow**.

## Use it

Open Copilot Chat, switch to **Agent** mode and ask. Mr. Market's [skills](https://docs.mrmarket.fyi/skills.md) appear as prompts: type `/` and
look for `mcp.mr-market.` entries.

The same configuration works in other editors that read `mcp.json` with a `servers` key.

## Remove it

Remove the entry (or run **MCP: List Servers → mr-market → Uninstall**), then disconnect it in
[Account](https://mrmarket.fyi/account).
