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
orla
Orla acts as a runtime for Model Context Protocol (MCP) servers, enabling the execution of lightweight open-source AI agents and command-line tools locally.
go-mcp-server
Provides tea information as a Model Context Protocol (MCP) server for AI/LLM clients, primarily for learning and understanding the MCP specification.
mcp-go-starter
A feature-complete Model Context Protocol (MCP) server template in Go demonstrating tools, resources, and prompts for AI agent interaction.
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.