mcp_server
Verified Safeby ecsavigne
Overview
The server exposes specific functions ('tools') like getting the current time in a city or greeting a person, via the Model Context Protocol over HTTP.
Installation
go run server/server.goSecurity Notes
The code does not use `eval` or similar dangerous functions. There are no obvious hardcoded secrets. Input to tools ('cityTime', 'greet') is used directly or mapped, but without apparent injection vectors. The 'cityTime' tool validates city names. The server binds to localhost, limiting network exposure. Overall, the logic appears straightforward and safe within its defined scope.
Similar Servers
go-mcp-server
A Go server implementation of the Model Context Protocol (MCP) providing tea-related information through tools, resources, and prompts to LLM clients.
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.
TimeMCP
Provides a Model Control Protocol (MCP) server for current time retrieval and timezone conversions.
mcp-time-server
A minimal Model Context Protocol (MCP) server that exposes a 'get_current_time' tool, returning the current system time.