Skip to content

Releases

v0.0.5

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:36
d937db7

Fixes

  • A config that doesn't load is no longer silent. When the config on disk stops loading (a syntax error, an unreadable file, or a deleted one), the gateway keeps serving the last good config. Dropping every tool on a typo would punish you. But that also means a revocation in a broken hand edit hasn't taken effect. Now toolhost status, toolhost doctor and bare toolhost say config invalid since <time>: <error>; still running the previous config, and doctor exits 1 until the config loads again.
  • Tools that don't resolve are no longer silent. When two servers claim one tool name, the gateway serves no tools from any server until the clash is gone, as in v0.0.4. Now status, doctor and bare toolhost say could not resolve the tools since <time>: <error>; serving no tools from any server until they resolve, and doctor exits 1 while it lasts.
  • Both reports cover every gateway on the config, stdio ones included, and they work even when the config no longer parses.
  • Deleting the config used to go unnoticed by a running gateway. It now counts as a config that doesn't load.
  • Bare toolhost with a broken config used to print nothing and exit 0. It now reports the error and exits 1.
  • For a config that exists but doesn't parse, doctor now says to correct the file. It used to suggest toolhost init, which refuses to overwrite it.

Changes you might notice

  • GET /status and toolhost status --json carry config_error and resolve_error, each {since, error}, while they last.
  • While a gateway isn't serving what its config says, it keeps a note at degraded/<pid>.json in the environment's state folder, ~/.toolhost/degraded/ for the global one. The note goes when the fault does, or when the gateway stops.

Release pipeline

  • The verify step now names the repository when it downloads the draft release. In v0.0.4 the step failed, and the release was verified and published by hand.

Verify the download

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp 'https://github.com/gettoolhost/toolhost-local/.github/workflows/release.yml@.*' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt
sha256sum -c checksums.txt --ignore-missing
gh attestation verify toolhost_darwin_arm64.tar.gz -R gettoolhost/toolhost-local

v0.0.4

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:58
2cf15c3

Security fixes

  • A failed reload kept serving the old tool list (fail-open). When the tool list couldn't be rebuilt after a config change, for example because two servers claimed the same tool name, the gateway kept the previous list, so a tool you had just revoked stayed callable. Now a failed rebuild serves no server tools until the config resolves again. The five gateway__ verbs stay up, and the failure is in the audit log.
  • Server credentials could follow a redirect to another origin. A server's static headers, bearer token or OAuth token went along when the server redirected the gateway elsewhere, including from https to plain http. Credentials now go only to the configured scheme, host and port, and a redirect to any other origin is refused. For SSE servers, the gateway sends nothing to another origin, whatever address the server's endpoint event names.

Other fixes

  • Writers no longer lose each other's changes. Every write to toolhost.json or the request queue takes a lock, and a save from a stale read is refused (config changed on disk since it was read — nothing written) instead of undoing a newer change, such as bringing back a tool you revoked. The request queue is written atomically.
  • gateway__enable refuses an unapproved tool even when the config has no enabled list.
  • A denial with an empty reason is still shown to the agent.
  • Names from a passthrough upstream are checked against the tool-name rules.
  • toolhost requests shows everything a server petition carries: the URL, the command and every argument, quoted. Control characters in text from the agent are quoted too. A petition carrying both a URL and a command can't be accepted.
  • A direct call to a tool that isn't on the list is recorded in the audit log as tool_forbidden, with the name capped at 256 bytes.
  • Changing call_timeout while calls are in flight no longer races them.
  • A missing OAuth grant now points at the command that exists, toolhost mcp auth <name>.
  • toolhost help no longer prints a group without a title.

Protocol

  • A request whose Origin header isn't a local origin gets 403 before the key is checked, on every route, as the MCP transport specification requires. A Host header that isn't local, on a loopback connection, gets 403 on every route, not only /mcp.

Changes you might notice

  • A redirect that changes scheme, host or port, including http to https, is refused. Configure the server's final URL.
  • Write locks live in ~/.toolhost/locks/.
  • Homebrew installs a cask: brew install gettoolhost/tap/toolhost. The formula is gone.

Also since v0.0.3

  • toolhost attach for 12 clients, merging one local-gateway entry and leaving every other entry alone; --project, --stdio, --dry-run and --print.
  • The five gateway__ verbs (discover, enable, disable, call, request) and the request queue you answer with toolhost requests.
  • toolhost mcp: add, list, get, remove, enable, disable, test, tools, auth, logout and import.
  • Config and state under ~/.toolhost, a private environment per folder, and toolhost init --shared for a committable one.

Verify the download

cosign verify-blob --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp 'https://github.com/gettoolhost/toolhost-local/.github/workflows/release.yml@.*' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt
sha256sum -c checksums.txt --ignore-missing
gh attestation verify toolhost_darwin_arm64.tar.gz -R gettoolhost/toolhost-local

v0.0.3

Choose a tag to compare

@ArasanDev ArasanDev released this 09 Oct 13:57
e550a38

Full Changelog: v0.0.2...v0.0.3

v0.0.2

Choose a tag to compare

@ArasanDev ArasanDev released this 07 Oct 20:49
432812e

Full Changelog: v0.0.1...v0.0.2

v0.0.1

Choose a tag to compare

@ArasanDev ArasanDev released this 07 Oct 19:47
0a0aff8