Skip to content

Update docs for ToolHive v0.12.3–v0.13.0#641

Open
rdimitrov wants to merge 1 commit intomainfrom
update-docs-for-v0.12.3-v0.13.0
Open

Update docs for ToolHive v0.12.3–v0.13.0#641
rdimitrov wants to merge 1 commit intomainfrom
update-docs-for-v0.12.3-v0.13.0

Conversation

@rdimitrov
Copy link
Copy Markdown
Member

Summary

Catch up documentation with user-facing features shipped in ToolHive v0.12.3 through v0.13.0. Changes were verified against source code at each release tag.

  • Multi-upstream auth: Update outdated "single upstream provider" statements in backend-auth concept page and auth-k8s guide to reflect VirtualMCPServer multi-upstream support
  • Horizontal scaling: Rewrite scaling guide with new replicas and backendReplicas CRD fields, session storage config, and stdio transport limitations
  • forEach steps: Add forEach iteration section to composite tools guide with fields table and example workflow
  • Tool annotation overrides: Add annotation overrides section (title, readOnlyHint, destructiveHint, etc.) to tool aggregation guide
  • Skills CLI install: Replace "planned for a future release" with working thv skill install documentation (registry and git sources)
  • Cross-references: Add scaling link from run-mcp-k8s, Redis cross-reference to scaling guide

Releases covered

Release Date
v0.12.3 2026-03-19
v0.12.4 2026-03-19
v0.12.5 2026-03-24
v0.13.0 2026-03-26

Excluded (verified as not needing docs)

  • Webhook middleware (Phase 1-2 foundation, not user-configurable)
  • ResourceLink content type (transparent protocol fix)
  • Graceful shutdown (transparent infrastructure)
  • --publish flag (not present in CLI at v0.13.0)
  • Bug fixes (elicitation templates, runtime config merge)

Test plan

  • npm run build passes with no broken links or MDX errors
  • Verify YAML examples match CRD field names in auto-generated reference
  • Review rendering of new forEach, annotation overrides, and scaling sections
  • Confirm cross-references resolve correctly between guides

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings March 27, 2026 16:27
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Mar 28, 2026 0:33am

Request Review

Copy link
Copy Markdown
Contributor

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

Updates the ToolHive documentation to reflect user-facing features shipped in v0.12.3–v0.13.0, aligning guides and concept pages with current CRD/CLI capabilities (scaling, auth, composite workflows, and skills install).

Changes:

  • Document tool annotation overrides for aggregated tools (vMCP).
  • Rewrite scaling guidance to cover new replicas / backendReplicas fields and session storage requirements.
  • Add docs for forEach composite-tool steps and for installing skills via thv skill install (registry + git sources), plus cross-references between guides.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/toolhive/guides-vmcp/tool-aggregation.mdx Adds annotation override documentation and example configuration.
docs/toolhive/guides-vmcp/scaling-and-performance.mdx Updates horizontal scaling guidance and adds session storage + MCPServer scaling sections.
docs/toolhive/guides-vmcp/composite-tools.mdx Documents forEach iteration steps and expands template context table.
docs/toolhive/guides-registry/skills.mdx Adds CLI-based skill installation instructions and flags table.
docs/toolhive/guides-k8s/run-mcp-k8s.mdx Adds cross-link to scaling guidance for MCPServer replicas.
docs/toolhive/guides-k8s/redis-session-storage.mdx Adds scaling-related context and links session storage to horizontal scaling.
docs/toolhive/guides-k8s/auth-k8s.mdx Updates upstream provider note to reflect multi-upstream support in VirtualMCPServer.
docs/toolhive/concepts/skills.mdx Updates current status to reflect CLI install support and links to guide.
docs/toolhive/concepts/backend-auth.mdx Replaces “single upstream” language with multi-upstream (vMCP) + clarifies MCPServer limitations.

