Use thv run for vMCP client config in quickstart #487
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In
docs/toolhive/tutorials/quickstart-vmcp.mdx, replace manual VS Code mcp.json configuration withthv runto register the port-forwarded vMCP endpoint as a remote server. This simplifies client setup by leveraging ToolHive's automatic client configuration. This also shows how you can treat vMCP like just another MCP server usingthv.Type of change
Related issues/PRs
Closes #368
Note: the PR above suggests mentioning multiple options, none of which is using
thv run. I chosethv runbecause it makes the client connection steps resemble what a user would do for any other MCP server. Also, configuring remote servers in the UI actually requires authentication config. This does not exist for the quickstart, so the UI makes the quickstart more complicated. Also, this quickstart already has multiple command steps, so it does not seem likethv runis something the intended audience is incapable of running.Screenshots
I tested these steps manually. I could see the vmcp server registered in cursor after following the quickstart:
The actual docs:

Submitter checklist
Content and formatting
Reviewer checklist
Content