|
| 1 | +/////////////////////////////////////////////////////////////////////////////// |
| 2 | + |
| 3 | + Copyright (c) 2020, 2025 Oracle and/or its affiliates. |
| 4 | + |
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | + |
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + |
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | + |
| 17 | +/////////////////////////////////////////////////////////////////////////////// |
| 18 | +
|
| 19 | +== Model Context Protocol (MCP) Server |
| 20 | +
|
| 21 | +Helidon provides support for building Model Context Protocol (MCP) servers through a dedicated extension. |
| 22 | +The MCP Server feature is not part of the core Helidon Framework – it is delivered as a separate project hosted in the |
| 23 | +https://github.com/helidon-io/helidon-mcp[helidon-mcp GitHub repository]. |
| 24 | +
|
| 25 | +=== What is MCP? |
| 26 | +
|
| 27 | +The https://modelcontextprotocol.io[Model Context Protocol (MCP)] is an open protocol designed to connect AI models with external tools, resources, |
| 28 | +and data sources in a standardized way. An MCP server exposes resources, prompts, and tools that AI clients can |
| 29 | +discover and invoke dynamically, enabling more powerful and context-aware applications. |
| 30 | +
|
| 31 | +=== Helidon MCP Server Extension |
| 32 | +
|
| 33 | +The Helidon MCP Server extension allows you to build and run MCP servers with Helidon. |
| 34 | +
|
| 35 | +Key points: |
| 36 | +
|
| 37 | +* Separate repository: https://github.com/helidon-io/helidon-mcp[helidon-mcp] |
| 38 | +* Independent lifecycle: Requires Helidon but has its own versioning and release cadence |
| 39 | +* Dedicated documentation: Full usage guides, configuration details, and examples are provided directly in the |
| 40 | + https://github.com/helidon-io/helidon-mcp#documentation[helidon-mcp documentation] |
| 41 | +
|
| 42 | +=== Next Steps |
| 43 | +
|
| 44 | +To get started: |
| 45 | +
|
| 46 | +. Visit the https://github.com/helidon-io/helidon-mcp[helidon-mcp GitHub repository]. |
| 47 | +. Follow the setup and usage instructions in the repository’s documentation. |
| 48 | +. Explore how to expose your Helidon resources as MCP tools, prompts, and data sources. |
| 49 | +
|
| 50 | +== MCP Client |
| 51 | +
|
| 52 | +Helidon includes support for an MCP client through its xref:{rootdir}/se/ai/langchain4j/langchain4j.adoc#_mcp_client[integration with LangChain4j]. |
| 53 | +With this integration, you can set up the MCP client using Helidon configuration and plug it directly into your LangChain4j AI services. |
0 commit comments