Comment on lines +8 to +9
This guide explains how to scale MCPServer and Virtual MCP Server (vMCP)
deployments.
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

The guide now claims it covers both MCPServer and Virtual MCP Server, but the vertical scaling section/examples still only describe VirtualMCPServer (podTemplateSpec with vmcp container). Either add the MCPServer equivalent (its podTemplateSpec uses the mcp container) or adjust the intro/description to avoid implying full MCPServer coverage for vertical scaling.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1, adding MCPServer scaling to this guide seems out of place since this is specifically inside the vMCP section. If horizontal scaling for MCPServer is now supported, it seems like a scaling guide is called for in the main operator section, or a new section in the guides-k8s/run-mcp-k8s guide?

Comment on lines +390 to +397
| Field | Description | Default |
| --------------- | --------------------------------------------------- | ------- |
| `collection` | Template expression that produces an array | — |
| `itemVar` | Variable name for the current item | — |
| `maxParallel` | Maximum concurrent iterations (max 50) | 10 |
| `maxIterations` | Maximum total iterations (max 1000) | 100 |
| `step` | Inner step definition (tool call to execute per item) | — |
| `onError` | Error handling: `abort` (stop) or `continue` (skip) | abort |
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

The forEach fields table is inconsistent with the generated CRD reference (docs/toolhive/reference/crd-spec.md): collection should be described as resolving to a JSON array or slice; itemVar defaults to "item" (not required); and maxParallel/maxIterations caps/defaults should match the reference (only maxIterations is documented as hard-capped at 1000). Updating this table will prevent users from configuring fields incorrectly.

Suggested change
| Field | Description | Default |
| --------------- | --------------------------------------------------- | ------- |
| `collection` | Template expression that produces an array ||
| `itemVar` | Variable name for the current item | |
| `maxParallel` | Maximum concurrent iterations (max 50) | 10 |
| `maxIterations` | Maximum total iterations (max 1000) | 100 |
| `step` | Inner step definition (tool call to execute per item) ||
| `onError` | Error handling: `abort` (stop) or `continue` (skip) | abort |
| Field | Description | Default |
| --------------- | ----------------------------------------------------------- | ------- |
| `collection` | Template expression that resolves to a JSON array or slice ||
| `itemVar` | Variable name for the current item | item |
| `maxParallel` | Maximum concurrent iterations | 10 |
| `maxIterations` | Maximum total iterations (hard cap 1000) | 100 |
| `step` | Inner step definition (tool call to execute per item) ||
| `onError` | Error handling: `abort` (stop) or `continue` (skip) | abort |

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
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.

As noted on Copilot's review comment, the new content about scaling MCPServer resources is out of place in the vMCP scaling/performance guide.

It should live with the other MCPServer docs in the main operator section - either as a new guide if the amount of content warrants it, or in the existing "Run MCP servers in Kubernetes" guide.

Comment on lines +8 to +9
This guide explains how to scale MCPServer and Virtual MCP Server (vMCP)
deployments.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1, adding MCPServer scaling to this guide seems out of place since this is specifically inside the vMCP section. If horizontal scaling for MCPServer is now supported, it seems like a scaling guide is called for in the main operator section, or a new section in the guides-k8s/run-mcp-k8s guide?

Catch up documentation with features shipped in v0.12.3 through v0.13.0.
Auto-generated CLI/CRD reference docs were already current; these changes
cover manual doc updates verified against source code at each release tag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rdimitrov
Copy link
Copy Markdown
Member Author

@danbarr - I think I addressed the feedback so it should be ready for another round 👍

@danbarr
Copy link
Copy Markdown
Collaborator

danbarr commented Mar 28, 2026

@danbarr - I think I addressed the feedback so it should be ready for another round 👍

The updated locations of the scaling info make sense to me now. I'll clear my "changes requested" review and leave it to the platform team to do their technical review.

@danbarr danbarr dismissed their stale review March 28, 2026 03:33

Structural feedback addressed

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.

3 participants