1. Conduid
  2. Developer Tools
  3. Liberty MCP Server
MCP server · Developer Tools

Liberty MCP Server

Demo of Liberty serving as an MCP Server

Unclaimed last commit 6 months ago devtools
34Low

Scored 7 months ago · breakdown

About Liberty MCP Server

Liberty MCP Server is an MCP server published by mbroz2 in the Developer Tools category: demo of Liberty serving as an MCP Server.

The repository has 2 stars and 3 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/mbroz2/liberty-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Liberty MCP Server

Powered by Claude · Grounded in docs

I know everything about Liberty MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Liberty MCP Server

This project demonstrates Liberty servings as a Model Context Protocol (MCP) Server (and Quarkus as the MCP Client). The demo showcases how AI applications can leverage external business logic (new or existing) through the use of MCP tools.

Project Overview

The demo consists of two main components:

  1. Liberty MCP Server: Provides a weather forecast tool that can be called by MCP clients
  2. Quarkus MCP Client: A chatbot application that uses the weather forecast tool through MCP

The client application allows users to ask weather-related questions in natural language. The AI model processes these questions and uses the MCP tool provided by the Liberty server to retrieve weather forecasts.

Prerequisites

Getting Started

1. Start the Quarkus Client

cd mcp-client
./mvnw quarkus:dev

The Quarkus application will start on port 8080.

2. Start the Liberty Server

cd mcp-liberty-server
./mvnw liberty:dev

The Liberty server will start on port 9080.

3. Access the Application

  1. Open http://localhost:8080/ in your browser
  2. Click the chat icon in the bottom right corner to start a conversation
  3. Ask weather-related questions like:
    • What's the 3 day weather forecast for Maui, Hawaii?
    • Will I need an umbrella this week in Austin, TX?
    • Will it snow in the next 4 days in Toronto, Canada?
    • Who's going to see more rainfall this week, Maui, Hawaii or Seattle, Washington?

How It Works

  1. The user sends a weather-related query to the Quarkus client
  2. The client uses an LLM (via Ollama or OpenAI) to process the query
  3. The LLM determines whether it needs weather data and if so calls the MCP tool
  4. The Liberty server receives the tool request and calls the Open-Meteo API
  5. The weather data is returned to the MCP client
  6. The LLM formats the response and presents it to the user

Project Structure

  • mcp-client/: Quarkus MCP client with an application providing an AI chatbot interface
  • mcp-liberty-server/: Liberty MCP server providing the weather forecast tool

See the README files in each directory for more details about the specific components.

Architecture

---
config:
  flowchart:
    subGraphTitleMargin:
      top: 10
      bottom: 18
---
flowchart TD
    LLM["**LLM**<br>(Ollama)"]
    UI["**Chatbot UI**<br>(Browser)"]
    Client["**MCP Client**<br>(Quarkus)"]
    
    subgraph Server["**MCP Server**<br>(Liberty)"]
        Tool["**MCP Tool**<br>(getForecast)"]
    end
    
    API["**Weather Data**<br>(Open-Meteo API)"]
    
    LLM <--"REST"--> Client
    UI <--"WS"--> Client
    Client <--"MCP"--> Server
    Server <--"REST"--> API
    
    classDef component fill:#f9f9f9,stroke:#333,stroke-width:1px,color:black;
    class LLM,UI,Client,API component;
    classDef serverComponent fill:#f9f9f9,stroke:#333,stroke-width:1px,color:black;
    class Server serverComponent;
    classDef toolComponent fill:#f0f0f0,stroke:#666,stroke-width:1px,color:black;
    class Tool toolComponent;

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Liberty MCP Server

How do I install Liberty MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Liberty MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Liberty MCP Server still maintained?

The last commit was 6 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.