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
A Model Context Protocol (MCP) server is a program that implements the Model Context Protocol, which creates a secure intermediary between a large language model (LLM) and external resources, such as data sources or software applications. The protocol provides a standardized way for an LLM to increase context by requesting and receiving real-time updates from external resources. This functionality transforms the LLM from a static knowledge base into a dynamic system that uses real-time updates to answer questions or complete actions.
11
+
12
+
:FeatureName: MCP server
13
+
include::snippets/technology-preview.adoc[]
14
+
15
+
MCP server is disabled by default. To enable the functionality, add the `spec.featureGate.MCPServer` specification to the `OLSConfig` custom resource (CR).
Copy file name to clipboardExpand all lines: modules/ols-enabling-mcp-server.adoc
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,22 +37,32 @@ spec:
37
37
- MCPServer <1>
38
38
mcpServers:
39
39
- name: mcp-server-1 <2>
40
-
transport: sse / streamable_http <3>
41
40
streamableHTTP:
42
-
url: http://localhost:8080/mcp <4>
43
-
timeout: 30 <5>
44
-
sseReadTimeout: 10 <6>
45
-
headers:
41
+
url: http://localhost:8080/mcp <3>
42
+
timeout: 30
43
+
sseReadTimeout: 10
44
+
headers:
46
45
- Authorization: Bearer <token>
47
46
- Content-Type: application/json
48
47
- Accept: application/json
48
+
enableSSE: true
49
+
- name: mcp-server-2
50
+
streamableHTTP:
51
+
url: http://localhost:8080/mcp
52
+
timeout: 30 <4>
53
+
sseReadTimeout: 10 <5>
54
+
headers:
55
+
- Authorization: Bearer <token>
56
+
- Content-Type: application/json
57
+
- Accept: application/json
58
+
enableSSE: true <6>
49
59
----
50
60
<1> Specifies the MCPServer functionality.
51
61
<2> Specifies the name of the MCP server.
52
-
<3> Specifies the transport protocol that the MCP server uses to communicate.
53
-
<4> Specifies the URL path that the MCP server uses to communicate.
54
-
<5> Specifies the time that the MCP server has to respond to a query. If the client does not receive a query within the time specified, the MCP server times out. In this example, the timeout is 30 seconds.
55
-
<6> Specifies the amount of time a client waits for new data from a Server-Sent Events (SSE) connection. If the client does not receive data within that time, the client closes the connection.
62
+
<3> Specifies the URL path that the MCP server uses to communicate.
63
+
<4> Specifies the time that the MCP server has to respond to a query. If the client does not receive a query within the time specified, the MCP server times out. In this example, the timeout is 30 seconds.
64
+
<5> Specifies the amount of time a client waits for new data from a Server-Sent Events (SSE) connection. If the client does not receive data within that time, the client closes the connection.
65
+
<6> When you set `enableSSE` to true the MCP server establishes a one-way channel that the MCP server uses to push updates to the client whenever the server has new information. The default setting is `false`.
0 commit comments