OpenLigaDbLlm

OpenLigaDbLlm

0

The OpenLigaDbLlm project demonstrates the use of .NET applications to connect to an MCP Server that interfaces with the OpenLigaDb API. It offers monitoring capabilities through Docker, OpenTelemetry, and Grafana.

OpenLigaDbLlm

This project integrates a .NET ChatClient with an MCP Server to interface with the OpenLigaDb API. Key components include a ChatClient, an MCP Server, and a Docker Compose setup for monitoring with OpenTelemetry, Loki, and Grafana.

Project Structure

  • src/ChatWithTools: .NET ChatClient application.
  • src/McpServer: MCP Server application with OpenLigaDb tools.
  • docker-compose.yml: Services for OpenTelemetry Collector, Loki, and Grafana.
  • otel-collector-config.yaml: Configuration for OpenTelemetry Collector.

Prerequisites

  • Docker and Docker Compose
  • .NET SDK

Getting Started

  1. Clone the repository and navigate to it.
  2. Use Docker Compose to start the monitoring stack.
  3. Run the .NET projects in separate terminals.

MCP Server

The McpServer offers tools to interact with OpenLigaDb, such as getAvailableLeagues, getFilteredLeagues, getAllTeams, and echo.

ChatClient

The ChatWithTools demonstrates connecting and interacting with the MCP Server, utilizing MCP tools for OpenLigaDb.

Monitoring

Docker Compose setup includes OpenTelemetry Collector, Loki, and Grafana. Use Helicone for additional monitoring by setting environment variables.

Links