Skip to content

Add docs for new thv run --tools flag. #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2025

Conversation

blkt
Copy link
Contributor

@blkt blkt commented Jul 25, 2025

Description

This change adds a small section under the "Run MCP servers" page documenting how to filter tools exposed by a server.

Fixes stacklok/toolhive#1007

Related issues/PRs

stacklok/toolhive#1136

Merge checklist

  • ToolHive v0.2.1 or above is released

Reviews

  • Content has been reviewed for technical accuracy
  • Content has been reviewed for spelling, grammar, and style

@blkt blkt self-assigned this Jul 25, 2025
Copy link

vercel bot commented Jul 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 28, 2025 2:13pm

Copilot

This comment was marked as outdated.

@blkt blkt force-pushed the docs/add-docs-for-thv-run-tools-flag branch from 351ca93 to 351320a Compare July 25, 2025 17:47
@danbarr danbarr requested a review from Copilot July 25, 2025 17:49
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for the new --tools flag in the ToolHive CLI, which allows users to filter tools exposed by MCP servers. The documentation explains how to use the flag to selectively expose tools from an MCP server while reducing the number of tools sent to the LLM.

Key Changes

  • Added a new section explaining the --tools flag functionality and security considerations
  • Provided usage examples showing both single and multiple flag usage patterns
  • Documented validation behavior for registry servers

@blkt blkt force-pushed the docs/add-docs-for-thv-run-tools-flag branch from 351320a to 8335c30 Compare July 25, 2025 17:53
danbarr
danbarr previously approved these changes Jul 25, 2025
Copy link
Collaborator

@danbarr danbarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! We'll hold off on merging until the next release is cut.

This change adds a small section under the "Run MCP servers" page
documenting how to filter tools exposed by a server.

Fixes stacklok/toolhive#1007
Copy link
Collaborator

@danbarr danbarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits, addressing the reader as "you" instead of "the user". But looks great, thanks!

@eleftherias eleftherias merged commit 1dcd171 into main Jul 29, 2025
5 checks passed
@eleftherias eleftherias deleted the docs/add-docs-for-thv-run-tools-flag branch July 29, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update documentation to include tool filtering
3 participants