MCP-Server

AbderaoufSouissi/MCP-Server

3.1

If you are the rightful owner of MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project is a Spring Boot application that serves as a Model Context Protocol (MCP) Server, enabling integration between AI platforms and backend systems.

🧠 Spring Boot MCP Server

This project is a Spring Boot application that functions as a Model Context Protocol (MCP) Server.
The MCP is an open, standardized protocol that allows LLMs (Large Language Models) to connect with external data sources and tools — enabling integration between AI platforms (like Claude Desktop) and backend systems.

This server uses a MySQL database (running via Docker Compose) to manage a simple product inventory, and exposes backend functionalities as MCP tools that an LLM can invoke directly.


🏗️ Architecture Overview

The system follows a client-server architecture:

ComponentDescription
MCP Host (Client)An application such as Claude Desktop, which handles tool invocation.
LLM (Language Model)The reasoning engine (e.g., Claude 4.5) that decides which tools to call.
MCP Server (This App)A Spring Boot application packaged as an executable JAR. It communicates with the host over STDIO.

Communication:
The MCP Host and the MCP Server interact via Standard Input/Output (STDIO).

Goal:
Allow a user to ask natural language questions (e.g., “List all electronics products under $100”) — the LLM then chooses the correct tool on this server to query or modify the inventory database.


⚙️ Technologies & Dependencies

DependencyPurpose
Spring Boot 3.5.6Core application framework
Model Context Protocol ServerEnables full MCP server capabilities
Spring Data JPAObject-relational mapping and repository support
MySQLPersistent relational database (via Docker Compose)
LombokAuto-generates getters, setters, constructors

Build Tool: Maven
Language: Java 17+