Skip to content

Add documentation for ToolHive v0.21.0#730

Open
ChrisJBurns wants to merge 5 commits intomainfrom
update-docs-toolhive-v0.21.0
Open

Add documentation for ToolHive v0.21.0#730
ChrisJBurns wants to merge 5 commits intomainfrom
update-docs-toolhive-v0.21.0

Conversation

@ChrisJBurns
Copy link
Copy Markdown
Contributor

@ChrisJBurns ChrisJBurns commented Apr 16, 2026

Summary

  • Update 20 documentation files for the ToolHive v0.21.0 release
  • Document removal of previously deprecated CRD fields (inline oidcConfig, inline telemetry, config.groupRef fallback, external_auth_config_ref enum)
  • Replace all inline oidcConfig / telemetry YAML examples across K8s, vMCP, and integration docs with the oidcConfigRef / telemetryConfigRef + shared resource pattern
  • Remove thv group run registry-based group support from CLI docs; replace with thv group create + thv run --group
  • Add Cedar role_claim_name documentation for separate IdP role extraction (e.g., Entra ID roles claim)
  • Add Cedar server-scoped policy documentation (resource in MCP::"server-name")
  • Bump CRD install URLs from v0.20.0 to v0.21.0 in deploy-operator guide
  • Update migration guide with v0.21.0 breaking changes section
  • Fix pre-existing broken anchor in intro.mdx

Files changed

Migration & deployment (2 files)

  • guides-k8s/migrate-to-v1beta1.mdx - Added v0.21.0 section, moved deprecations to removed
  • guides-k8s/deploy-operator.mdx - Version bump v0.20.0 → v0.21.0

CLI docs (3 files)

  • guides-cli/run-mcp-servers.mdx - Replace thv group run with thv group create + thv run --group
  • guides-cli/registry.mdx - Same
  • tutorials/custom-registry.mdx - Same

K8s docs (7 files)

  • guides-k8s/auth-k8s.mdx - Replace inline oidcConfig with MCPOIDCConfig + oidcConfigRef
  • guides-k8s/rate-limiting.mdx - Same
  • guides-k8s/token-exchange-k8s.mdx - Same
  • guides-k8s/remote-mcp-proxy.mdx - Same + remove inline telemetry section
  • guides-k8s/connect-clients.mdx - Same
  • guides-k8s/telemetry-and-metrics.mdx - Remove inline telemetry, update deprecation notices
  • guides-k8s/intro.mdx - Fix broken anchor

vMCP docs (3 files)

  • guides-vmcp/authentication.mdx - Replace inline oidcConfig with MCPOIDCConfig + oidcConfigRef
  • guides-vmcp/backend-discovery.mdx - Fix external_auth_config_refexternalAuthConfigRef, update groupRef
  • guides-vmcp/configuration.mdx - Replace inline oidcConfig

Cedar docs (3 files)

  • concepts/cedar-policies.mdx - Add role_claim_name, server-scoped policies
  • reference/authz-policy-reference.mdx - Add role resolution, server-scoped resources
  • _partials/_basic-cedar-config.mdx - Add role_claim_name field

Integration docs (2 files)

  • integrations/okta.mdx - Replace inline oidcConfig with MCPOIDCConfig + oidcConfigRef
  • integrations/aws-sts.mdx - Same

CRD dry-run validation

132 YAML blocks validated against v0.21.0 CRD schemas (kubectl apply --dry-run=server). No real failures.

Doc Section Blocks Pass Fail Expected Skip
k8s-auth-k8s K8s 15 15 0 0 0
k8s-connect-clients K8s 3 1 2 0 0
k8s-customize-tools K8s 8 8 0 0 0
k8s-logging K8s 3 0 0 3 0
k8s-mcp-server-entry K8s 9 9 0 0 0
k8s-migrate-to-v1beta1 K8s 3 3 0 0 0
k8s-rate-limiting K8s 7 7 0 0 0
k8s-redis-session-storage K8s 1 1 0 0 0
k8s-remote-mcp-proxy K8s 15 15 0 0 0
k8s-run-mcp-k8s K8s 5 5 0 0 0
k8s-telemetry-and-metrics K8s 9 9 0 0 0
k8s-token-exchange-k8s K8s 6 6 0 0 0
vmcp-audit-logging vMCP 2 0 0 2 0
vmcp-authentication vMCP 10 10 0 0 0
vmcp-backend-discovery vMCP 7 7 0 0 0
vmcp-composite-tools vMCP 2 1 0 1 0
vmcp-configuration vMCP 7 6 0 1 0
vmcp-failure-handling vMCP 4 4 0 0 0
vmcp-optimizer vMCP 5 5 0 0 0
vmcp-quickstart vMCP 4 4 0 0 0
vmcp-telemetry-and-metrics vMCP 3 3 0 0 0
vmcp-tool-aggregation vMCP 4 4 0 0 0
TOTAL 132 123 2 7 0

The 2 failures in k8s-connect-clients are false positives - these are intentionally abbreviated snippets that use # ... as a YAML comment placeholder for the metadata section. The extractor sees kind: and name: (from oidcConfigRef.name) but there is no metadata.name, so kubectl rejects them. No schema issues.

Test plan

  • npm run build passes with no new broken anchors
  • CRD dry-run validation passes (132 blocks, 0 real failures)
  • Spot-check rendered pages in Vercel preview

🤖 Generated with Claude Code

Update 20 documentation files for the v0.21.0 release which removes
previously deprecated CRD fields and adds new Cedar authorization
features.

