Skip to content

Update stacklok/toolhive to v0.70.1 - #1380

Open
renovate[bot] wants to merge 6 commits into
mainfrom
renovate/stacklok-toolhive-0.x
Open

renovate[bot] wants to merge 6 commits into
mainfrom
renovate/stacklok-toolhive-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
stacklok/toolhive minor v0.68.0 → v0.70.1

After this PR opens, .github/workflows/upstream-release-docs.yml adds source-verified content edits for the new release. For stacklok/toolhive, the same workflow also syncs reference assets (CLI help, Swagger) and regenerates the CRD MDX pages.


Release Notes

stacklok/toolhive

v0.70.1

Compare Source

What's Changed

Full Changelog: stacklok/toolhive@v0.70.0...v0.70.1

v0.70.0

Compare Source

What's Changed

New Contributors

Full Changelog: stacklok/toolhive@v0.69.1...v0.70.0

v0.69.1

Compare Source

What's Changed

Full Changelog: stacklok/toolhive@v0.69.0...v0.69.1

v0.69.0

Compare Source

Behavior changes

The embedded authorization server refuses tokens and assertions that carry authorization_details (#​7282). Before, the claim was dropped and the request succeeded, so a token restricted by authorization_details could be exchanged for one without the restriction. Now these requests are refused:

  • RFC 8693 token exchange whose subject_token or actor_token carries an authorization_details claim, including a token from a trusted external issuer: 400 invalid_request.
  • JWT-bearer or ID-JAG redemption whose assertion carries the claim, with any value: 400 invalid_grant, invalid_assertion. The assertion is not consumed.

Tokens issued by ToolHive never carry this claim, so ToolHive-to-ToolHive flows are unaffected. Check your setup if a trusted identity provider puts authorization_details (RFC 9396) into the tokens or ID-JAGs it sends to ToolHive: those requests now fail.

What's Changed

New Contributors

Full Changelog: stacklok/toolhive@v0.68.0...v0.69.0


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


Docs update for toolhive v0.70.1

At a glance

Upstream stacklok/toolhive v0.68.0 → v0.70.1
Hand-written changes —
Reference assets unchanged
Gaps 0
Owner @rdimitrov - identified from Release-Triggered-By trailer on the tagged commit
Release contributors 7 review requested (see sidebar) · 11 not requested (no docs impact)
Action required —

Who does what

@rdimitrov cut this release and owns this PR: review your own changes, chase the remaining approvals, and merge once they're in. You don't need to wait on a review from anyone listed as having no docs impact below.

Everyone with a review request: the target is a review and approval within 2 business days.

Summary of changes

  • Added Microsoft Entra ID on-behalf-of (OBO) how-to at docs/toolhive/guides-k8s/token-exchange-k8s.mdx, with matching sections in guides-vmcp/authentication.mdx and integrations/vmcp-entra-id.mdx; removed the "requires Stacklok Enterprise" statements for OBO across embedded-auth-server-k8s.mdx, concepts/backend-auth.mdx, and docs/platform/index.mdx
  • Added "Set the instructions the server returns" sections for thv run --instructions-file/--instructions-mode, MCPServer, MCPRemoteProxy, and VirtualMCPServer spec.instructions (guides-cli/configure-mcp-servers.mdx, guides-k8s/run-mcp-k8s.mdx, guides-k8s/remote-mcp-proxy.mdx, guides-vmcp/configuration.mdx, guides-vmcp/local-cli.mdx)
  • Updated MCPExternalAuthConfig consumer support and the UnsupportedAuthType / AppliedByVirtualMCPServer condition reasons in vMCP authentication, MCPServerEntry, run-mcp-k8s, and embedded auth server troubleshooting
  • Added remote server health checks (unhealthy status, TOOLHIVE_REMOTE_HEALTHCHECKS) to guides-cli/run-remote-mcp-servers.mdx and updated default thv list behavior in manage-mcp-servers.mdx and run-mcp-servers.mdx; thv mcp check documented in guides-cli/test-mcp-servers.mdx
  • Added code mode metrics and spans, plus toolhive_vmcp_backend_tool_errors, to guides-vmcp/telemetry-and-metrics.mdx; updated usage data in faq.mdx
  • Updated authorization docs: one statement per Cedar policy entry (cedar-policies.mdx, authorization-k8s.mdx), HTTP PDP forward_tool_read and Cache-Control on all filtered lists (authz-policy-reference.mdx), and authorization_details refusal errors in the ID-JAG troubleshooting tables
  • Updated smaller items: container runtime socket paths in config.yaml (guides-cli/install.mdx), wildcard directory patterns (thvignore.mdx), vMCP session sweep and DELETE cancellation plus shared optimizer embeddings (scaling-and-performance.mdx), find_tool annotations (optimizer.mdx), rejected refresh tokens (concepts/embedded-auth-server.mdx), and Ed25519 signing keys (embedded-auth-server-k8s.mdx)
  • Skipped Go-only or embedder-only surface with no CRD/CLI exposure: ID-JAG subject_mode/actor_issuers and delegate_clients[].access_token_lifespan (Gate ID-JAG subject resolution behind a setting toolhive#7254, Add a per-client access token lifespan for ID-JAG redemption toolhive#7284, Turn on subject resolution at ID-JAG redemption toolhive#7356), call-bound token enforcement and refusal reasons (Enforce call-bound access tokens at the vMCP toolhive#7302, Enforce list-call tokens at the vMCP toolhive#7325, Give call-binding refusals a machine-readable reason toolhive#7369; no OSS issuer emits these tokens), user-keyed upstream storage (Add user-keyed upstream token storage toolhive#7308), NonFatalSecondaryLegs (Make secondary chain legs optionally non-fatal toolhive#7311), and instructions via the REST API (not supported yet)

No docs impact identified

11 contributor(s) had no-docs-impact commits in this release. No review was requested, and the workflow did not auto-notify them.

Review routing

GitHub could not request the upstream contributor directly, so review went to the human merger of each relevant upstream PR:

Run cost

Session Turns Cost (USD)
Generation 42 $14.0285
Editorial review 20 $0.7222
Total 62 $14.7507
How this PR was built

Two Claude Opus sessions run per release: a generation pass
(upstream-release-docs skill, 6 phases) followed by a fresh-
context editorial pass (docs-review). Prettier/ESLint
auto-fixes are applied after.

Auto-synced paths — do not hand-edit these in review:

  • static/api-specs/
  • docs/toolhive/reference/cli/ (toolhive only)
  • docs/toolhive/reference/crds/

If a "Gaps needing human context" section is present above,
each entry includes a paste-ready Helper prompt for local
Claude
a reviewer can use to resolve the gap.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the autogen-docs Pull requests generated by automated release workflows label Nov 28, 2026
@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs-website Ready Ready Preview Nov 30, 2026 1:07pm UTC

Request Review

@stacklok-octosts
stacklok-octosts Bot marked this pull request as draft November 28, 2026 18:28
@github-actions

Copy link
Copy Markdown
Contributor

Generating docs for toolhive v0.70.1… (run)

@github-actions

Copy link
Copy Markdown
Contributor

Claude generation report

Session status: success · Workflow run

All four agents are running in the background. I'll wait for their reports before validating, linting, and writing the artifacts.

ChrisJBurns
ChrisJBurns previously approved these changes Nov 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Claude editorial review report

Session status: success · Workflow run

The review is done. I made one small fix, and Prettier and ESLint both pass with no errors.

What I reviewed: The last commit (f23a764) only changed auto-generated files (the CLI and Helm references and static/api-specs/), which I'm not allowed to edit. The previous session's actual writing is the uncommitted new section, "Check server readiness", in docs/toolhive/guides-cli/test-mcp-servers.mdx, so that's what I reviewed.

Fact check: I couldn't read the local upstream clone because it's outside my allowed paths. Instead I checked the v0.70.1 source through gh (cmd/thv/app/mcp_check.go, resolveServerURL in cmd/thv/app/mcp.go, and Probe in pkg/mcp/client/client.go). Every claim in the section matches the code:

  • Handshake: the command performs only the initialize handshake, with a default timeout of 5 seconds.
  • Auto transport: --transport auto tries streamable HTTP and then SSE, and the error includes the cause from each attempt.
  • Server names: a server passed by name must be in the running state.
  • Output: the text output layout and the JSON field names are correct.

Fix applied: I added the missing thv mcp check command reference link to the page's "Related information" list, next to the existing list and call links.

Checked, no change needed: The section is in the right place and matches the style of the neighboring "Invoke a tool" section. The page already has "Next steps", and I found no style-guide problems: no dashes, no changelog wording, no filler.

Formatting side effect: Prettier also reformatted .tmp-up/middleware.md. That's an untracked scratch file left by the previous session and isn't part of the docs. Nothing tracked changed except the page above.

I haven't committed anything.

@github-actions

Copy link
Copy Markdown
Contributor

Done · 50 turns · $3.02 · run · see PR body for details

@danbarr

danbarr commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

@claude clean up the temp files that got mistakenly introduced in this PR. Only the generated references and docs prose updates should have been committed.

@claude

claude Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @danbarr's task in 26s —— View job


Temp files removed

  • Identify the temp files in the PR diff
  • Remove .tmp-types.go and .tmp-up/
  • Commit and push (08e980b)

I deleted 8 scratch files left over from the generation run:

  • .tmp-types.go
  • .tmp-up/conv_obo.go, cu_obo.go, defaults.go, errors.go, middleware.go, middleware.md, strat_obo.go

The PR now changes 17 files: the version pin in .github/upstream-projects.yaml, the generated CLI and Helm references, static/api-specs/, and the new "Check server readiness" section in docs/toolhive/guides-cli/test-mcp-servers.mdx.

The PR body calls this a "silent run" with no hand-written changes. That's out of date, since the test-mcp-servers.mdx prose is included.

To stop this happening again, you could add .tmp-* to .gitignore or have the workflow clean up scratch files before it commits. I didn't change either one because you didn't ask for it.

Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@danbarr danbarr left a comment •

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.

Blocking; the generation workflow will need to be re-run once #1381 merges. Several workflow issues led to missed content in this PR.

aponcedeleonch
aponcedeleonch previously approved these changes Nov 30, 2026
@stacklok-octosts
stacklok-octosts Bot marked this pull request as draft November 30, 2026 12:45
@github-actions

Copy link
Copy Markdown
Contributor

Generating docs for toolhive v0.70.1… (run)

@github-actions

Copy link
Copy Markdown
Contributor

Claude generation report

Session status: success · Workflow run

I updated 29 docs pages for stacklok/toolhive v0.68.0 to v0.70.1. Prettier, ESLint and the production build all pass with no broken links or anchors. The edits are uncommitted for the later workflow step.

One thing to know first: the earlier run on this branch had only covered thv mcp check. This run covers the rest of the roughly 100 commits. I checked each change against the source at v0.70.1, mostly through four parallel research agents. A separate review pass made style fixes only and changed no facts.

What changed in the docs:

  • Entra on-behalf-of (OBO) auth is no longer Enterprise-only (Support Entra on-behalf-of backend auth in OSS toolhive#7201). Five places said it required Stacklok Enterprise; they no longer do. That includes docs/platform/index.mdx, where the Community column now shows a ✓. There is a new OBO how-to in guides-k8s/token-exchange-k8s.mdx, with matching sections in the vMCP authentication guide and the vMCP Entra ID integration page.
  • Custom server instructions (Let operators set the instructions MCP endpoints return toolhive#7280). New sections cover the thv run --instructions-file and --instructions-mode flags, and spec.instructions on MCPServer, MCPRemoteProxy and VirtualMCPServer. The vMCP local config file is covered too. The docs say this can't be set from the ToolHive UI or the API yet.
  • Which resources can use an external auth config (Report unsupported external auth types toolhive#6242). The vMCP, MCPServerEntry, run-mcp-k8s and embedded auth server troubleshooting pages now explain the UnsupportedAuthType and AppliedByVirtualMCPServer condition reasons.
  • Remote server health checks (Mark failing remote MCP servers unhealthy instead of starting toolhive#4844). Covers the unhealthy status, the TOOLHIVE_REMOTE_HEALTHCHECKS setting, and what thv list shows by default.
  • Metrics. New code mode metrics and trace spans, the new toolhive_vmcp_backend_tool_errors metric, and the usage data the FAQ lists.
  • Authorization.
    • Each Cedar policy entry must hold exactly one statement.
    • The HTTP policy decision point has a new forward_tool_read option.
    • Every filtered list response now sends Cache-Control: private, no-store.
    • The ID-JAG troubleshooting tables have rows for the new authorization_details refusal errors.
  • Smaller items:
    • Container runtime socket paths can be set in config.yaml.
    • .thvignore supports wildcard directory patterns.
    • vMCP sweeps ended sessions about once a minute, and a client's DELETE cancels the session's open requests.
    • Optimizer embeddings are shared across replicas through Redis.
    • The optimizer's find_tool tool now carries annotations.
    • Refresh tokens the identity provider rejected aren't re-sent.
    • The embedded auth server accepts Ed25519 signing keys.

Not documented, on purpose: these settings exist only as Go options for code that embeds ToolHive, with no CRD field or CLI flag:

These skips are listed in SUMMARY.md so a reviewer can see they were decisions.

Worth a reviewer's look:

  • The macOS and Windows paths for config.yaml in guides-cli/install.mdx match what the UI install guide already says, but nobody checked them against the library that resolves the path.
  • The vMCP OBO section tells readers to attach the OBO config through outgoingAuth.backends or an MCPServerEntry, not a backend MCPServer. A backend MCPServer applies OBO itself, so the token would likely be exchanged twice. That is an inference from the code, not something tested.

Handoff files: SUMMARY.md is at the repo root. REVIEWERS.json marks 15 of the 26 contributors as docs-facing, with the specific commits and a one-line note on what each should check. The other 11 are marked not docs-facing, with a reason. I didn't write GAPS.md, because every feature's purpose could be worked out from the PR bodies and source. Both files are gitignored, so they don't show in git status.

@github-actions

Copy link
Copy Markdown
Contributor

Claude editorial review report

Session status: success · Workflow run

I reviewed all 29 hand-written docs files the previous session changed for the toolhive v0.70.1 release. They needed very little editing. I made one change. Prettier then reformatted that edit and touched no other files; ESLint reported nothing. Everything is left uncommitted for the next workflow step.

Summary

The release content reads clearly and matches the project's style rules. It describes current behavior with no "starting in" or "previously" wording, uses <ALL_CAPS> placeholders, and keeps closing sections in the right order. The biggest change is that the Microsoft Entra ID on-behalf-of (OBO) flow moved from Enterprise-only to open source.

What I checked against the upstream clone

  • OBO is now open source. Upstream keeps EnterpriseRequired only as a legacy marker, with comments saying it was returned "before OBO" became open source. That makes these changes correct:

    • the comparison table in docs/platform/index.mdx now shows OBO for Community;
    • the :::enterprise callouts in token-exchange-k8s.mdx and guides-vmcp/authentication.mdx were swapped for real instructions;
    • "(Stacklok Enterprise)" was dropped from the disableUpstreamTokenInjection row in embedded-auth-server-k8s.mdx.

    No page outside the Connector Gateway section still calls OBO Enterprise-only; I didn't review those pages, since they weren't part of this release.

  • TOOLHIVE_REMOTE_HEALTHCHECKS exists in pkg/transport/http.go, so the remote health check instructions are accurate.

  • Code mode metrics: the claim that every metric except the gauge carries a status attribute matches pkg/vmcp/codemode/telemetry.go.

Edit applied

  • docs/toolhive/guides-vmcp/configuration.mdx: shortened the note about spec.instructions versus spec.config.instructions. It said "but not both" and then repeated the same point in the next sentence.

Considered and left as-is

  • Example server names like my-server in run-remote-mcp-servers.mdx, because the rest of that page uses the same name.
  • Short negative sentences such as "Without consent, Entra ID rejects the exchange" and "You can't set it from the ToolHive UI or the API." Each one states a fact the reader needs, so they don't break the style guide's rule against restating a point in negative form.
  • The new OBO row in the platform comparison table isn't next to the related token exchange row. That only affects how the table looks, so I didn't move it.

No changes needed a human to decide.

@stacklok-octosts
stacklok-octosts Bot marked this pull request as ready for review November 30, 2026 13:07
@github-actions

Copy link
Copy Markdown
Contributor

Done · 62 turns · $14.75 · run · see PR body for details

This branch was successfully deployed

1 active deployment
Preview — 2e8e21d1 Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autogen-docs Pull requests generated by automated release workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants