MCP-Server
Verified Safeby Ektagautammaru
Overview
Provides a calculator tool via the Model Context Protocol (MCP) for inter-process communication, typically serving AI agents or other applications requiring specialized tooling.
Installation
java -jar target/MCP-Server-0.0.1-SNAPSHOT.jarSecurity Notes
The server implements a simple calculator tool, communicating over standard input/output. It avoids common web vulnerabilities by not exposing network ports directly. Input validation relies on basic type casting and the underlying JSON parser of the MCP framework. There are no 'eval'-like functions, hardcoded secrets, or external dependencies that pose immediate security risks. The scope of functionality is minimal, limiting the attack surface. Results are returned as JSON strings, not executed.
Similar Servers
spring-boot-ai
A Spring Boot application implementing a Model Context Protocol (MCP) server that provides a remote 'Booking Tool' for an AI agent.
MCP-Client-Host-Java
An MCP (Model Context Protocol) client that acts as a server to the MCP host, managing connections to various external MCP servers (tools) and orchestrating tool discovery and execution for AI assistants.
streamable-http-mcp-server
This project provides a Spring Boot starter for integrating MCP (Model Controller Protocol) services, enabling developers to define HTTP API functions using annotations.
mcp-server-n8n
Provides a Model Context Protocol (MCP) server for n8n to expose custom tools, starting with a mathematical expression evaluator.