Skip to content

Commit b68f34f

Browse files
committed
wrap examples into details
1 parent 61c3361 commit b68f34f

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

docs/toolhive/guides-ui/run-mcp-servers.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,14 @@ On the configuration form, enter:
156156

157157
Click **Install server** to connect to the remote MCP server.
158158

159-
#### Configuration and authentication examples
159+
<details>
160+
<summary>View examples of remote MCP authentication configuration</summary>
160161

161-
##### Remote MCP server with no client credentials
162+
#### Remote MCP server with no client credentials
162163

163-
This example shows how to connect to a remote MCP server using automatic OAuth
164-
client registration, where ToolHive handles all the authentication setup for
165-
you.
164+
This example shows how to connect to notion remote MCP server using automatic
165+
OAuth client registration, where ToolHive handles all the authentication setup
166+
for you.
166167

167168
1. On the **MCP Servers** page, click **Add an MCP server**.
168169
2. Select **Add a remote MCP server** from the drop-down menu.
@@ -181,10 +182,10 @@ you.
181182
This is the simplest way to connect to a remote MCP server that supports
182183
automatic client registration, as it requires minimal configuration from you.
183184

184-
##### Remote MCP server with OAuth2 authentication
185+
#### Remote MCP server with OAuth2 authentication
185186

186-
This example shows how to connect to a remote MCP server that requires OAuth2
187-
authentication, such as a GitHub MCP server.
187+
This example shows how to connect to GitHub remote MCP server that requires
188+
OAuth2 authentication, such as a GitHub MCP server.
188189

189190
1. On the **MCP Servers** page, click **Add an MCP server**.
190191
2. Select **Add a remote MCP server** from the drop-down menu.
@@ -220,10 +221,10 @@ first:
220221
4. Click **Register application**
221222
5. Copy the **Client ID** and generate a **Client secret** to use in ToolHive UI
222223

223-
##### Remote MCP server with OIDC authentication
224+
#### Remote MCP server with OIDC authentication
224225

225-
This example shows how to connect to a remote MCP server using OpenID Connect
226-
(OIDC) authentication with GitHub as the identity provider.
226+
This example shows how to connect to GitHub remote MCP server using OpenID
227+
Connect (OIDC) authentication with GitHub as the identity provider.
227228

228229
1. On the **MCP Servers** page, click **Add an MCP server**.
229230
2. Select **Add a remote MCP server** from the drop-down menu.
@@ -248,6 +249,8 @@ This example shows how to connect to a remote MCP server using OpenID Connect
248249
created in the previous example. The OIDC flow provides additional security
249250
features and standardized token handling compared to traditional OAuth2.
250251

252+
</details>
253+
251254
### Local custom MCP server
252255

253256
On the **MCP Servers** page, click **Add an MCP server**, then choose **Add

0 commit comments

Comments
 (0)