Back to Home
schlpbch icon

sbb-mcp-commons

Verified Safe

by schlpbch

Overview

A shared Java library for building robust and resilient SBB Model Context Protocol (MCP) servers with features like session management, tool/prompt discovery, validation, and API client utilities.

Installation

Run Command
No command provided

Environment Variables

  • REDIS_PASSWORD

Security Notes

The library demonstrates an excellent security posture with explicit implementations for critical defenses: Server-Side Request Forgery (SSRF) prevention in WebClientFactory (blocking internal IPs, metadata endpoints, non-HTTP/S protocols); robust error message sanitization in McpGlobalExceptionHandler to prevent information disclosure; input validation (string length, null bytes) and session ID format validation (UUID regex) in RedisMcpSessionStore to prevent injection attacks; and explicit mitigation of Jackson deserialization vulnerabilities in McpSession. No obvious hardcoded secrets or malicious patterns were found.

Similar Servers

Stats

Interest Score0
Security Score10
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2026-01-18

Tags

Spring BootMCPReactiveLibraryJavaSBBMicroservices