Skip to content

Fix CLI docs for viewing logs to include --proxy flag #290

@danbarr

Description

@danbarr

The --proxy flag for thv logs was added back in stacklok/toolhive#1230, but was never documented in the CLI guide (here).

It also means this statement is incorrect and should be updated to use thv logs <remote-mcp-name> --proxy

The thv logs command only works with local containers. For remote MCP servers,
there’s no container to read logs from, so you’ll need to check the log files
directly in the ToolHive application directory. The path depends on your
platform:
- **macOS**: `~/Library/Application Support/toolhive/logs/<SERVER_NAME>.log`
- **Linux**: `~/.local/share/toolhive/logs/<SERVER_NAME>.log`

Keeping the log file paths for general reference would be good too, but Windows needs to be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions