- Explore MCP Servers
- jbang-mcp-examples
Jbang Mcp Examples
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.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
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.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
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
- https://github.com/quarkiverse/quarkus-mcp-servers/blob/main/jdbc/README.md
- https://github.com/punkpeye/awesome-mcp-servers
- https://github.com/jbangdev/jbang-action
- https://discord.com/channels/1128867683291627614/1211804431340019753
Powered by Cursor
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










