mcp-hello-world
Verified Safeby Imaginationfinagler591
Overview
A minimal MCP server in Kotlin demonstrating the Model Context Protocol by exposing a simple 'greet' tool to clients via standard I/O.
Installation
java -jar build/libs/mcp-hello-world-server-1.0.0-all.jarSecurity Notes
The server implements a simple 'greet' tool with no external dependencies or dangerous operations, processing input locally. Communication is via standard I/O, typically for local process interaction. No 'eval' or hardcoded secrets were found in the server's code. The client (HelloWorldClient.kt) uses ProcessBuilder to launch the server JAR provided as a command-line argument; if the client were configured to accept untrusted input for this path, it could lead to arbitrary code execution, but this risk is on the client side, not within the server's logic itself.
Similar Servers
mcp-demo-server
Provides demo servers in Go and Python to demonstrate and test the Model Context Protocol (MCP) using various tools like echotest, timeserver, and fetch.
mcp-kotlin-starter
A starter template for building Model Context Protocol (MCP) servers in Kotlin, demonstrating core features.
mcp-browse-me
A simple Model Context Protocol (MCP) 'Hello World' application demonstrating basic client-server communication with an AI agent capable of using tools and maintaining state.
mcp-server-test
This server provides a Model Context Protocol (MCP) endpoint to expose an addition tool and a greeting resource via HTTP.