An MCP (Model Context Protocol) Server built using Spring Boot and React, developed by STech World. This project enables seamless communication between AI models and client applications, making it easier to build intelligent, scalable systems.
This repository contains a full-stack implementation of an MCP server designed to integrate with modern AI/LLM providers like OpenRouter or OpenAI.
- Backend: Spring Boot (Java)
- Frontend: React.js
- Purpose: Enable AI-driven communication via MCP protocol
- 🔹 MCP Server implementation
- 🔹 RESTful API architecture
- 🔹 Clean and modular backend (Spring Boot)
- 🔹 Interactive frontend UI (React)
- 🔹 LLM integration support (OpenRouter / OpenAI)
- 🔹 Scalable and production-ready structure
- 🔹 Easy customization and extension
| Layer | Technology |
|---|---|
| Backend | Spring Boot (Java) |
| Frontend | React.js |
| API | REST / JSON |
| AI Support | OpenRouter / OpenAI |
| Build Tools | Maven / npm |
mcp-server/
│
├── backend/ # Spring Boot application
│ ├── src/
│ ├── pom.xml
│
├── frontend/ # React application
│ ├── src/
│ ├── package.json
│
└── README.md
- Java 17+
- Node.js (v16+ recommended)
- Maven
- npm or yarn
cd backend
mvn clean install
mvn spring-boot:runBackend will start at:
http://localhost:8080
cd frontend
npm install
npm startFrontend will start at:
http://localhost:3000
The backend exposes REST APIs that can be used to:
- Communicate with AI models
- Send and receive MCP requests/responses
- Manage sessions and data flow
Example:
POST /api/mcp/requestThis project supports integration with:
- OpenRouter
- OpenAI APIs
- Other LLM providers
You can configure API keys in:
application.properties / application.yml
Example:
ai.api.key=YOUR_API_KEYAdd UI screenshots here if available
Backend:
mvn testFrontend:
npm test- Deploy using Docker / VPS / Cloud (AWS, Azure, etc.)
npm run buildDeploy the build/ folder to any static hosting service.
- AI Chat Applications
- Custom AI Agents
- Automation Systems
- Business Intelligence Tools
Contributions are welcome!
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.
Developed by STech World
If you like this project, please give it a ⭐ on GitHub!