Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 9 additions & 19 deletions docs/toolhive/tutorials/quickstart-vmcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,30 +200,20 @@ curl http://localhost:4483/health

You should see `{"status":"ok"}`.

Configure VS Code to connect to vMCP. Add the following to your `mcp.json` file:

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

```json
{
"servers": {
"demo-vmcp": {
"url": "http://localhost:4483/mcp",
"type": "http"
}
}
}
Add the port-forwarded vMCP endpoint as a remote server in ToolHive:

```bash
thv run http://localhost:4483/mcp --name demo-vmcp
```

Reload VS Code to apply the configuration.
This registers the vMCP endpoint as a ToolHive-managed workload, which
automatically configures your registered MCP clients to connect to it.

:::tip

For other MCP clients, see the
[Client compatibility reference](../reference/client-compatibility.mdx) for
configuration file locations and formats.
If you haven't set up client configuration yet, run `thv client setup` to
register your MCP clients. See
[Client configuration](../guides-cli/client-configuration.mdx) for more details.

:::

Expand Down
Loading