{"id":"slashben-example-go-mcp-server","name":"example-go-mcp-server","homepage":null,"repo_url":"https://github.com/slashben/example-go-mcp-server","category":"devtools","subcategories":[],"tags":["mcp","go","tool-calling","calculator","example-server","cobra"],"what_it_does":"Provides an example Model Context Protocol (MCP) server in Go that exposes basic calculator tools: add, sub, mul, and div (with division-by-zero protection). Includes a Cobra-based CLI entrypoint to run the MCP server and logs tool inputs/outputs to a temp-file log in JSON-lines format.","use_cases":["Demonstration of building MCP servers in Go","Sandboxing simple arithmetic tool calls for agent testing","Low-stakes examples for tool schema/parameter handling via MCP"],"not_for":["Production-grade financial/scientific computation requiring robust numeric handling beyond basic float operations","Use as a secure remote service without additional transport/auth controls","General-purpose public API for untrusted users"],"best_when":"You want a minimal MCP server example to integrate and verify MCP tool-calling flows for arithmetic operations.","avoid_when":"You need strong security guarantees (authentication/authorization), strict operational controls, or high assurance around error semantics and logging privacy for untrusted environments.","alternatives":["mark3labs/mcp-go (library/framework for MCP servers)","Kubescape MCP server pattern (reference implementation pattern)","Implement your own MCP tool handler using an MCP SDK of choice"],"af_score":48.5,"security_score":24.0,"reliability_score":22.5,"package_type":"mcp_server","discovery_source":["github"],"priority":"low","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-04-04T21:20:40.122351+00:00","interface":{"has_rest_api":false,"has_graphql":false,"has_grpc":false,"has_mcp_server":true,"mcp_server_url":null,"has_sdk":false,"sdk_languages":[],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":[],"oauth":false,"scopes":false,"notes":"No authentication/authorization mechanism is described for the MCP server in the provided README."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"This appears to be an open-source example project; no pricing model is described."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":48.5,"security_score":24.0,"reliability_score":22.5,"mcp_server_quality":70.0,"documentation_accuracy":65.0,"error_message_quality":0.0,"error_message_notes":null,"auth_complexity":10.0,"rate_limit_clarity":0.0,"tls_enforcement":30.0,"auth_strength":5.0,"scope_granularity":0.0,"dependency_hygiene":45.0,"secret_handling":50.0,"security_notes":"No auth is described, so access control is unclear. It logs tool inputs/outputs (potentially sensitive values if generalized beyond arithmetic). TLS/encryption and transport security are not documented in the README. Dependencies are only listed, not audited in the provided content.","uptime_documented":0.0,"version_stability":25.0,"breaking_changes_history":20.0,"error_recovery":45.0,"idempotency_support":"true","idempotency_notes":"Arithmetic operations are naturally idempotent for the same inputs; README does not explicitly state idempotency semantics at the MCP protocol level.","pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["No authentication is mentioned; using it against untrusted clients may be unsafe.","Logging is enabled to a file under the temp directory; agents running repeatedly may produce large logs."]}}