---
title: "Connect VS Code | Hostemi"
description: "The user mcp.json entry, or one code --add-mcp command. Step-by-step help from the Hostemi docs for vacation rental hosts, connect a client section."
canonical: https://hostemi.com/docs/mcp/clients/vscode
source: https://hostemi.com/docs/mcp/clients/vscode.md
---

# Connect VS Code

The user mcp.json entry, or one code --add-mcp command.

#### On this page

1. [Add the server](#add-the-server)
2. [Sign in](#sign-in)
3. [Check it](#check-it)

## Add the server

**One command**

```bash
code --add-mcp '{"name":"hostemi","type":"http","url":"https://mcp.hostemi.com/mcp"}'
```

**mcp.json**

```json
{
  "servers": {
    "hostemi": {
      "type": "http",
      "url": "https://mcp.hostemi.com/mcp"
    }
  }
}
```

**With the hostemi CLI**

```bash
npm i -g hostemi
hostemi agent setup --client vscode
```

| System | User mcp.json |
| --- | --- |
| macOS | `~/Library/Application Support/Code/User/mcp.json` |
| Linux | `~/.config/Code/User/mcp.json` |
| Windows | `%APPDATA%\Code\User\mcp.json` |

VS Code keeps its servers under `servers`, not `mcpServers`.

## Sign in

Start the server from the MCP list (or let agent mode start it). VS Code asks to sign in and opens your browser.

## Check it

Ask Copilot in agent mode:

```text
What needs my attention in Hostemi?
```

It calls [`get_context`](https://hostemi.com/docs/mcp/tools/start#get_context) and names your listings, today's date in your time zone and what is waiting for you. The connection is listed in Hostemi under Settings, AI & apps, where you can remove it at any time.

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
