example-go-mcp-server

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.

Evaluated Apr 04, 2026 (16d ago)
Repo ↗ DevTools mcp go tool-calling calculator example-server cobra
⚙ Agent Friendliness
48
/ 100
Can an agent use this?
🔒 Security
24
/ 100
Is it safe for agents?
⚡ Reliability
22
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
70
Documentation
65
Error Messages
0
Auth Simplicity
10
Rate Limits
0

🔒 Security

TLS Enforcement
30
Auth Strength
5
Scope Granularity
0
Dep. Hygiene
45
Secret Handling
50

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.

⚡ Reliability

Uptime/SLA
0
Version Stability
25
Breaking Changes
20
Error Recovery
45
AF Security Reliability

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.

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

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

OAuth: No Scopes: No

No authentication/authorization mechanism is described for the MCP server in the provided README.

Pricing

Free tier: No
Requires CC: No

This appears to be an open-source example project; no pricing model is described.

Agent Metadata

Pagination
none
Idempotent
True
Retry Guidance
Not documented

Known 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.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for example-go-mcp-server.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered