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
Local_MCP_Client
The client acts as a cross-platform web and API interface for natural language interaction with configurable MCP servers, facilitating structured tool execution and dynamic agent behavior using local LLMs.
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
Develops a Spring AI enhanced restaurant booking system allowing users to converse with a chatbot to search for restaurants and make reservations.