Breaking changes documented:
- Inline oidcConfig removed from MCPServer, MCPRemoteProxy,
  VirtualMCPServer - replaced with oidcConfigRef + MCPOIDCConfig
- Inline telemetry removed - replaced with telemetryConfigRef
- config.groupRef fallback removed from VirtualMCPServer
- external_auth_config_ref snake_case enum removed
- thv group run registry-based groups removed

New features documented:
- Cedar role_claim_name for separate IdP role extraction
- Cedar serverName scoping for per-MCP-server policies
- oidcConfigRef.resourceUrl for OAuth protected resource metadata

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 16, 2026 17:35
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 16, 2026

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

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Apr 16, 2026 6:31pm

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

Documentation update for the ToolHive v0.21.0 release, reflecting breaking CRD changes (removal of inline oidcConfig / telemetry) and updating examples to the new shared-resource reference pattern (oidcConfigRef / telemetryConfigRef), plus CLI and Cedar policy documentation updates.

Changes:

  • Replace inline OIDC/telemetry examples with MCPOIDCConfig / MCPTelemetryConfig + *Ref usage across K8s, vMCP, and integrations docs.
  • Update CLI docs to remove thv group run registry-group usage and document thv group create + thv run --group.
  • Expand Cedar docs with role_claim_name and server-scoped policy/resource patterns; bump operator CRD install URLs to v0.21.0 and update migration guidance.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
docs/toolhive/tutorials/custom-registry.mdx Updates runtime group workflow for running servers from a registry.
docs/toolhive/reference/authz-policy-reference.mdx Documents role claim resolution and server-scoped resources in Cedar.
docs/toolhive/integrations/okta.mdx Migrates OIDC setup examples to MCPOIDCConfig + oidcConfigRef.
docs/toolhive/integrations/aws-sts.mdx Migrates OIDC examples to MCPOIDCConfig + oidcConfigRef in proxy flows.
docs/toolhive/guides-vmcp/configuration.mdx Updates MCPRemoteProxy example to use oidcConfigRef.
docs/toolhive/guides-vmcp/backend-discovery.mdx Updates outgoing auth enum docs and groupRef troubleshooting text.
docs/toolhive/guides-vmcp/authentication.mdx Introduces MCPOIDCConfig-based incoming auth examples for vMCP.
docs/toolhive/guides-k8s/token-exchange-k8s.mdx Updates token-exchange examples to the shared OIDC config model.
docs/toolhive/guides-k8s/telemetry-and-metrics.mdx Documents removal of inline telemetry and points to telemetryConfigRef.
docs/toolhive/guides-k8s/remote-mcp-proxy.mdx Migrates proxy auth/telemetry examples to shared config refs.
docs/toolhive/guides-k8s/rate-limiting.mdx Updates rate limiting examples to use MCPOIDCConfig + oidcConfigRef.
docs/toolhive/guides-k8s/migrate-to-v1beta1.mdx Adds v0.21.0 breaking changes section and migration examples.
docs/toolhive/guides-k8s/intro.mdx Fixes/updates anchors and shared-CRD links.
docs/toolhive/guides-k8s/deploy-operator.mdx Bumps CRD install/upgrade URLs to v0.21.0.
docs/toolhive/guides-k8s/connect-clients.mdx Updates OAuth/resource URL guidance to use oidcConfigRef.
docs/toolhive/guides-k8s/auth-k8s.mdx Reworks auth guidance around MCPOIDCConfig and removes inline oidcConfig references.
docs/toolhive/guides-cli/run-mcp-servers.mdx Updates group-running docs to new runtime group commands.
docs/toolhive/guides-cli/registry.mdx Removes registry-group run docs in favor of runtime groups.
docs/toolhive/concepts/cedar-policies.mdx Adds role_claim_name and server-scoped policy patterns.
docs/toolhive/_partials/_basic-cedar-config.mdx Adds group_claim_name / role_claim_name fields to the basic config example.

Comment thread docs/toolhive/guides-k8s/migrate-to-v1beta1.mdx Outdated
Comment thread docs/toolhive/guides-k8s/migrate-to-v1beta1.mdx Outdated
Comment thread docs/toolhive/guides-k8s/migrate-to-v1beta1.mdx Outdated
Comment thread docs/toolhive/guides-vmcp/authentication.mdx Outdated
Comment thread docs/toolhive/guides-vmcp/authentication.mdx Outdated
Comment thread docs/toolhive/guides-vmcp/authentication.mdx Outdated
Comment thread docs/toolhive/guides-k8s/auth-k8s.mdx Outdated
- Add missing audience to oidcConfigRef in embedded auth server example
- Replace obsolete oidcConfig ConfigMap tab with MCPOIDCConfig k8s-sa tab
- Move audience from kubernetesServiceAccount to oidcConfigRef in vMCP docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix wrong apiVersion domain (stacklok.com → stacklok.dev) in 5 YAML examples
- Fix config.groupRef before example in migration guide to use struct format
- Add --secret examples for thv run --group in registry docs
- Remove inline oidcConfig/telemetry removal warnings from guide pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The "Set up shared OIDC configuration" section duplicated the canonical
"Set up shared OIDC configuration with MCPOIDCConfig" section earlier
in the same page. Removes the duplicate to avoid drift and confusion.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The raw GitHub URLs were missing /files/ in the path, causing all 24
kubectl apply commands to 404. This was a pre-existing bug from v0.20.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants