Repository navigation
Expand Context7 library configuration - #6963
Merged
Merged
Conversation
Add a project title, description, exclusion lists, and usage rules so Context7 indexes the relevant docs and gives accurate guidance for ToolHive. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The Kubernetes guidance needs an API-version exception to avoid directing users toward invalid webhook manifests.
1 open issue
What changed in this PR
This PR refines ToolHive’s Context7 configuration to improve indexed content and provide practical usage guidance.
Changes:
- Add a schema reference, project title, and description.
- Exclude proposals, tests, agent configuration, and legacy or administrative content.
- Add guidance for CLI installation, API-backed commands, Kubernetes setup, and credential handling.
| File | Description |
|---|---|
context7.json |
Expands project metadata, indexing exclusions, and usage rules. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6963 +/- ##
=======================================
Coverage 80.14% 80.14%
=======================================
Files 845 845
Lines 85715 85715
=======================================
+ Hits 68696 68700 +4
+ Misses 17014 17010 -4
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
MCPWebhookConfig is only served as v1alpha1, so the blanket v1beta1 rule would produce invalid webhook manifests. Note the exception. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
jhrozek
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
The Context7 library for ToolHive is now claimed, but it's indexed with default settings. That pulls in proposals, test fixtures, and agent config, and gives no guidance on how to use ToolHive. This expands
context7.jsonso the index is more useful to people who query it.docs/proposals,test,.claude, archive/deprecated/legacy folders, andCLAUDE.md,CHANGELOG.md,LICENSE.mdandCODE_OF_CONDUCT.mdthvinstall commands, thethv serverequirement for skill and plugin commands, the CRD and operator Helm chart install order and API version, secret handling, and a pointer to docs.stacklok.com/toolhiveType of change
Test plan
Confirmed
context7.jsonparses as valid JSON. Checked the usage rules against the code and docs: thethv skillandthv ai-plugincommands exist and hint to runthv servewhen the server is unreachable, the API group and version istoolhive.stacklok.dev/v1beta1, thetoolhive-operator-crdsandtoolhive-operatorcharts exist,thv secret setexists, and the brew and winget install commands match the install docs. The effect on the Context7 index can only be seen after merge.Does this introduce a user-facing change?
No
🤖 Generated with Claude Code