Skip to content

Commit ab1914a

Browse files
authored
Update guide.fr-fr.md
1 parent 0b675ee commit ab1914a

File tree

1 file changed

+9
-11
lines changed
  • pages/public_cloud/ai_machine_learning/endpoints_tuto_15_mcp_langchain4j

1 file changed

+9
-11
lines changed

pages/public_cloud/ai_machine_learning/endpoints_tuto_15_mcp_langchain4j/guide.fr-fr.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: AI Endpoints - Model Context Protocol (MCP) avec LangChain4j
33
excerpt: Apprenez à utiliser le Model Context Protocol (MCP) avec Java, LangChain4j et OVHcloud AI Endpoints
4-
updated: 2025-06-27
4+
updated: 2025-08-06
55
---
66

77
> [!primary]
@@ -11,7 +11,7 @@ updated: 2025-06-27
1111
1212
## Objective
1313

14-
OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** allows developers to easily add AI features to there day to day developments.
14+
OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** allows developers to easily add AI features to their day to day developments.
1515

1616
In this article, we will explore how to create a Model Context Protocol (MCP) server and client using [Quarkus](https://quarkus.io/) and [LangChain4J](https://docs.langchain4j.dev/) to interact with OVHcloud AI Endpoints.
1717

@@ -23,7 +23,7 @@ Combined with OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** w
2323

2424
- **Model Context Protocol**: MCP is a protocol that allows your LLM to ask for additional context or data from external sources during the generation processes. If you want more information about MCP, please refer to the [official documentation](https://modelcontextprotocol.io/introduction).
2525
- **[LangChain4j](https://github.com/langchain4j/langchain4j)**: Java-based framework inspired by [LangChain](https://github.com/langchain-ai/langchain), designed to simplify the integration of LLMs (Large Language Models) into applications. Note that LangChain4j is not officially maintained by the LangChain team, despite the similar name.
26-
- **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)**: A serverless platform by OVHcloud providing easy access to a variety of world-renowned AI models including Mistral, LLaMA, and more. This platform is designed to be simple, secure, and intuitive, with data privacy as a top priority.
26+
- **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)**: A serverless platform by OVHcloud providing easy access to a variety of world-renowned AI models including Mistral, LLaMA, and more. This platform is designed to be simple, secure, and intuitive with data privacy as a top priority.
2727

2828
## Requirements
2929

@@ -33,7 +33,7 @@ Combined with OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** w
3333

3434
## Instructions
3535

36-
In this tutorial, we will explore how to easily create, in Java, a MCP Server using Quarkus and a client using LangChain4J.
36+
In this tutorial, we will explore how to easily create in Java, a MCP Server using Quarkus and a client using LangChain4J.
3737

3838
### Creating a Server with Quarkus
3939

@@ -44,7 +44,7 @@ The goal of this MCP server is to allow the LLM to ask for information about OVH
4444
> ℹ️ The code used to call the [OVHcloud API](https://eu.api.ovh.com/) is in the [GitHub repository](https://github.com/ovh/public-cloud-examples/tree/main/ai/ai-endpoints/mcp-quarkus-langchain4j) and will not be detailed here.
4545
>
4646
47-
Thanks to Quarkus, the only things you need to create a MCP server is to define the tools that you want to expose to the LLM.
47+
Thanks to Quarkus, the only thing you need to create a MCP server, is to define the tools that you want to expose to the LLM.
4848

4949
```java
5050
// Quarkus code for MCP Server
@@ -63,16 +63,16 @@ public class PublicCloudUserTool {
6363
}
6464
```
6565

66-
⚠️ The description is very important as it will be used by the LLM to choose the right tool for the task. ⚠️
66+
⚠️ The description is very important, as it will be used by the LLM to choose the right tool for the task. ⚠️
6767

68-
At the time of writing, there are two type of MCP servers: [stdio](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#stdio) and [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http).
68+
At the time of writing, there are two types of MCP servers: [stdio](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#stdio) and [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http).
6969
This blog post uses the Streamable mode thanks to Quarkus with the quarkus-mcp-server-sse extension.
7070

71-
Run your server with the quarkus dev command. Your MCP server will be used on http://localhost:8080.
71+
Run your server with the quarkus dev command. Your MCP server will be used on <http://localhost:8080>.
7272

7373
### Using the MCP server with LangChain4J
7474

75-
You can, now, use the MCP server with LangChain4J to create a powerful chatbot that can now interact with your OVHcloud account!
75+
You can now use the MCP server with LangChain4J to create a powerful chatbot that can now interact with your OVHcloud account!
7676

7777
```java
7878
///usr/bin/env jbang "$0" "$@" ; exit $?
@@ -190,5 +190,3 @@ If you need training or technical assistance to implement our solutions, contact
190190
Please feel free to send us your questions, feedback, and suggestions regarding AI Endpoints and its features:
191191
192192
- In the #ai-endpoints channel of the OVHcloud [Discord server](https://discord.gg/ovhcloud), where you can engage with the community and OVHcloud team members.
193-
194-
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for a custom analysis of your project.

0 commit comments

Comments
 (0)