MCP ExplorerExplorer

Jbang Mcp Examples

@jabrenaon a year ago
1 Apache-2.0
FreeCommunity
AI Systems
Learning how to interact with LLM from MCP Servers with JBang, Quarkus & Langchain4j

Overview

What is Jbang Mcp Examples

jbang-mcp-examples is a project designed to demonstrate how to interact with Large Language Models (LLMs) from MCP Servers using JBang, Quarkus, and Langchain4j.

Use cases

Use cases for jbang-mcp-examples include developing applications that require real-time weather data processing, creating calculators that leverage LLMs for complex computations, and educational projects aimed at teaching the interaction between Java applications and LLMs.

How to use

To use jbang-mcp-examples, you can run the provided Maven commands to clean and verify the project, and then execute the Java files using JBang with the commands: jbang ./src/main/java/MCPCalculator.java and jbang ./src/main/java/MCPRealWeather.java.

Key features

Key features of jbang-mcp-examples include the ability to easily run Java applications with JBang, integration with Quarkus for building microservices, and the use of Langchain4j for managing interactions with LLMs.

Where to use

jbang-mcp-examples can be used in fields such as software development, artificial intelligence, and educational purposes for learning how to work with LLMs and microservices.

Content

JBang MCP Examples

sdk env
./mvnw clean verify

jbang ./src/main/java/MCPCalculator.java
jbang ./src/main/java/MCPRealWeather.java
jbang ./src/main/java/MCPStopWatch.java

jbang mcp-calculator@jabrena
jbang mcp-realweather@jabrena

docker build -t mcp-stopwatch -f Dockerfile .
docker run mcp-stopwatch

docker compose up -d
docker compose down
docker compose logs mcp-calculator
docker compose stats
http://localhost:3000/

jbang ./src/main/java/AIApp.java

./mvnw versions:display-dependency-updates
./mvnw versions:display-plugin-updates
./mvnw versions:display-property-updates

References

Powered by Cursor

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers