Back to Home
Kakuritsu95 icon

smart-pointment

by Kakuritsu95

Overview

Manages appointments and provides personal information (Thodoris's schedule and details) via a Model Context Protocol (MCP) server, integrated with an AI model.

Installation

Run Command
cd mcp-server && mvn spring-boot:run

Environment Variables

  • APP_PORT
  • MCP_SERVER_URL
  • OLLAMA_URL
  • OLLAMA_MODEL

Security Notes

CSV Injection Vulnerability: The `CSVScheduleService` directly writes user-provided 'reason' into a CSV file without sanitization. If this CSV is subsequently consumed by a vulnerable client (e.g., a spreadsheet application), a malicious 'reason' (e.g., starting with '=', '+', '-', or '@') could trigger formula injection, potentially leading to arbitrary command execution on the client's machine. Prompt Injection Risk: The `mcp-client` utilizes an LLM (Ollama) to interpret user queries and invoke tools (`ScheduleInfoTools.doAppointment`). This introduces a risk where a sophisticated attacker could craft inputs to manipulate the LLM into making unintended tool calls or extracting sensitive information. Open CORS Policy: The `mcp-client` enables CORS for all origins (`app.use(cors())`), which is overly permissive for production and could expose the API to unwanted cross-origin requests. No `eval` or blatant obfuscation was found. No obvious hardcoded secrets in the provided code.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens150
Stars0
Forks0
Last Update2025-11-28

Tags

AI IntegrationAppointment ManagementMCPClient-ServerSpring Boot