Skip to content

Commit 0f3b1af

Browse files
authored
Merge pull request #4628 from OpenLiberty/staging
Updating prod with MCP Server standalone post updates
2 parents 8947e79 + a0d4749 commit 0f3b1af

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

posts/2025-10-23-mcp-standalone-blog.adoc

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ Here are the simple steps to follow to try out the MCP Server feature `mcpServer
142142

143143
1. Download the Open Liberty All Beta Features package from https://openliberty.io/start/#runtime_betas[here]
144144
2. Unzip the archive. You should have a `wlp` folder
145-
3. Find the version number of the `io.openliberty.mcp` jar, which is located within the `lib` folder inside the `wlp` folder. For example, if the `io.openliberty.mcp` jar is named `io.openliberty.mcp_1.0.106.jar`, then it means the version number is `1.0.106`.
146-
4. Inside your `pom.xml` file, add the version number from step 3 and the path to your `wlp` folder as variables named `mcp-jar-version` and `wlp-dir-path` within the `<properties>` block:
145+
3. Find the `io.openliberty.mcp` jar:
146+
- **For version 25.0.0.12-beta and later:** The jar is located in the `/dev/api/ibm/` folder inside the `wlp` folder
147+
- **For earlier beta versions:** The jar is located in the `/lib/` folder inside the `wlp` folder
148+
4. Find the version number of the `io.openliberty.mcp` jar. For example, if the jar is named `io.openliberty.mcp_1.0.106.jar`, then the version number is `1.0.106`.
149+
5. Inside your `pom.xml` file, add the version number from step 4 and the path to your `wlp` folder as variables named `mcp-jar-version` and `wlp-dir-path` within the `<properties>` block:
147150
+
148151
[source,java]
149152
----
@@ -152,7 +155,23 @@ Here are the simple steps to follow to try out the MCP Server feature `mcpServer
152155
<mcp-jar-version>replace-with-version-number</mcp-jar-version>
153156
</properties>
154157
----
155-
5. Inside your `pom.xml` file, to add the MCP jar as a dependency, add the following dependency within the `<dependencies>` block:
158+
6. Inside your `pom.xml` file, to add the MCP jar as a dependency, add the following dependency within the `<dependencies>` block:
159+
160+
- **For version 25.0.0.12-beta and later:**
161+
+
162+
[source,java]
163+
----
164+
<!-- Liberty MCP API -->
165+
<dependency>
166+
<groupId>io.openliberty.mcp</groupId>
167+
<artifactId>mcp-core</artifactId>
168+
<version>${mcp-jar-version}</version>
169+
<scope>system</scope>
170+
<systemPath>${wlp-dir-path}/dev/api/ibm/io.openliberty.mcp_${mcp-jar-version}.jar</systemPath>
171+
</dependency>
172+
----
173+
174+
- **For earlier beta versions:**
156175
+
157176
[source,java]
158177
----
@@ -165,7 +184,7 @@ Here are the simple steps to follow to try out the MCP Server feature `mcpServer
165184
<systemPath>${wlp-dir-path}/lib/io.openliberty.mcp_${mcp-jar-version}.jar</systemPath>
166185
</dependency>
167186
----
168-
6. Inside your `pom.xml` file, add the following plugin within the `plugins` block:
187+
7. Inside your `pom.xml` file, add the following plugin within the `plugins` block:
169188
+
170189
[source,java]
171190
----

0 commit comments

Comments
 (0)