Back to Home
zq940222 icon

mcp-server-demo

Verified Safe

by zq940222

Overview

A custom Spring AI MCP (Multi-Modal Chat Protocol) server designed for runtime dynamic toolset discovery and routing, bypassing Spring AI's default startup-time tool scanning.

Installation

Run Command
No command provided

Security Notes

The application uses reflection (`Class.forName`, `getDeclaredConstructor().newInstance`, `Method.invoke`) for dynamic tool loading and execution. While this inherently adds complexity, the `DynamicToolsetRegistry` restricts class scanning to specific internal packages (`ai.crewplus.mcpserver.tool`) which mitigates the risk of arbitrary code execution from external sources. The `RUNTIME_TOOLSET_ROUTING.md` document also mentions a `mcp.toolset.allowed` whitelist configuration, which is a good security practice to prevent unauthorized toolset loading. No obvious hardcoded secrets or 'eval'-like direct command execution are found. Input arguments for tool calls are typed and converted, reducing direct injection risks, but robust input validation in actual tool implementations remains crucial.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens50
Stars0
Forks0
Last Update2025-11-26

Tags

Dynamic ToolsetsMCP ServerSpring AIJavaRuntime Tooling