MCP-SERVER-CLIENT-SPRING-PYTHON
Verified Safeby yahykader
Overview
An AI agent-based chat application demonstrating multi-language tool use with Spring AI and Model Context Protocol (MCP).
Installation
cd mcp-client && mvn clean package -DskipTests && java -jar target/mcp-client-0.0.1-SNAPSHOT.jarSecurity Notes
The Spring Boot client's chat endpoint (`/chat/send`) uses `@CrossOrigin("*")`, which allows requests from any origin. This is a security risk in production environments as it disables crucial same-origin policy protections. The `mcp-servers.json` contains a hardcoded absolute path to the Python server script, which needs to be adjusted; however, it's not a direct security vulnerability from code execution. No 'eval' or obvious malicious patterns found in the provided code snippets.
Similar Servers
springai-mcp-gateway
An OAuth 2.1 secured Spring AI MCP gateway enabling ChatGPT Connectors to interact with local development tools via a streamable HTTP endpoint.
fastchat-mcp
A Python client for integrating Language Models with Model Context Protocol (MCP) servers, allowing natural language interaction with external tools, resources, and prompts.
spring-ai-resos
AI-powered conversational interface for managing restaurant bookings, customers, orders, and feedback through tool invocation.
Mcp-server
An AI chatbot capable of answering user queries via a web API and a Telegram bot, leveraging predefined tools to retrieve employee information.