Back to Home
divaxi icon

my-mcp-server

Verified Safe

by divaxi

Overview

Provides a schema-based API for AI clients to query and filter employee data from a SQL database using QueryDSL.

Installation

Run Command
java -Dspring.ai.mcp.server.stdio=true -jar /ABSOLUTE/PATH/TO/PARENT/FOLDER/ai-0.0.1-SNAPSHOT.jar

Environment Variables

  • POSTGRES_DB
  • POSTGRES_USER
  • POSTGRES_PASSWORD

Security Notes

The server uses QueryDSL for building database queries, which provides strong protection against SQL injection. Input validation occurs through DTO deserialization and explicit type conversions. No 'eval' or direct command execution identified. The 'compose.yaml' contains a weak default PostgreSQL password ('secret'), which should be changed for production environments, but this is a configuration choice, not a vulnerability in the application's code itself.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassLow
Avg Tokens400
Stars1
Forks0
Last Update2025-12-12

Tags

SQLQueryDSLJavaSpring BootMCP Server