v0.4.0 — Audit Logging & Workspace Flexibility
Adds audit logging, more flexible workspace/config resolution, and self-describing MCP capability info — plus a documentation pass covering previously undocumented CLI commands and config keys.
Features
- 📝 Audit logging — Record security-relevant events (tool calls, access denials, client connections) as structured JSON, with log rotation on startup
- 🧭
--workspace-rootflag — Overrideworkspace_rootindependently of--config, so the samehostmcp.yamlcan be reused across workspaces;--configand--workspaceare now mutually exclusive to avoid pointing them at different projects unintentionally - 🤖 Self-describing MCP instructions — The
initializeresponse now summarizes live host tool status (enabled, newly staged, or changed-since-approval) instead of relying on a static tool list - 📚 Expanded documentation — Current container commands (
hostmcp use), host tools management (hostmcp tools sync/list,serve --sync/--dev),--allow-exec,--host-dangerously, logging flags, audit config, and the Gemini Code Assist exclusion-file import are now documented - 🔧 Build fix — Release binaries now embed the correct version tag instead of falling back to a commit SHA
Fixes
- Correct version resolution for
go installusers (falls back to build info instead of showing "dev")
Full Changelog: v0.3.0...v0.4.0
v0.4.0 — 監査ログとワークスペースの柔軟性
監査ログ、より柔軟なワークスペース/設定解決、自己記述的なMCP機能情報を追加。加えて、これまで未文書化だったCLIコマンドと設定キーのドキュメント整備も行いました。
主な機能
- 📝 監査ログ — セキュリティ関連イベント(ツール呼び出し、アクセス拒否、クライアント接続)を構造化JSONとして記録し、起動時にログローテーションを実行
- 🧭
--workspace-rootフラグ —--configとは独立してworkspace_rootを上書き可能にし、同じhostmcp.yamlを複数ワークスペースで使い回せるように。--configと--workspaceは併用不可にし、意図せず別プロジェクトを指す事故を防止 - 🤖 自己記述的なMCP instructions —
initializeレスポンスが、静的なツール一覧に頼らず、ホストツールの最新状態(有効化済み・新規ステージング・承認後変更あり)を動的に要約 - 📚 ドキュメント拡充 — カレントコンテナコマンド(
hostmcp use)、ホストツール管理(hostmcp tools sync/list、serve --sync/--dev)、--allow-exec、--host-dangerously、ロギングフラグ、監査ログ設定、Gemini Code Assist除外ファイルのインポート例を文書化 - 🔧 ビルド修正 — リリースバイナリに正しいバージョンタグが埋め込まれるように修正(コミットSHAへのフォールバックを回避)
修正
go installユーザーのバージョン解決を修正("dev" 表示ではなくビルド情報にフォールバック)
Full Changelog: v0.3.0...v0.4.0