Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/toolhive/how-to/api-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ address to bind to using the `--host` option:
thv serve --host <host-name>
```

## UNIX socket support

The API server can also be exposed via a UNIX socket instead of a TCP port. Use
the `--socket` option to specify a socket path:

```bash
thv serve --socket /tmp/toolhive.sock
```

When using a UNIX socket, the `--socket` argument overrides the host:port
address configuration.

## API documentation

See the [ToolHive API documentation](../reference/api.mdx) for details on
Expand Down
Loading