Skip to content

Conversation

@tvallin
Copy link
Member

@tvallin tvallin commented Oct 21, 2025

Introduces two applications - Helidon MCP coffee shop and Helidon MCP coffee shop declarative.

They show case how to set up a Helidon MCP server and a few Helidon data features. The examples provides three tools:

  • Customers can ask for the coffee shop menu. The menu is stored in the in-memory database (H2) and created at startup using the init.sql script.
  • Customers can then take an order. An order is defined by the customer name, the list of menu items and the total price.
  • Customer can ask what are the current orders. The orders are also in the H2 database and given to the customer where he can unsure that his order was taken successfully.

Both examples mirror each others in terms of functionality, but one uses an imperative approach where the other uses declarative. A user can see what differences and changes are required for writing the same application using both ways.

The two applications are covered with tests, a Langchain4j client is used to initialize a connection with the MCP server and exercise the MCP specific method required to use the app.

This PR adds a new directory under apps named mcp where the two applications are located.

@tvallin tvallin self-assigned this Oct 21, 2025
@tvallin tvallin added the app label Oct 21, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 21, 2025
@tvallin tvallin merged commit 53ca4a2 into helidon-io:main Oct 23, 2025
8 checks passed
@tvallin tvallin deleted the mcp branch October 23, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants