Back to Home
schieblerchris icon

Spring-AI-showcase-with-Chat-and-MCP-Server

Verified Safe

by schieblerchris

Overview

This project is a small demo for Spring AI, providing an MCP-Server for local LLMs and a web frontend for a chat client to aggregate data from various sources (persons, hobbies, events, vacations).

Installation

Run Command
docker compose -f docker/docker-compose.yaml up -d

Environment Variables

  • SPRING_DATASOURCE_URL
  • SPRING_AI_OPENAI_BASE-URL
  • SPRING_AI_OPENAI_API-KEY
  • application.preferred.ai.model

Security Notes

The codebase is generally well-structured for a Spring Boot application, with no direct 'eval' or malicious patterns. Sensitive configurations like API keys are expected to be environment variables. Potential risks include Cross-Site Scripting (XSS) if LLM-generated Markdown or HTML (via the MailTool) is rendered by a client without adequate sanitization, but this is often a broader LLM safety concern rather than a specific code vulnerability within this application itself. Administrative features like database cleanup are explicit and require user confirmation.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-20

Tags

Spring AILLM OrchestrationToolingChat ClientVaadin