You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/toolhive/guides-cli/run-mcp-servers.mdx
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ thv run fetch
33
33
### Remote MCP servers
34
34
35
35
Remote MCP servers in the registry don't run as local containers but instead use
36
-
ToolHive's transparent http proxy to forward requests to remote servers. For
36
+
ToolHive's transparent HTTP proxy to forward requests to remote servers. For
37
37
example:
38
38
39
39
```bash
@@ -61,6 +61,8 @@ To run a remote notion mcp server, you should use the `notion-remote` name.
61
61
thv run notion-remote
62
62
```
63
63
64
+
Use `thv search <NAME>` or `thv registry list` to discover available servers.
65
+
64
66
:::
65
67
66
68
:::info[What's happening?]
@@ -657,20 +659,21 @@ registration, eliminating the need to pre-configure client ID and secret.
657
659
658
660
#### OIDC authentication
659
661
660
-
For servers using OpenID Connect (OIDC), you can provide the issuer URL:
662
+
For servers using OpenID Connect (OIDC), provide the issuer URL, client ID, and
663
+
client secret obtained from the application provider:
661
664
662
665
```bash
663
666
thv run https://api.example.com/mcp \
664
667
--name my-server \
665
668
--remote-auth-issuer https://auth.example.com \
666
-
--remote-auth-client-id my-client-id
669
+
--remote-auth-client-id my-client-id \
667
670
--remote-auth-client-secret my-client-secret
668
671
```
669
672
670
673
#### OAuth2 authentication
671
674
672
-
For servers using OAuth2, you can specify the authorization and token URLs
673
-
manually:
675
+
For servers using OAuth2, specify the authorization and token URLs along with
676
+
the client ID and secret obtained from the application provider:
674
677
675
678
```bash
676
679
thv run https://api.example.com/mcp \
@@ -855,11 +858,7 @@ If a server crashes or exits unexpectedly:
855
858
856
859
If a remote MCP server authentication fails:
857
860
858
-
1. Check the server logs for authentication errors:
859
-
860
-
```bash
861
-
thv logs <SERVER_NAME>
862
-
```
861
+
1. Check the server logs for authentication errors (see [View server logs](./manage-mcp-servers.md#view-server-logs) for the correct log file path on your platform)
863
862
864
863
2. Verify the issuer URL is correct and accessible
0 commit comments