Skip to content

Commit 3799c3c

Browse files
authored
Merge pull request #4632 from OpenLiberty/mcp-blog-add-beta
Highlight that the mcpServer feature is in beta
2 parents a0d4749 + 2d37fa9 commit 3799c3c

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

blog_tags.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@
267267
},
268268
{
269269
"name": "beta",
270-
"posts": ["25.0.0.12-beta", "25.0.0.11-beta",
270+
"posts": ["mcp-standalone-blog",
271+
"25.0.0.12-beta", "25.0.0.11-beta",
271272
"25.0.0.10-beta","25.0.0.9-beta",
272273
"25.0.0.7-beta", "25.0.0.6-beta",
273274
"25.0.0.4-beta", "25.0.0.3-beta",

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ categories: blog
66
author_picture: https://avatars3.githubusercontent.com/habiblawal1
77
author_github: https://github.com/habiblawal1
88
seo-title: Support for the Model Context Protocol within Open Liberty - OpenLiberty.io
9-
seo-description: Learn how to use the MCP Server feature within your Liberty application to allow your business logic to be utilized within an agentic AI workflow.
10-
blog_description: Learn how to use the MCP Server feature within your Liberty application to allow your business logic to be utilized within an agentic AI workflow.
9+
seo-description: Learn how to use the MCP Server beta feature within your Liberty application to allow your business logic to be utilized within an agentic AI workflow.
10+
blog_description: Learn how to use the MCP Server beta feature within your Liberty application to allow your business logic to be utilized within an agentic AI workflow.
1111
open-graph-image: https://openliberty.io/img/twitter_card.jpg
1212
open-graph-image-alt: Open Liberty Logo
1313
---
@@ -21,7 +21,7 @@ Habib Lawal <https://github.com/habiblawal1>
2121
== What is MCP
2222
Model Context Protocol (MCP) is an open standard that enables AI applications to interact with and utilize external systems.
2323

24-
The Liberty **MCP Server feature** allows developers to expose the business logic of their applications, making it discoverable, understandable, and usable by AI applications.
24+
The Liberty **MCP Server beta feature** allows developers to expose the business logic of their applications, making it discoverable, understandable, and usable by AI applications.
2525

2626

2727
== The Power of MCP
@@ -31,8 +31,8 @@ Consider a scenario where your company provides weather forecasting services tha
3131

3232
A more effective solution is to enable the AI to access current weather data through tools exposed by your Liberty application. This allows the AI to retrieve up-to-date forecast information whenever needed, ensuring responses are always based on the most current data available, without the need for AI model retraining.
3333

34-
== How to Use the Liberty MCP Server Feature
35-
The Liberty MCP Server feature enables a Liberty server to communicate with agentic AI workflows through the MCP protocol. This protocol provides a standardized way for AI applications to discover and utilize the business logic within your application.
34+
== How to Use the Liberty MCP Server Beta Feature
35+
The Liberty MCP Server beta feature enables a Liberty server to communicate with agentic AI workflows through the MCP protocol. This protocol provides a standardized way for AI applications to discover and utilize the business logic within your application.
3636

3737
The MCP endpoint is available at `/mcp` under your application's context root. For example, if you see this in your logs:
3838
```
@@ -45,7 +45,7 @@ To test your MCP server, you can use the https://modelcontextprotocol.io/docs/to
4545
=== Declaring an MCP Tool
4646
To expose your business logic to authorized AI applications, you'll need to declare it as an https://modelcontextprotocol.io/specification/2025-06-18/server/tools[MCP tool]. In this context, a tool is a function or operation that the AI can invoke to perform a specific task.
4747

48-
You can easily declare a tool with the Liberty MCP Server feature by adding the `@Tool` annotation to your desired Java method. This annotation makes your method automatically discoverable by the Liberty MCP Server feature to make the method available for AI applications to invoke.
48+
You can easily declare a tool with the Liberty MCP Server beta feature by adding the `@Tool` annotation to your desired Java method. This annotation makes your method automatically discoverable by the Liberty MCP Server beta feature to make the method available for AI applications to invoke.
4949

5050
For this discovery mechanism to work, your Java method must be defined within a https://openliberty.io/docs/latest/cdi-beans.html[CDI managed bean] that has an appropriate scope annotation (e.g., `@ApplicationScoped` or `@RequestScoped`).
5151

@@ -94,9 +94,9 @@ Note that the AI model will use the description to decide when to call a tool an
9494

9595

9696
== Supported MCP Functionality
97-
Much of the MCP specification's functionality is optional to implement, allowing for gradual adoption while maintaining compatibility. The `mcpServer-1.0` feature has implemented support for the tool feature of the MCP Server specification, along with the tool related capabilities listed below.
97+
Much of the MCP specification's functionality is optional to implement, allowing for gradual adoption while maintaining compatibility. The `mcpServer-1.0` beta feature has implemented support for the tool feature of the MCP Server specification, along with the tool related capabilities listed below.
9898

99-
The `mcpServer-1.0` feature supports communicating using both version https://modelcontextprotocol.io/specification/2025-06-18[2025-06-18] and version https://modelcontextprotocol.io/specification/2025-03-26[2025-03-26] of the MCP protocol.
99+
The `mcpServer-1.0` beta feature supports communicating using both version https://modelcontextprotocol.io/specification/2025-06-18[2025-06-18] and version https://modelcontextprotocol.io/specification/2025-03-26[2025-03-26] of the MCP protocol.
100100

101101
=== Tool Metadata hints (Annotations)
102102
You can provide hints about the scope and range of your tool to give the AI application an indication of how safe the tool is to call. For example, you can indicate whether calling your tool may modify data. Note that although the MCP specification refers to these hints as https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations["Tool Annotations"], they are unrelated to Java annotations.
@@ -137,8 +137,8 @@ public String bigComputationTool(Cancellation cancellation) {
137137
}
138138
----
139139

140-
== How to Try the MCP Server Feature
141-
Here are the simple steps to follow to try out the MCP Server feature `mcpServer-1.0`:
140+
== How to Try the MCP Server Beta Feature
141+
Here are the simple steps to follow to try out the MCP Server beta feature `mcpServer-1.0`:
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

0 commit comments

Comments
 (0)