Back to Home
softwaremill icon

chimp

Verified Safe

by softwaremill

Overview

Builds Model Context Protocol (MCP) servers in Scala 3, exposing type-safe tools over a JSON-RPC HTTP API.

Installation

Run Command
scala-cli McpApp.scala

Security Notes

The library is designed with type-safety and relies on Circe for JSON decoding, which inherently mitigates common injection risks by strictly mapping incoming JSON to predefined Scala types. There is no evidence of 'eval' or dynamic code execution based on user-supplied input. Examples involving external network calls (e.g., weather tool) use hardcoded API endpoints, preventing user-supplied URL injection. JSON-RPC requests are parsed and dispatched with explicit error handling for invalid requests, methods, or parameters. No hardcoded secrets or credentials were identified in the provided source code.

Similar Servers

Stats

Interest Score48
Security Score9
Cost ClassLow
Avg Tokens50
Stars59
Forks5
Last Update2026-01-18

Tags

ScalaMCPJSON-RPCTapirServer