Skip to content

Commit cd341aa

Browse files
committed
OLS-2018: updated task topic because there were dev changes. Created conceptual topic
1 parent dfb0d01 commit cd341aa

File tree

3 files changed

+36
-10
lines changed

3 files changed

+36
-10
lines changed

configure/ols-configuring-openshift-lightspeed.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ include::modules/ols-tokens-and-token-quota-limits.adoc[leveloffset=+1]
3636
include::modules/ols-activating-token-quota-limits.adoc[leveloffset=+2]
3737
include::modules/ols-about-postgresql-persistence.adoc[leveloffset=+1]
3838
include::modules/ols-enabling-postgresql-persistence.adoc[leveloffset=+2]
39-
include::modules/ols-enabling-mcp-server.adoc[leveloffset=+1]
39+
include::modules/ols-about-mcp-server.adoc[leveloffset=+1]
40+
include::modules/ols-enabling-mcp-server.adoc[leveloffset=+2]

modules/ols-about-mcp-server.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Module included in the following assemblies:
2+
// * lightspeed-docs-main/configure/ols-configuring-openshift-lightspeed.adoc
3+
4+
:_mod-docs-content-type: CONCEPT
5+
[id="about-mcp-server_{context}"]
6+
= About Model Context Protocol (MCP) server
7+
8+
An MCP server, or
9+
10+
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).

modules/ols-enabling-mcp-server.adoc

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,32 @@ spec:
3737
- MCPServer <1>
3838
mcpServers:
3939
- name: mcp-server-1 <2>
40-
transport: sse / streamable_http <3>
4140
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:
4645
- Authorization: Bearer <token>
4746
- Content-Type: application/json
4847
- 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>
4959
----
5060
<1> Specifies the MCPServer functionality.
5161
<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`.
5666

5767
. Click *Save*.
5868
+

0 commit comments

Comments
 (0)