Back to Home
rogervinas icon

spring-boot-ai

by rogervinas

Overview

A Spring Boot application implementing a Model Context Protocol (MCP) server that provides a remote 'Booking Tool' for an AI agent.

Installation

Run Command
cd mcp-server && ./gradlew bootRun

Security Notes

The MCP server itself is straightforward and doesn't expose obvious security vulnerabilities. However, the broader project (which uses this MCP server) has hardcoded PostgreSQL credentials (`postgres`, `password`) in `chat-server/src/main/resources/application.yml` for local development. While acceptable for a demo, this is a significant security risk if deployed to any non-local or production environment without externalizing these secrets. There's no dynamic code execution or explicit obfuscation. The use of Spring AI's `@Tool` annotation is a controlled mechanism for tool invocation.

Similar Servers

Stats

Interest Score36
Security Score7
Cost ClassMedium
Avg Tokens1000
Stars7
Forks2
Last Update2026-01-12

Tags

Spring BootKotlinAIModel Context ProtocolTooling