Skip to content

Commit ea1f2a7

Browse files
Apply suggestions from code review
Co-authored-by: Dan Barr <[email protected]>
1 parent acf878a commit ea1f2a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/toolhive/guides-cli/run-mcp-servers.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ Check the MCP server's documentation for the required arguments.
143143
### Run a server on a specific port
144144

145145
ToolHive creates a reverse proxy on a random port that forwards requests to the
146-
container. To specify the port for an MCP server:
146+
container. This is the port that client applications connect to. To set a
147+
specific proxy port instead, use the `--port` flag:
147148

148149
```bash
149-
thv run --target-port <port-number> <server-name>
150+
thv run --port <port-number> <server-name>
150151
```
151152

152153
## Run a custom MCP server

0 commit comments

Comments
 (0)